29 Commits

Author SHA1 Message Date
7b36a3803f
Support procedures returning values 2025-01-18 21:30:11 +01:00
a79def50e5
End while and if statements with the end token 2025-01-17 23:01:18 +01:00
ef667e3ace
Implement external functions 2025-01-16 15:10:35 +01:00
1e45d66359
Implement argument passing 2025-01-15 20:39:30 +01:00
5cb0e18a87
Add current grammar 2025-01-14 23:15:27 +01:00
3bd4c3af6f
Don't append return to void procedures 2025-01-13 23:10:15 +01:00
b45b00a3f6
Move type definitions to the program node 2025-01-12 23:26:59 +01:00
7985704981
Rename the frontend binary name to gelna 2025-01-11 23:20:23 +01:00
0fcf29c17e
Implement parameterless prcoedures 2025-01-11 13:32:37 +01:00
35c32fcf3f
Implement pointers 2025-01-10 23:17:18 +01:00
954425f4bd
Generate record IR 2025-01-09 22:40:39 +01:00
cf4b6b7ccc
Add pointer and field access nodes 2025-01-08 23:23:27 +01:00
2d61828903
Allow declaring type synonyms 2025-01-07 14:37:30 +01:00
ed1bb621d6
Handle array variable declaration 2025-01-06 15:08:23 +01:00
e8747a803f
Construct the parse tree with raw pointers 2025-01-05 15:21:25 +01:00
bbd38a5d26
Make type_expression abstract 2025-01-05 00:06:51 +01:00
98c13f0be3
Set variable declaration context 2025-01-04 20:24:34 +01:00
a7b0c53d23
Add string type 2025-01-04 02:02:19 +01:00
660c774327 Pass target to the cross task 2025-01-03 10:30:13 +01:00
45eb6a3b84
Add a char type 2025-01-01 23:02:19 +01:00
8176da5f9b
Introduce float type 2024-12-31 18:10:34 +01:00
75a691134f
Support else in if then conditions 2024-12-30 23:12:47 +01:00
c558c3d6b4
Implement constants 2024-12-29 22:28:53 +01:00
20949c7829
Implement while loops 2024-12-29 00:44:09 +01:00
d46608b358
Translate position to a GCC location 2024-12-27 23:38:25 +01:00
51f5603c4a
Add GCC backend glue 2024-12-27 10:51:46 +01:00
40306ac986
Add semantic passes 2024-12-25 22:20:39 +01:00
f080b75c52
Parse variable declarations 2024-12-23 09:20:33 +01:00
72681e349a
Initial commit 2024-12-21 00:08:48 +01:00