Implement loops #4

Merged
samsonium merged 24 commits from feat-loops into v1.1 2026-10-25 02:01:47 +00:00
24 Commits
Author SHA1 Message Date
samsonium 6d1f1ce66e fix: memory leak in postfix parsing function 2026-10-25 04:57:01 +03:00
samsonium c03fddf47f fix: fixes in compiler 2026-10-25 04:52:18 +03:00
samsonium 3bb60071bb feat: add infinite loop control args 2026-10-25 04:52:07 +03:00
samsonium 04fdd58e4f fix: fix typo in examples 2026-10-25 04:51:37 +03:00
samsonium e00e609589 ref: rename 'hard-1' test to 'linked-list' 2026-10-25 01:56:20 +03:00
samsonium a37b8cfe6e ref: remove test examples 2026-10-25 01:56:07 +03:00
samsonium c4eb148d17 ref: temporary comment out infinite loop check 2026-10-25 01:54:49 +03:00
samsonium dbca3129ab feat: add "while-not-null" test 2026-10-25 01:54:07 +03:00
samsonium e3878047d7 upd: rename neg1 tests (for negative in runtime) to negr 2026-10-25 01:53:46 +03:00
samsonium 7cfb8efef4 feat: implement break 2026-10-22 21:30:32 +03:00
samsonium b5ae959d14 feat: add test name format for runtime-only error 2026-10-22 21:30:17 +03:00
samsonium 0e319308a7 wip: working on infinite loop handling in vm 2026-10-22 20:25:48 +03:00
samsonium a20743a835 feat: implement simple infinite loop checker 2026-10-22 20:24:48 +03:00
samsonium 5dde75523d wip: working on loop infinity checker 2026-10-22 18:25:07 +03:00
samsonium cc5bbd61f2 feat: implement loops 2026-10-22 18:24:28 +03:00
samsonium 0188991f4d feat: add new tests for loops 2026-10-22 03:39:04 +03:00
samsonium 73a2a50a0b feat: add error message for variable redefenition attempt 2026-10-21 04:42:58 +03:00
samsonium 4a366cb0ac fix: missing ';' in variables example 2026-10-21 04:42:41 +03:00
samsonium c7cce94119 fix: add AST freeing on errors; add checks for parser, walker and writer are not NULL 2026-10-21 04:31:57 +03:00
samsonium 673a28fbc7 fix: check for EOF on block parsing (closing brace) 2026-10-21 04:31:02 +03:00
samsonium 160c6c6488 fix: incorrect test file directory prefix 2026-10-21 04:30:16 +03:00
samsonium c8f3cd61f4 ref: add build-release make target for building c/vm without sanitizer libs 2026-10-21 04:01:23 +03:00
samsonium 138d503bce feat: add examples with descriptions 2026-10-21 04:00:48 +03:00
samsonium e49ebba346 feat: add new tests 2026-10-21 04:00:03 +03:00