Skip to content

fix: harden lexer and parser error handling - #18

Merged
shayyz-code merged 1 commit into
mainfrom
test/lexer-parser-error-baseline
Jul 29, 2026
Merged

fix: harden lexer and parser error handling#18
shayyz-code merged 1 commit into
mainfrom
test/lexer-parser-error-baseline

Conversation

@shayyz-code

Copy link
Copy Markdown
Owner

Summary

  • make legacy tokenization UTF-8-safe for strings, characters, comments, and whitespace
  • propagate malformed literals, comments, unsupported identifiers, and unexpected EOF as typed parse errors
  • add ten focused regression specifications and complete the roadmap checkpoint

Issue

Closes #17

Verification

  • cargo fmt --all -- --check
  • cargo check --all-targets
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test (58 integration specifications and 1 doctest)
  • cargo run --quiet -- examples/app.poo
  • manual valid UTF-8 and unterminated-comment CLI checks
  • mdbook build docs
  • mdbook test docs
  • oranda build
  • go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.7
  • git diff --check

Documentation and Visual Impact

Roadmap status only; no visual impact.

@cursor

cursor Bot commented Jul 29, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@shayyz-code
shayyz-code merged commit 1e50703 into main Jul 29, 2026
10 checks passed
@shayyz-code
shayyz-code deleted the test/lexer-parser-error-baseline branch July 29, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: harden lexer and parser error baselines

1 participant