Working on actually making a program

This commit is contained in:
Krzosa Karol
2022-06-07 12:10:20 +02:00
parent 759825172c
commit af5865b059
5 changed files with 63 additions and 22 deletions

View File

@@ -78,8 +78,9 @@ Expr:
@todo
[ ] - Passing down program to compile through command line
[ ] - Switch
[ ] - Arrays with size passed
[ ] - Switch
[ ] - Fix printf somehow.
[ ] - Comma notation when declaring variables thing1, thing2: S32
[ ] - Array of inferred size
@@ -106,6 +107,7 @@ Expr:
[ ] - Compound that zeros values - .{} , Compound that assumes defaults from struct definition - {}
[ ] - Inject stack traces into the program
[ ] - Rewrite constants to embed lambda, types, structs etc.? ???
[ ] - Var args using Any array - args: []Any - delete vargs
@donzo
[x] - We need ++ -- operators
@@ -185,9 +187,9 @@ int main(){
printf("%s", result.str);
result = compile_file("lambdas.kl"_s);
printf("%s", result.str);
#endif
result = compile_file("new_types.kl"_s);
printf("%s", result.str);
#endif
#if 1