Krzosa Karol
|
729e7aee86
|
Fixing type checking
|
2022-06-06 22:14:30 +02:00 |
|
Krzosa Karol
|
7173557d26
|
Testing big ints
|
2022-06-06 17:00:01 +02:00 |
|
Krzosa Karol
|
06d6ec7525
|
Working on casts
|
2022-06-06 13:24:01 +02:00 |
|
Krzosa Karol
|
960523b443
|
Remove int uint, all programs compiling
|
2022-06-06 09:36:37 +02:00 |
|
Krzosa Karol
|
6157325d8f
|
Compiling with new untyped system
|
2022-06-06 08:56:03 +02:00 |
|
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
|
5e798bd179
|
Add string accessors, working towards first program
|
2022-06-03 21:59:51 +02:00 |
|
Krzosa Karol
|
42699034ae
|
Got all programs working, now adding unary not and neg
|
2022-06-03 17:58:20 +02:00 |
|
Krzosa Karol
|
14af46125d
|
Fix if parsing bug
|
2022-06-03 15:38:29 +02:00 |
|
Krzosa Karol
|
71d0abf122
|
Adding Unary [-] [+] to new type system
|
2022-06-03 11:17:46 +02:00 |
|
Krzosa Karol
|
081e559520
|
Basic type conversion when assigning, added + - unary
|
2022-06-03 10:48:07 +02:00 |
|
Krzosa Karol
|
e2e684294e
|
Add bool values to parser, and bool nodes to ast
|
2022-06-02 23:48:03 +02:00 |
|
Krzosa Karol
|
2909214ee0
|
Add floats
|
2022-06-02 22:52:16 +02:00 |
|
Krzosa Karol
|
a416007bba
|
AST_INT, AST_STR to AST_VALUE
|
2022-06-02 22:37:42 +02:00 |
|
Krzosa Karol
|
173ef843df
|
New types, Value rework, Sym cleanup
|
2022-06-02 22:17:28 +02:00 |
|
Krzosa Karol
|
9b18c106b6
|
Basic variable reassignments
|
2022-06-01 12:13:02 +02:00 |
|
Krzosa Karol
|
7ea0dfc7a6
|
Generating for stmt
|
2022-05-31 18:50:41 +02:00 |
|
Krzosa Karol
|
41697dec80
|
Ast_Init is not Ast_Binary with TK_Comma
|
2022-05-31 16:24:04 +02:00 |
|
Krzosa Karol
|
7dfc4c7b36
|
Generating nested structs
|
2022-05-31 16:12:18 +02:00 |
|
Krzosa Karol
|
04d38511a9
|
Fix regression, constant variables now get properly rewritten
|
2022-05-31 14:01:18 +02:00 |
|
Krzosa Karol
|
369418b042
|
Rewriting field.accesses that evaluate to constants
|
2022-05-31 13:39:34 +02:00 |
|
Krzosa Karol
|
1168965ba4
|
Accessing constant values in structs
|
2022-05-31 13:27:21 +02:00 |
|
Krzosa Karol
|
437a776d78
|
Folding constant enum access into constant int value
|
2022-05-31 13:10:56 +02:00 |
|
Krzosa Karol
|
627e2bad88
|
Initial enums working
|
2022-05-31 11:50:36 +02:00 |
|
Krzosa Karol
|
a9b0318720
|
Wanky constant in structs sort of working but long way to go
|
2022-05-30 18:46:01 +02:00 |
|
Krzosa Karol
|
980a3b68b9
|
Struct field access. Damn, I coded for like 30 minutes and then it just worked on the first try
|
2022-05-30 18:27:06 +02:00 |
|
Krzosa Karol
|
0e0b95ab52
|
Constants in structs
|
2022-05-30 13:44:10 +02:00 |
|
Krzosa Karol
|
55fd4ca40c
|
For from pointer to reference
|
2022-05-30 13:34:04 +02:00 |
|
Krzosa Karol
|
3a97e739a8
|
More work on calls and compound statements
|
2022-05-30 13:22:57 +02:00 |
|
Krzosa Karol
|
9e24a608cb
|
Rewriting function calls to have named parameters, default values
|
2022-05-30 11:00:30 +02:00 |
|
Krzosa Karol
|
c305d4da44
|
Calling functions is working, same syntax as compound stmts
|
2022-05-30 09:04:34 +02:00 |
|
Krzosa Karol
|
802dce749e
|
Change syntax of compound exprs
|
2022-05-29 23:42:53 +02:00 |
|
Krzosa Karol
|
4434ad1fb5
|
More order independent globals
|
2022-05-29 22:07:08 +02:00 |
|
Krzosa Karol
|
2ad3131dba
|
More work on order independent bindings, A bit more cleanup, Delete some of the null code, no longer valid c code
|
2022-05-29 21:38:29 +02:00 |
|
Krzosa Karol
|
b6ea62fd67
|
Work on order independent structs + cleanup
|
2022-05-29 20:32:04 +02:00 |
|
Krzosa Karol
|
ea1b74cda0
|
Adding struts
|
2022-05-29 12:30:02 +02:00 |
|
Krzosa Karol
|
07b793aacc
|
Begin structs, add comment on multiline lambdas, add Ast flags
|
2022-05-29 11:29:26 +02:00 |
|
Krzosa Karol
|
798453c7db
|
Adding parent nodes to asts
|
2022-05-27 16:19:18 +02:00 |
|
Krzosa Karol
|
d6401ff05d
|
Recursive lambdas with new system
|
2022-05-27 15:35:15 +02:00 |
|