20 Commits

Author SHA1 Message Date
1cd44508c3
Support while … else 2025-04-14 23:13:42 +02:00
8ec407515a
Label loops 2025-04-12 12:05:32 +02:00
6fd1bda112
Add an else to the case statement 2025-04-11 15:28:43 +02:00
f68667d5e5
Implement case statements 2025-04-11 11:17:17 +02:00
18c4e79012
Implement enumeration type 2025-04-09 00:32:34 +02:00
50970f3289
Add the unreachable builtin function 2025-04-02 21:08:15 +02:00
013bf91fbd
Save procedure info in the symbol table 2025-03-31 12:48:30 +02:00
f2e2da4a34
Detect type aliasing cycles 2025-03-30 17:09:22 +02:00
d359056354
Type check the return statement 2025-03-28 01:11:16 +01:00
5e8555b4f4
Skip parameter names in procedure type expressions 2025-03-20 21:41:03 +01:00
f6e0ead4fb
Check for duplicate fields in the declaration visitor 2025-03-16 03:28:51 +01:00
fa73f14070
Forbid redefenition of builtin types 2025-03-15 00:05:39 +01:00
ac084be7f5
Randomize type declaration order 2025-03-12 23:56:54 +01:00
c9a8ecdc0a
Create a generic type for types with an error list 2025-03-12 00:23:51 +01:00
f739194e06
Add a symbol table with type info 2025-03-10 01:17:32 +01:00
868db6e0bf
Add array_type 2025-03-08 13:55:42 +01:00
dc5760394b
Unify the build_type function 2025-03-08 00:10:55 +01:00
dbeaca7cbf
Add forward type declaration representation 2025-03-06 03:46:10 +01:00
8dc02047df
Add second GENERIC visitor 2025-03-05 23:24:27 +01:00
c5930285bf
Rename AST types to type expressions 2025-03-03 23:16:31 +01:00