Skip to content

Refactor/tokens#7

Open
andy9a9 wants to merge 6 commits into
mainfrom
refactor/tokens
Open

Refactor/tokens#7
andy9a9 wants to merge 6 commits into
mainfrom
refactor/tokens

Conversation

@andy9a9

@andy9a9 andy9a9 commented Jul 6, 2026

Copy link
Copy Markdown
Owner
  • switch to token-based approach
    • introduce lexer parser
      • should be more stable than regexps
        • keep them where it makes sense
    • add new syntax-validator feature
      • use token-based approach just for now
        • dtc variant will be used later

andy9a9 added 6 commits July 6, 2026 13:10
- will be used as a replacement for regexs where possible
- keep regexs where it makes sense
- search for basic syntax errors like:
 - bracket pairs  { } < > [ ] ( )
  - unmatched openers
  - unexpected closers
  - mismatched pairs
 - unterminated string literals
 - unterminated block comments
 - missing `;`
@andy9a9 andy9a9 requested a review from mkessler001 July 6, 2026 11:27
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.

1 participant