work on metadata system, put tests in seperate file

This commit is contained in:
andromeda
2026-03-09 10:08:19 +01:00
parent 0b7526661c
commit 33710a8ebe
3 changed files with 581 additions and 393 deletions

View File

@@ -102,6 +102,7 @@ the `type` hex digit is defined as the following:
| 0x0 | ignored | `; this entire comment is 1 token` |
| 0x1 | operator | `mov`, `hlt` |
| 0x2 | register | `rsp`, `al` |
| 0xF | unknown | any token ID not represented in the lookup table |
type metadata for the different types is as follows: