|
|
ddea133138
|
Typecheck break and continue correctly
|
2026-04-30 20:09:32 +03:00 |
|
|
|
9f3f64e6bd
|
Parse break and continue
|
2026-04-30 20:06:15 +03:00 |
|
|
|
a90259eccc
|
Add AST for compound statement, break and continue
|
2026-04-30 19:50:27 +03:00 |
|
|
|
745447265e
|
Parse comments correctly
|
2026-04-30 19:36:19 +03:00 |
|
|
|
0fb63ee703
|
Update test.c
|
2026-04-28 16:19:53 +03:00 |
|
|
|
4cf5c9791a
|
Parse while-statements
|
2026-04-28 16:13:38 +03:00 |
|
|
|
6247bc91f6
|
Add for-loop parsing
|
2026-04-28 01:35:39 +03:00 |
|
|
|
52e43ea1e2
|
Move ; parsing upper down the line
|
2026-04-28 01:34:52 +03:00 |
|
|
|
8d826326fa
|
Add for-loop AST
|
2026-04-28 01:15:57 +03:00 |
|
|
|
5b776a1d66
|
Add negation unary
|
2026-04-28 01:03:25 +03:00 |
|
|
|
43df7efd6f
|
Add decrement and negation unops
|
2026-04-28 00:38:04 +03:00 |
|
|
|
1103efe6fe
|
Start adding unary operators
|
2026-04-28 00:09:50 +03:00 |
|
|
|
226118bcbb
|
Fix some indexing problems
|
2026-04-16 23:47:42 +03:00 |
|
|
|
668e18e8ba
|
Fix somelist_pointer
|
2026-04-16 21:55:43 +03:00 |
|
|
|
63584525f2
|
Add escaping of characters
|
2026-04-16 20:25:00 +03:00 |
|
|
|
28be145a70
|
Remove const array formatting
|
2026-04-16 20:01:30 +03:00 |
|
|
|
53872373bf
|
Check for const in assignment binop
|
2026-04-16 19:47:56 +03:00 |
|
|
|
efb4ce85ac
|
Format const in type
|
2026-04-16 19:46:47 +03:00 |
|
|
|
8e6980715e
|
Add const-ability to types
|
2026-04-16 19:43:36 +03:00 |
|
|
|
f9208a525d
|
Fix how pointer indexing works
|
2026-04-16 19:23:41 +03:00 |
|
|
|
238577e9ca
|
Fix how arrays are managed
|
2026-04-16 18:32:31 +03:00 |
|
|
|
f0607a2310
|
Allow forward-declaration of structs
|
2026-04-16 01:39:07 +03:00 |
|
|
|
a12cf52c48
|
Add FieldAccessExpression
|
2026-04-15 20:01:20 +03:00 |
|
|
|
b664ca8f9d
|
Typecheck list initializer for structs
|
2026-04-15 19:28:09 +03:00 |
|
|
|
8e7facc593
|
Format ref-structs correctly
|
2026-04-15 19:07:49 +03:00 |
|
|
|
29fd757517
|
Add Struct types
|
2026-04-15 18:40:26 +03:00 |
|
|
|
66653553a5
|
Update test.c
|
2026-04-15 18:22:23 +03:00 |
|
|
|
55388bc6e3
|
Parse listinitializer
|
2026-04-15 16:07:07 +03:00 |
|
|
|
6efcb23d6b
|
Add get_codegen_type
|
2026-04-14 18:48:17 +03:00 |
|
|
|
45df4fdf5f
|
Fix array to ptr cast
|
2026-04-14 18:26:33 +03:00 |
|
|
|
d3f0a730fd
|
Make strings be char[n]
|
2026-04-14 17:01:08 +03:00 |
|
|
|
26779414a7
|
Implement arrays
|
2026-04-14 15:55:13 +03:00 |
|
|
|
3370e76c48
|
Add ArrayType
|
2026-04-14 14:57:25 +03:00 |
|
|
|
fa8c4b0e74
|
Allow underscores in idents
|
2026-04-14 14:19:08 +03:00 |
|
|
|
be2d809986
|
Make ref and deref only parse primary expression
|
2026-04-14 00:28:12 +03:00 |
|
|
|
01d4999e14
|
Store params in stack properly as well
|
2026-04-14 00:25:54 +03:00 |
|
|
|
acd1e5d39b
|
Fix bug in deref
|
2026-04-14 00:09:36 +03:00 |
|
|
|
d4016e3ab7
|
Parse ref/deref/parenthesis
|
2026-04-14 00:05:30 +03:00 |
|
|
|
78c5ab4c25
|
Add ref and deref
|
2026-04-14 00:01:33 +03:00 |
|
|
|
28483812ea
|
Allow implicit cast from char to int
|
2026-04-13 21:45:58 +03:00 |
|
|
|
c8d4b653da
|
Fix bug with binop assignment typechecking
|
2026-04-13 21:24:34 +03:00 |
|
|
|
fa01b22b81
|
Add compilation of casts
|
2026-04-13 21:08:57 +03:00 |
|
|
|
dab4d47b8e
|
Separate signed and unsigned comparisons correctly
|
2026-04-13 20:46:43 +03:00 |
|
|
|
810dd3595e
|
Allow implicitly converting IntLiteralExpr to other int types
|
2026-04-13 20:15:48 +03:00 |
|
|
|
8646d5c0d0
|
Parse varargs
|
2026-04-11 22:18:02 +03:00 |
|
|
|
3f61e3749e
|
Allow anonymous parameters
|
2026-04-11 22:11:52 +03:00 |
|
|
|
5dc6e8ca16
|
Modify printf to take a number additionally
|
2026-04-11 22:07:48 +03:00 |
|
|
|
bd76e8676f
|
Add literal strings
|
2026-04-11 22:03:38 +03:00 |
|
|
|
ac7731446e
|
Add pointer types
|
2026-04-11 21:45:54 +03:00 |
|
|
|
6855360a97
|
Add void and char types
|
2026-04-11 21:40:59 +03:00 |
|