From f9a0c7e9687bc3e113f4c8f44861533c9ca48b3a Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 13 Oct 2026 03:23:52 +0000 Subject: feat: compile source files with configurable IR output Co-Authored-By: Claude Fable 5.1 --- AGENTS/PITFALLS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AGENTS/PITFALLS.md') diff --git a/AGENTS/PITFALLS.md b/AGENTS/PITFALLS.md index 7fddfff..acf21d2 100644 --- a/AGENTS/PITFALLS.md +++ b/AGENTS/PITFALLS.md @@ -38,8 +38,8 @@ test programs. unknown-function calls; OUTPUT reports an error for a nullptr result. - The lexer emits no newline tokens; the grammar is purely keyword-delimited. Bare `RETURN` is only recognized right before ENDIF/ELSE/ENDFUNCTION/ENDPROCEDURE. -- Invalid modules still print their IR, but `verifyModule` runs at the end of - `compile()` and makes the driver exit non-zero. +- `verifyModule` runs at the end of `compile()`; invalid modules make the driver + exit non-zero without writing IR. - The FOR loop variable must be pre-DECLAREd as INTEGER; FOR reuses that alloca. The loop direction is decided at run time from the STEP value's sign; STEP is evaluated exactly once, before the loop. (The TO expression is still re-evaluated every -- cgit v1.3.1-4-g156e