Compiling and running first program!

This commit is contained in:
Krzosa Karol
2022-06-03 23:15:16 +02:00
parent 5e798bd179
commit a324a5abf0
16 changed files with 800 additions and 73 deletions

View File

@@ -33,7 +33,6 @@ For now I don't thing it should be overloadable.
@todo
[ ] - Converting from U64 token to S64 Atom introduces unnanounced error (negates) - probably need big int
[ ] - Compiling and running a program
[ ] - Passing down program to compile through command line
[ ] - More for loop variations
[ ] - Write up on order independent declarations
@@ -69,6 +68,7 @@ For now I don't thing it should be overloadable.
[x] - Enums
[x] - Initial for loop
[x] - Enum . access to values
[x] - Compiling and running a program
[x] - Infinite for loop
[x] - in new typesystem: Fix calls, fix all example programs
[x] - Fix arithmetic operations in new type system
@@ -131,5 +131,7 @@ int main(){
fprintf(f, "%.*s", (int)result.len, result.str);
fclose(f);
system("clang.exe program.c -g -o program.exe && program.exe");
__debugbreak();
}