Commit Graph

24 Commits

Author SHA1 Message Date
jooris 0a74262cee feat: add support for arrays 2026-04-23 00:19:11 +02:00
jooris ec2aa771fa feat: add support for structs and member access 2026-04-22 23:49:13 +02:00
jooris f3c93fa516 feat: add support for *T pointers 2026-04-22 23:14:53 +02:00
jooris 8bcae8cb31 feat: add foreign function support 2026-04-22 22:56:39 +02:00
jooris 041a49e574 feat: add as type casting 2026-04-22 22:40:19 +02:00
jooris e66a4ee736 feat: add floats 2026-04-22 22:24:48 +02:00
jooris c2fc11bbeb feat: replace end2end test and add more test 2026-04-22 21:59:08 +02:00
jooris 92eefb5cf1 feat: add while loops, break and continue statements 2026-04-21 23:56:08 +02:00
jooris 68ec14e541 feat: add expression statements and assign expressions 2026-04-21 23:18:13 +02:00
jooris 3fe307eff8 feat: add support for let statements 2026-04-21 23:03:03 +02:00
jooris 42ba357302 feat: add better diagnostic rendering 2026-04-21 22:41:37 +02:00
jooris 0162d5b845 feat: add constant folding and dead code elimination passes 2026-04-21 22:30:06 +02:00
jooris 3e0b5c5b00 feat: unify AST structures, introduce MIR and update codegen 2026-04-21 22:08:15 +02:00
jooris 22023a8734 feat: add control flow analysis and error reporting for unreachable code 2026-04-21 18:36:02 +02:00
jooris 0c288c2247 feat: add support for if/else statements 2026-04-21 18:20:15 +02:00
jooris eb3663dfbb feat: add support for booleans and comparision operators 2026-04-21 11:05:48 +02:00
jooris bad6b9e116 feat: update PLAN.md and add end to end test of the compiler 2026-04-20 23:39:47 +02:00
jooris 35255a924a feat: add a backed using cranelift ir and codegen crates 2026-04-20 23:27:16 +02:00
jooris c3ee0d6e67 feat: add typed ast and Hindley-Milner style semantic analysis 2026-04-20 23:15:11 +02:00
jooris 27d033135c feat: wire up the parser in the main function 2026-04-20 22:15:31 +02:00
jooris 4981a78a8b feat: add ast and parser implementation 2026-04-20 21:49:12 +02:00
jooris 1006301255 feat: add lexer implementation 2026-04-20 19:51:57 +02:00
jooris 51a4000f1f feat: add token and span definitions 2026-04-20 19:03:19 +02:00
jooris 46028f9072 init: add compiler roadmap and project planning 2026-04-20 19:01:52 +02:00