pocketlang/cli/TODO.txt
2021-05-30 05:46:04 +05:30

44 lines
1.2 KiB
Plaintext

// To implement.
- Implement resolve path in cli.
- Implement file IO
- Implement argparse.
- -v --version
- emit opcodes
- maybe write a similer .pyc file for pocket
- --docs to generate docs from cstring.
- Ignore line with '\' character.
- 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.