2021-02-17 02:28:03 +08:00
|
|
|
|
2021-02-18 02:27:24 +08:00
|
|
|
// To implement.
|
|
|
|
|
2021-05-24 01:55:04 +08:00
|
|
|
- Implement argparse.
|
|
|
|
- -v --version
|
|
|
|
- emit opcodes
|
|
|
|
- maybe write a similer .pyc file for pocket
|
2021-05-24 06:17:52 +08:00
|
|
|
- --docs to generate docs from cstring.
|
2021-05-20 22:05:57 +08:00
|
|
|
|
2021-05-24 01:55:04 +08:00
|
|
|
- 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).
|
2021-05-15 17:29:44 +08:00
|
|
|
Then remove vm's root script.
|
2021-05-24 01:55:04 +08:00
|
|
|
- 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.
|
2021-05-20 22:05:57 +08:00
|
|
|
- To do so the functions and global variables should be in the same
|
|
|
|
buffer as the property of the script.
|
2021-05-24 01:55:04 +08:00
|
|
|
- Hex, binary literals and floats like ".5".
|
|
|
|
- Function docstring property.
|
|
|
|
- Union tagging alter in var.
|
|
|
|
- (future) add structs and maybe enums.
|
2021-05-11 14:38:23 +08:00
|
|
|
|
|
|
|
// Add more.
|
2021-02-18 02:27:24 +08:00
|
|
|
[ ] Compilte core methods.
|
|
|
|
[ ] Complete var methods.
|
|
|
|
[ ] Complete core functions.
|
|
|
|
[ ] Complete builtin operators.
|
|
|
|
[ ] Complete opcodes.
|
2021-05-11 14:38:23 +08:00
|
|
|
[ ] Complete core libs.
|
2021-05-13 17:10:57 +08:00
|
|
|
[ ] Complete the docs.
|
|
|
|
[ ] More Tests.
|
2021-02-18 02:27:24 +08:00
|
|
|
|
|
|
|
// Bugs.
|
2021-05-13 17:10:57 +08:00
|
|
|
It's at pre-alpha and every thing is left to
|
|
|
|
implement, and nothing would be work as expected.
|