36 Commits

Author SHA1 Message Date
75561fd18a
Replace build_type with visitor functions 2025-03-02 10:05:47 +01:00
18602d00a1
Allow only one return 2025-03-01 00:00:36 +01:00
f091344cce
Replace type expression with traits 2025-02-28 00:22:50 +01:00
85b6843ecf
Implement procedure pointers 2025-02-24 00:24:36 +01:00
39750f4656
Implement elsif do 2025-02-17 19:36:57 +01:00
ee4ebf64b9
Use colon instead of as to cast 2025-02-14 22:47:09 +01:00
cd949c4be7
Implement string comparison 2025-02-12 00:56:21 +01:00
33aca4cc07
Fix diagnostic for primitive types 2025-02-11 01:37:55 +01:00
4bf88a92e8
Replace main_fndecl with current_function_decl 2025-02-09 23:49:57 +01:00
207ae0fa0a
Change the bootstrap compiler license to GPL3 2025-02-09 12:30:31 +01:00
d88bd652a4
Make string and char pointers comparable 2025-02-08 23:02:27 +01:00
8a0f282714
Implement defer 2025-02-08 06:47:42 +01:00
5e9b4259ca
Add multiple of the pointer target size 2025-02-05 22:51:48 +01:00
607bf09434
Read the input filename from the command line 2025-02-02 23:34:31 +01:00
4011adbe2b
Rename elna::source to elna:boot 2025-01-31 23:31:36 +01:00
1b90829299
Lex multiline comments 2025-01-30 01:03:16 +01:00
5178027d9f
Implement the sizeof operator 2025-01-29 12:55:52 +01:00
be1a56a557
Cast expressions 2025-01-28 23:04:06 +01:00
18d8ded239
Implement elsif 2025-01-27 23:20:45 +01:00
005e9dcc52
Implement the Word type 2025-01-24 11:41:14 +01:00
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
1e45d66359
Implement argument passing 2025-01-15 20:39:30 +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
0fcf29c17e
Implement parameterless prcoedures 2025-01-11 13:32:37 +01:00
35c32fcf3f
Implement pointers 2025-01-10 23:17:18 +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
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
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
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