Impl/topic09 - #62
Impl/topic09#62FeelTheBeats wants to merge 6 commits into
Conversation
🤖 AI Code Review
📁
|
a21a252 to
6248f15
Compare
…ccounting - anchor for/return statement regexes with fullmatch so collector mode no longer silently accepts 'return x junk' / 'for i = 0, 4 junk' - validate operator kwargs against OP_SIGNATURES in _parse_kwargs: unknown or non-numeric kwargs now report E304 - keep counting errors in DSLValidator after max_errors is reached so suppressed_count reflects all unreported errors (50 errors / max=3 -> 47) - reject max_errors < 1 with ValueError instead of silently suppressing all - deduplicate suppressed errors by registering their keys too - normalize CRLF in both parsers so strict/collector source_line agrees
- collector/strict parity for return/for junk, unknown and non-numeric kwargs - E304 locations/messages and registered kwargs still lowering to IR - validator suppressed_count for line and trailing block errors - max_errors < 1 ValueError, suppressed duplicate dedup - CRLF source_line consistency and valid CRLF input - real validator-miss path (nested call -> E205 -> compiler)
- design doc: header uses error[E301]: prefix, sorted collector output, add strict/collector error-code mapping table with E101/E201/E200 ambiguity notes, document E304 as implemented - dev doc: fix suppression note wording, add context_lines contract, max_errors >= 1 ValueError, dedup key, branch commit/test numbers - both v2 docs declare supersession of the v1 docs
No description provided.