Working on euler using the compiler + squashing bugs
This commit is contained in:
8
main.cpp
8
main.cpp
@@ -77,10 +77,10 @@ Expr:
|
||||
|
||||
|
||||
@todo
|
||||
[ ] - Arrays with size passed
|
||||
[ ] - Switch
|
||||
[ ] - Values inited to 0 by default
|
||||
[ ] - Add c string
|
||||
[ ] - Some way to take slice of data
|
||||
[ ] - slices should be properly displayed in debugger
|
||||
|
||||
[ ] - Comma notation when declaring variables thing1, thing2: S32
|
||||
[ ] - Array of inferred size
|
||||
@@ -114,6 +114,8 @@ Expr:
|
||||
[x] - Emitting #line
|
||||
[x] - Making sure debugger works
|
||||
[x] - We need ++ -- operators
|
||||
[x] - Arrays with size passed
|
||||
[x] - Values inited to 0 by default
|
||||
[x] - Some way to call foreign functions
|
||||
[x] - We are parsing wrong here: (t.str=(&string_to_lex.str)[i]);
|
||||
[x] - Test new operators, add constant eval for them
|
||||
@@ -180,7 +182,7 @@ int main(int argument_count, char **arguments){
|
||||
|
||||
|
||||
|
||||
emit_line_directives = false;
|
||||
emit_line_directives = true;
|
||||
if(argument_count > 1){
|
||||
Scratch scratch;
|
||||
String name = string_fmt(scratch, "%s.kl", arguments[1]);
|
||||
|
||||
Reference in New Issue
Block a user