pocketlang/cli/TODO.txt
Thakee Nathees df93b2c1ec gc bugs fixed
- popping operands from the stack was too early -fixed
- some temproary string objects weren't pushed to the vm's temp root
  -fixed
- and some minor bug fixed
2021-05-23 23:25:04 +05:30

41 lines
1.1 KiB
Plaintext

// To implement.
- Implement argparse.
- -v --version
- emit opcodes
- maybe write a similer .pyc file for pocket
- Ignore line with '\' character.
- Implement resolve path in cli.
- Structs.
- Implement math library.
- Single header for embedding.
- Implement fiber from script body and vm run fibers (not scripts).
Then remove vm's root script.
- C Integration api (including add core lib from host application).
- REPL.
- compile expression for a script.
- Var handler implement.
- Make it possible to override function names.
- To do so the functions and global variables should be in the same
buffer as the property of the script.
- Hex, binary literals and floats like ".5".
- Function docstring property.
- Union tagging alter in var.
- (future) add structs and maybe enums.
// Add more.
[ ] Compilte core methods.
[ ] Complete var methods.
[ ] Complete core functions.
[ ] Complete builtin operators.
[ ] Complete opcodes.
[ ] Complete core libs.
[ ] Complete the docs.
[ ] More Tests.
// Bugs.
It's at pre-alpha and every thing is left to
implement, and nothing would be work as expected.