Commit graph

16 commits

Author SHA1 Message Date
06d509bcab Add break & continue statements 2026-04-02 17:10:42 +03:00
42e7f7961e New IR -> Aarch64 compiler wip: basic operations done (no pointers, structs, arrays) 2026-03-25 00:22:50 +03:00
c4d1252462 Refactor return AST node: store direct function node reference instead of relative scope level 2026-03-22 20:18:39 +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
4b555c2ad4 Fix filename tracking in locations & separate prelude location and full block location for AST nodes containing statement lists 2026-03-14 00:48:46 +03:00
3981b78b2d Rename parser::finilize -> finalize 2026-03-13 17:18:55 +03:00
902d272deb Fix empty location in if chains 2026-03-13 13:39:01 +03:00
7bca803136 Add scope level to return statement 2025-12-23 12:16:49 +03:00
58154b9e6e Handle return statement outside function scope in AST finilizator 2025-12-22 18:33:37 +03:00
437123f6f4 Add scope levels to identifier AST nodes & implement identifier resolution 2025-12-19 17:42:40 +03:00
16680ad801 Add source location to all AST nodes 2025-12-18 13:07:42 +03:00
6a3835951f Make sure parsed filenames live as long as the AST 2025-12-18 12:49:53 +03:00
39de1cd73c Switch to a custom source location type 2025-12-18 01:11:45 +03:00
04ee8e28e6 Add structures 2025-12-17 22:57:10 +03:00
41d3bb0f3d Implement functions in parser & interpreter 2025-12-16 19:19:46 +03:00
9d7f81d7fc Initial commit: wip spec, ast definition, parser & interpreter 2025-12-16 14:01:50 +03:00