Expressions #7
27
TODO.md
27
TODO.md
@@ -19,7 +19,7 @@ After some additional development:
|
|||||||
|
|
||||||
## VM
|
## VM
|
||||||
|
|
||||||
- [ ] VM
|
- [x] VM
|
||||||
- [x] Code
|
- [x] Code
|
||||||
- [x] Simple bytecode loader
|
- [x] Simple bytecode loader
|
||||||
- [x] Output bytecode format
|
- [x] Output bytecode format
|
||||||
@@ -29,10 +29,31 @@ After some additional development:
|
|||||||
- [x] Code execution (except functions)
|
- [x] Code execution (except functions)
|
||||||
- [x] Functions
|
- [x] Functions
|
||||||
- [x] Print stack
|
- [x] Print stack
|
||||||
|
- [x] Assembler
|
||||||
- [ ] Assembler
|
- [ ] VM execution
|
||||||
|
- [ ] Stack operations (nil, integer, float, string, function)
|
||||||
|
- [ ] Expressions
|
||||||
|
- [ ] Local/global variables
|
||||||
|
- [ ] Functions
|
||||||
|
- [ ] Constants
|
||||||
|
- [ ] Other operations
|
||||||
|
- [ ] Arrays
|
||||||
|
- [ ] Iteration
|
||||||
|
- [ ] Expressions
|
||||||
|
- [ ] Tables
|
||||||
|
- [ ] Iteration
|
||||||
|
- [ ] Metatables
|
||||||
|
- [ ] Expressions
|
||||||
|
- [ ] Control flow
|
||||||
|
- [ ] Compilation
|
||||||
|
- [ ] Error handling
|
||||||
|
- [ ] C++ API
|
||||||
|
- [ ] Run native code on VM
|
||||||
|
- [ ] Run tyche code from C++
|
||||||
|
- [ ] C API
|
||||||
|
|
||||||
After some additional development:
|
After some additional development:
|
||||||
- [ ] Bytecode loader
|
- [ ] Bytecode loader
|
||||||
- Combine multiple chunks
|
- Combine multiple chunks
|
||||||
- Resolve function ids, constant ids, etc
|
- Resolve function ids, constant ids, etc
|
||||||
|
- [ ] Upvalues
|
||||||
@@ -37,7 +37,7 @@ Local variables:
|
|||||||
|
|
||||||
Function operations:
|
Function operations:
|
||||||
a7 c7 e7 call [n_pars] Enter function on stack toplevel (passing n next stack values as parameters)
|
a7 c7 e7 call [n_pars] Enter function on stack toplevel (passing n next stack values as parameters)
|
||||||
10 ret Leave a function (return value in stack)
|
10 ret Leave a function (return value in stack)
|
||||||
11 retn Leave a function (return nil)
|
11 retn Leave a function (return nil)
|
||||||
|
|
||||||
Table and array operations:
|
Table and array operations:
|
||||||
|
|||||||
Reference in New Issue
Block a user