Commit Graph

26 Commits

Author SHA1 Message Date
Krzosa Karol
c3f235bd44 Cleanup 2022-06-04 09:12:27 +02:00
Krzosa Karol
a324a5abf0 Compiling and running first program! 2022-06-03 23:15:16 +02:00
Krzosa Karol
2909214ee0 Add floats 2022-06-02 22:52:16 +02:00
Krzosa Karol
ebb21df015 Before adding untyped types 2022-06-01 21:38:39 +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
82bb3ae493 Fix lexer end of file not unwinding scopes, Trying to run a program 2022-06-01 14:00:42 +02:00
Krzosa Karol
9b18c106b6 Basic variable reassignments 2022-06-01 12:13:02 +02:00
Krzosa Karol
98d2389c9f Cleanup 2022-05-31 22:52:56 +02:00
Krzosa Karol
55fd4ca40c For from pointer to reference 2022-05-30 13:34:04 +02:00
Krzosa Karol
7de941899f Fix crashes 2022-05-28 17:48:52 +02:00
Krzosa Karol
d8a9b318b7 Changing typespecs to be normal expressions 2022-05-27 12:29:51 +02:00
Krzosa Karol
f66fd447e5 Removed resolved pointer from Ast_Typespec, it's accessed using a map now 2022-05-27 12:05:23 +02:00
Krzosa Karol
3d9a38494c Add if statements 2022-05-26 18:13:37 +02:00
Krzosa Karol
3cd79040bc Fix compile errors when compiling for msvc 2022-05-26 16:55:07 +02:00
Krzosa Karol
c88b38cc44 Successful compile with new parser! 2022-05-26 14:49:50 +02:00
Krzosa Karol
d9a80afa9e Working on the lexer, handling indentation and scopes 2022-05-26 14:24:11 +02:00
Krzosa Karol
f4c05923c9 Compile string, working on scopes 2022-05-26 11:54:12 +02:00
Krzosa Karol
b945f3affd Lambdas, statements, typechecking lambdas 2022-05-25 14:44:30 +02:00
Krzosa Karol
9dc2e1588d Work on lambda body 2022-05-24 23:35:49 +02:00
Krzosa Karol
52910d5606 Lexer is not collecting hanging new lines 2022-05-24 22:13:53 +02:00
Krzosa Karol
5176b40204 Generating valid c code, more work on null values 2022-05-24 20:33:11 +02:00
Krzosa Karol
236ff0cd64 Added lambda expressions, lambda types, no body yet 2022-05-20 17:16:53 +02:00
Krzosa Karol
30736d37b6 Starting from scratch on smaller scale, typechecking global and constant variables, compound expressions for arrays 2022-05-20 10:54:20 +02:00
Krzosa Karol
ea0b1c352d Allocator logging 2022-05-13 20:36:42 +02:00
Krzosa Karol
2689aa9ba1 Pratt parsing, basic ast, decl parse const 2022-05-13 16:04:39 +02:00
Krzosa Karol
9c22a379ea Moving to C++ with new idea 2022-05-13 10:12:09 +02:00