Files
tyche/TODO.md
2026-04-29 11:23:53 -05:00

759 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)
  • Debug 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