mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-12-21 03:29:30 +00:00
interpreter
This commit is contained in:
parent
018548e5c5
commit
cce6fbc967
9
TODO.md
9
TODO.md
@ -29,3 +29,12 @@
|
||||
- and then very late into register assignment (above) it would occupy N registers
|
||||
- what if you model all functions using the same "bounce" area and then just use this as the canonical way to calculate stack depth
|
||||
- this would maybe be "optimal" register allocation?
|
||||
|
||||
## Advanced vs basic interpreters
|
||||
|
||||
- Given "basic" elements `foo` and `bar`
|
||||
- And given another advanced feature `superfoo`
|
||||
- `foo` and `bar` should inhereit both `BasicInterpreter` and `AdvancedInterpreter`
|
||||
- and `superfoo` should only inherit `AdvancedInterpreter`
|
||||
- Then `superfoo` just be desugared into many `BasicInterpreter` blocks
|
||||
- And then the interpretation for `foo` and `bar` under advanced just echos them as `BasicInterpreter`
|
||||
|
Loading…
Reference in New Issue
Block a user