Commit graph

22 commits

Author SHA1 Message Date
471b3319a2 Fix comparing pointer types 2026-04-02 19:42:09 +03:00
8fd548fb92 Fix casting array to pointer in IR compiler 2026-03-31 13:07:44 +03:00
42e7f7961e New IR -> Aarch64 compiler wip: basic operations done (no pointers, structs, arrays) 2026-03-25 00:22:50 +03:00
0c11b09548 Pointers wip 2026-03-23 14:41:47 +03:00
5d00f1ddb7 Refactor AST: store direct references to AST nodes in indentifiers 2026-03-22 20:02:40 +03:00
56c63d50ac Struct types refactor v2: store AST node pointer in struct type 2026-03-22 13:34:35 +03:00
357baa9652 Fix printing function types like (a -> b) -> c 2026-03-22 12:50:22 +03:00
1a0dd2a48f Aarch64 JIT compiler wip: partial struct support 2026-03-17 18:08:23 +03:00
ab028c9d7a Hard-code size of bool as 1 just in case 2026-03-15 20:12:18 +03:00
c7e0232b15 Aarch64 JIT: check function pointer support 2026-01-19 15:14:13 +03:00
668851f6bf Aarch64 jit compiler wip: fix loading/storing floating-point values 2026-01-06 12:45:12 +03:00
7ddc8ba25d Add f16 type & literals support in parser, type checker & interpreter 2026-01-05 00:36:11 +03:00
dea5c18cfd Explicitly mark constructor AST nodes 2025-12-23 13:43:54 +03:00
a36ba2610b Add inferred type to AST nodes & implement type checking & inference 2025-12-23 12:17:42 +03:00
b5f46e77b6 Make tree visitors more type-safe by preventing implicit casts 2025-12-22 18:52:28 +03:00
5419f87a56 Support zero-initialization of built-in types and structs 2025-12-20 16:09:25 +03:00
d33b00e368 Refactor tree visitors (again) 2025-12-20 15:52:59 +03:00
1f8c73614c Refactor type visitor 2025-12-20 15:40:02 +03:00
d37c5b8754 Support zero (default) initialization for struct types 2025-12-20 15:18:48 +03:00
8c07e1950b Simplify tree visitors 2025-12-20 13:20:44 +03:00
709c7a7a0a Introduce dedicated type tree & AST tree visitors and use them in pretty-printing 2025-12-20 01:06:54 +03:00
4175a86ae3 Rename libs/type -> libs/types, separate computed type tree from the AST type tree 2025-12-20 00:03:23 +03:00