786 B
786 B
Bytecode
- Byte array
- Auto-expand
- Add/retrive byte/int/float/string
- Should not be larger than the byte array itself
- Bytecode
- Add/retrive all types of data
- Keeps no memory except for caching
- Refactor bytecode code
Improvements:
- Fixed int type (based on opcode)
- Constant type (only floats and strings for now)
After some additional development:
- Bytecode debugging info
VM
- VM
- Code
- Simple bytecode loader
- Output bytecode format
- Simple bytecode loader
- Value object
- Stack object
- External interface
- Code execution (except functions)
- Functions
- Code
After some additional development:
- Bytecode loader
- Combine multiple chunks
- Resolve function ids, constant ids, etc