Commit graph

54 commits

Author SHA1 Message Date
Brett Broadhurst
236acc7d60
fix: call frame handling, logical short circuiting 2026-04-01 21:13:36 -06:00
Brett Broadhurst
5c133e5fa2
chore: remove duplicate code for knot-related ir generation functions 2026-03-31 19:46:07 -06:00
Brett Broadhurst
d9f0a04417
feat: loading stories from source files 2026-03-31 16:42:02 -06:00
Brett Broadhurst
01cc996183
fix: add .break_inline ir instruction to ensure interned values can be referenced 2026-03-31 15:11:54 -06:00
Brett Broadhurst
aad95a75ee
feat: choice expression nodes extended to full content parsing 2026-03-31 09:37:38 -06:00
Brett Broadhurst
066369cc13
fix: parsing diverts within content 2026-03-30 17:19:12 -06:00
Brett Broadhurst
2ee43514b4
fix: iteration order for namespace declarations 2026-03-30 17:02:05 -06:00
Brett Broadhurst
f5eac49729
feat: runtime content processing, supporting glue 2026-03-30 16:50:03 -06:00
Brett Broadhurst
d325cdf965
feat: support glue in parser 2026-03-30 08:38:30 -06:00
Brett Broadhurst
97a43f63eb
fix: broken conditionals 2026-03-30 05:44:35 -06:00
Brett Broadhurst
b231e66b49
refactor: no more optional lists in ast nodes 2026-03-29 16:34:54 -06:00
Brett Broadhurst
d08e753664
feat: function calls 2026-03-29 15:52:34 -06:00
Brett Broadhurst
11d99fba38
fix: content behavior bugs 2026-03-29 06:21:53 -06:00
Brett Broadhurst
2260ccda25
feat: folding logical operations 2026-03-29 04:49:03 -06:00
Brett Broadhurst
92e8bcd866
feat: cheaper runtime value type, float and int arithmetic rules 2026-03-29 02:24:02 -06:00
Brett Broadhurst
9b5cd4038f
fix: semantic restrictions for global variables, constant folding 2026-03-28 11:00:07 -06:00
Brett Broadhurst
cbcc796f1e
fix: ir generation for divert arguments 2026-03-26 10:20:27 -06:00
Brett Broadhurst
37ab29947a
chore: added test cases for parsing simple stitches 2026-03-26 09:01:56 -06:00
Brett Broadhurst
6f54e6fbcd
chore: add test cases for choice statement parsing 2026-03-26 08:48:27 -06:00
Brett Broadhurst
7afc6719d9
chore: test case for empty logic expression 2026-03-26 08:37:11 -06:00
Brett Broadhurst
8fa228a9c2
chore: add more error test cases for duplicate identifiers 2026-03-26 08:30:36 -06:00
Brett Broadhurst
cd94a43cc9
fix: simple knot tests 2026-03-26 00:42:08 -06:00
Brett Broadhurst
9ca2200448
fix: error reporting for global variables 2026-03-25 23:50:42 -06:00
Brett Broadhurst
2dfa6cd842
fix: runtime test fixture compilation errors 2026-03-25 22:19:16 -06:00
Brett Broadhurst
440ec68481
feat: infrastructure to support qualified lookups 2026-03-25 03:18:24 -06:00
Brett Broadhurst
e8ad1cd5b5
refactor: change object.zig module into file struct 2026-03-23 22:54:40 -06:00
Brett Broadhurst
33e3c1c271
refactor: redefining assumptions about declarations 2026-03-23 22:45:55 -06:00
Brett Broadhurst
be297047d1
feat: error reporting for global reference usage 2026-03-19 01:54:33 -06:00
Brett Broadhurst
47351cd6f9
feat: error message for unknown global variables 2026-03-18 19:21:56 -06:00
Brett Broadhurst
c940374f27
refactor: new direction for error reporting 2026-03-18 17:52:07 -06:00
Brett Broadhurst
72b686d750
chore: zig test harness setup for parsing 2026-03-18 04:33:18 -06:00
Brett Broadhurst
d4546d58be
chore: configure kcov for test coverage 2026-03-18 03:57:02 -06:00
Brett Broadhurst
517eae1481
refactor: clean up ir print writer 2026-03-18 01:37:42 -06:00
Brett Broadhurst
20292bcc6a
feat: code generation for diverts, wip 2026-03-17 23:19:54 -06:00
Brett Broadhurst
ee26be6254
feat: code generation for simple choice statements, testing machinery 2026-03-16 17:33:31 -06:00
Brett Broadhurst
fac5a968e3
feat: code generation for switch statements 2026-03-16 14:19:49 -06:00
Brett Broadhurst
e5e2b7c559
feat: added Ir.Inst.Ref, global constant pool, lazy lowering in Sema 2026-03-11 20:15:52 -06:00
Brett Broadhurst
ce5385ebac
feat: semantics for if statements and multi-prong if statements 2026-03-10 16:52:13 -06:00
Brett Broadhurst
9658c8a308
feat: ink variable semantics, global ref table for astgen 2026-03-09 09:21:42 -06:00
Brett Broadhurst
197a37ebe7
feat: ir for declarations and semantic analyzer start 2026-03-09 05:57:25 -06:00
Brett Broadhurst
f16162b5bb
refactor: boilerplate for semantic ir 2026-03-08 14:54:28 -06:00
Brett Broadhurst
98f5215629
chore: rename AstGen methods, removed 'check' prefix 2026-03-08 06:26:16 -06:00
Brett Broadhurst
95d89b7bf9
refactor: working towards a better astgen patterns 2026-03-08 04:22:57 -06:00
Brett Broadhurst
d6ff3a40bd
feat: code generation for conditional and switch statements 2026-03-03 16:22:35 -07:00
Brett Broadhurst
889f678dd8
feat: code generation and execution for simple choice statements 2026-03-02 21:16:24 -07:00
Brett Broadhurst
55346fcd85
feat: basic code generation 2026-03-02 13:20:02 -07:00
Brett Broadhurst
3ab279de0f
refactor: story objects and story dumper 2026-03-02 12:52:20 -07:00
Brett Broadhurst
849908f251
feat: minimal virtual machine / runtime port from ink-c 2026-03-02 12:17:57 -07:00
Brett Broadhurst
619eb3b338
feat: improved parsing and regression test suite 2026-02-27 18:25:13 -07:00
Brett Broadhurst
4ebdd3c66e
feat: parsing a decent chunk of the ink grammar 2026-02-26 19:11:12 -07:00