Commit graph

17 commits

Author SHA1 Message Date
86216e8cf3 Fix short-circuiting operators 2026-03-30 20:02:13 +03:00
38fd23b50e Add left/right shift operators 2026-03-30 12:04:34 +03:00
1404437324 IR & Aarch64 compiler arrays support wip 2026-03-29 19:37:49 +03:00
46c33b2acf Implement proper struct field assigment in IR compiler 2026-03-29 12:20:49 +03:00
0dc740d656 IR & Aarch64 compiler structs support wip: struct constructors, assignment, field access 2026-03-27 14:53:36 +03:00
14cb393076 Support comparison operators for integers of different types 2026-03-26 23:49:28 +03:00
5d7968c30b Implement IR + Aarch64 pointers 2026-03-25 16:30:43 +03:00
42e7f7961e New IR -> Aarch64 compiler wip: basic operations done (no pointers, structs, arrays) 2026-03-25 00:22:50 +03:00
c3c5010e04 Store node list via shared_ptr in module_context 2026-03-23 21:53:42 +03:00
dd3eb5d14b Implement pointer support in IR via load/store instructions 2026-03-23 15:35:28 +03:00
0c11b09548 Pointers wip 2026-03-23 14:41:47 +03:00
776c12f6b5 Update plans 2026-03-23 00:26:58 +03:00
e084b48fd3 Refactor IR compiler: get rid of useless scoping 2026-03-23 00:12:55 +03:00
292d6eeabf Refactor: split pre-AST (contains if/else if/else blocks, field definitions, no hierarchy) and the actual AST obtained after resolving scoping & indentation (contains if chains, no field definitions) 2026-03-22 14:06:34 +03:00
56c63d50ac Struct types refactor v2: store AST node pointer in struct type 2026-03-22 13:34:35 +03:00
7d5795d9bf Fix compilation to IR, in particular initializing a variable with a copy of another variable 2026-03-19 15:05:08 +03:00
25672d3f05 First common arch-independent IR prototype (no structs or arrays yet) 2026-03-18 18:35:47 +03:00