Commit Graph

19 Commits

Author SHA1 Message Date
Krzosa Karol
e73820c6f5 Compiling again, with double import, main and everything 2022-06-13 21:28:31 +02:00
Krzosa Karol
3bbe5e5c2b Fixing generated names 2022-06-13 20:55:49 +02:00
Krzosa Karol
87d6737a10 Working on euler using the compiler + squashing bugs 2022-06-08 09:53:13 +02:00
Krzosa Karol
5744da8899 Passing arrays as arguments to functions working 2022-06-07 21:34:02 +02:00
Krzosa Karol
c69d2b7fe2 Language actually gets properly stepped through using debugger! 2022-06-07 17:53:04 +02:00
Krzosa Karol
9cdc5ee6c9 Codegen basic arrays with size attached 2022-06-07 17:38:15 +02:00
Krzosa Karol
44d26d6939 Can call the compiler from command line with argument 2022-06-07 15:27:18 +02:00
Krzosa Karol
d45ee5ec8a Fix scope bug, fix parsing bug 2022-06-07 13:37:57 +02:00
Krzosa Karol
af5865b059 Working on actually making a program 2022-06-07 12:10:20 +02:00
Krzosa Karol
759825172c Printf is working !! 2022-06-07 11:27:09 +02:00
Krzosa Karol
a59283903b Add var args for using printf 2022-06-07 11:16:30 +02:00
Krzosa Karol
b7df759d9d Add foreign functions 2022-06-07 09:56:19 +02:00
Krzosa Karol
c5b82c0532 Added unary ++ --, prefix and postfix, working on running a program 2022-06-07 09:05:02 +02:00
Krzosa Karol
f852a23fcb Fixing bugs, pointer arithmetic checking, better for, working on first program 2022-06-06 23:50:38 +02:00
Krzosa Karol
a324a5abf0 Compiling and running first program! 2022-06-03 23:15:16 +02:00
Krzosa Karol
5e798bd179 Add string accessors, working towards first program 2022-06-03 21:59:51 +02:00
Krzosa Karol
494a937d1f Rewritten the expression parser, tldr that '.' is actually right associative binary operator, I brain farted really hard this time 2022-06-01 18:59:38 +02:00
Krzosa Karol
364daed1c7 Fix field parsing 2022-06-01 15:00:27 +02:00
Krzosa Karol
82bb3ae493 Fix lexer end of file not unwinding scopes, Trying to run a program 2022-06-01 14:00:42 +02:00