This commit is contained in:
2026-04-27 15:10:57 -05:00
parent 566f210f3f
commit 149c4c3d80
8 changed files with 80 additions and 41 deletions

View File

@@ -83,9 +83,9 @@ The bytecode file is composed of the following sections:
[0:3]: Magic
[4]: VM format
* [0x1] Index: pointers to each one of the sections, up to 8
Each pointer: 4 bits
Each pointer: 4 bytes
* [0x2] Constants: all constants (such as strings) used in the code
* Table of 4-bit constant indexes with pointer to constant
* Table of 4-byte constant indexes with pointer to constant
* Raw constant data
* [0x3] Functions: Pointer to functions within the code
[0:3]: function pointer