Commit Graph

28 Commits

Author SHA1 Message Date
6da2a70329 Generate top-level code from symbol tables 2025-06-19 14:03:03 +02:00
f524311f06 Add lexer and parser sources 2025-06-16 00:42:16 +02:00
c99237fd9c Move source reading into a function 2025-04-18 08:51:47 +02:00
d359056354 Type check the return statement 2025-03-28 01:11:16 +01:00
f6e0ead4fb Check for duplicate fields in the declaration visitor 2025-03-16 03:28:51 +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
dc5760394b Unify the build_type function 2025-03-08 00:10:55 +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
7f4a026cbc Add generic documentation 2025-02-20 00:38:53 +01:00
39750f4656 Implement elsif do 2025-02-17 19:36:57 +01:00
62d9398772 Index strings 2025-02-12 23:18:39 +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
4011adbe2b Rename elna::source to elna:boot 2025-01-31 23:31:36 +01:00
7b36a3803f Support procedures returning values 2025-01-18 21:30:11 +01:00
2d61828903 Allow declaring type synonyms 2025-01-07 14:37:30 +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
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
40306ac986 Add semantic passes 2024-12-25 22:20:39 +01:00