bytecode2 (#2)

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
2026-04-28 19:50:48 -05:00
parent 3f097b0ba8
commit d8130272a0
11 changed files with 529 additions and 68 deletions

22
TODO.md
View File

@@ -4,9 +4,27 @@
- Auto-expand
- Add/retrive byte/int/float/string
- Should not be larger than the byte array itself
- [ ] Chunk
- [x] Bytecode
- Add/retrive all types of data
- Keeps no memory except for caching
- [ ] Chunk loader
- [x] Refactor bytecode code
- [ ] Output bytecode format
After some additional development:
- [ ] Bytecode debugging info
## VM
- [ ] VM
- [ ] Code
- [ ] Simple bytecode loader
- [ ] Output bytecode format
- [ ] Value object
- [ ] Stack object
- [ ] Function context
After some additional development:
- [ ] Bytecode loader
- Combine multiple chunks
- Resolve function ids, constant ids, etc