Initial working version of types as expressions
This commit is contained in:
9
main.cpp
9
main.cpp
@@ -9,11 +9,6 @@
|
||||
|
||||
/// @todo
|
||||
/// [ ] - Typespecs should probably be expressions so stuff like would be possible :: *[32]int
|
||||
/*
|
||||
thing1 :: *int // type
|
||||
thing2 :: *get_value // value from pointer
|
||||
|
||||
*/
|
||||
|
||||
|
||||
int main(){
|
||||
@@ -28,8 +23,8 @@ int main(){
|
||||
test_intern_table();
|
||||
lex_test();
|
||||
|
||||
// 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