Constants in structs

This commit is contained in:
Krzosa Karol
2022-05-30 13:44:10 +02:00
parent 55fd4ca40c
commit 0e0b95ab52
6 changed files with 17 additions and 11 deletions

View File

@@ -37,11 +37,12 @@
/// [x] - Typespecs should probably be expressions so stuff like would be possible :: *[32]int
/// [x] - Initial order independence algorithm
/// [ ] - Cleanup the mess with constant bindings
/// [ ] - Struct calls
/// [ ] - Default values in calls
/// [ ] - Resolving calls with default values
/// [ ] - Resolving calls with named args, with indexed args
/// [ ] - Structs
/// [x] - Struct calls
/// [x] - Default values in calls
/// [x] - Resolving calls with default values
/// [x] - Resolving calls with named args, with indexed args
/// [x] - Structs
/// [ ] - Default values in structs???
/// [ ] - Enums
/// [ ] - For loop
/// [ ] - Switch
@@ -65,8 +66,8 @@ int main(){
String result = {};
// result = compile_file("order1.kl"_s);
result = compile_file("lambdas.kl"_s);
// result = compile_file("order2.kl"_s);
// result = compile_file("lambdas.kl"_s);
result = compile_file("order2.kl"_s);
// result = compile_file("globals.kl"_s);
printf("%s", result.str);