Update todo, some python codegen

This commit is contained in:
Krzosa Karol
2022-06-24 10:07:37 +02:00
parent 25fffae7e0
commit 37750908aa
2 changed files with 24 additions and 7 deletions

View File

@@ -41,11 +41,8 @@ want to export all the symbols, we can namespace them optionally.
-------------------------------------------------------------------------------
@todo
[ ] - Add token information to instructions
[ ] - print those token lines nicely
[ ] - Split Bc into builder and interpreter
[ ] - Implement functions
[ ] - Improve the python metaprogram
[ ] - Probably need to give Ast_Expr a Value field, then I can express Type nicely
[ ] - I would love for String, slice, Any etc. to have their struct declarations in source files, I also would want for stuff like string.str to work without weird special cases
@@ -87,6 +84,9 @@ want to export all the symbols, we can namespace them optionally.
[ ] - Polymorphism - create declaration of a polymorphic thing, when it's called just copy it, replace types and typecheck normally, when someone calls again you just search for the instantiation again
@donzo
[x] - Add token information to instructions
[x] - print those token lines nicely
[x] - Improve the python metaprogram
[x] - Implementing type Any
[x] - Runtime TypeInfo
[x] - Proper type Type support
@@ -173,7 +173,6 @@ want to export all the symbols, we can namespace them optionally.
#include "bytecode_codegen.cpp"
int main(int argument_count, char **arguments){
#if OS_WINDOWS
// Set output mode to handle virtual terminal sequences
HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);