Recursive lambdas with new system
This commit is contained in:
8
main.cpp
8
main.cpp
@@ -5,10 +5,10 @@
|
||||
#include "new_parse.cpp"
|
||||
#include "new_type.cpp"
|
||||
#include "new_resolve.cpp"
|
||||
#include "cgenerate.cpp"
|
||||
#include "ccodegen.cpp"
|
||||
|
||||
/// @todo
|
||||
/// [ ] - Typespecs should probably be expressions so stuff like would be possible :: *[32]int
|
||||
/// [x] - Typespecs should probably be expressions so stuff like would be possible :: *[32]int
|
||||
|
||||
|
||||
int main(){
|
||||
@@ -24,8 +24,8 @@ int main(){
|
||||
lex_test();
|
||||
|
||||
// String result = compile_file("globals.kl"_s);
|
||||
String result = compile_file("lambdas.kl"_s);
|
||||
// String result = compile_file("order_independent_globals.kl"_s);
|
||||
// String result = compile_file("lambdas.kl"_s);
|
||||
String result = compile_file("order_independent_globals.kl"_s);
|
||||
printf("%s", result.str);
|
||||
|
||||
// compile_file("lambdas.kl"_s);
|
||||
|
||||
Reference in New Issue
Block a user