Skip to content

Extend lexer for SimplicityHL formatter#372

Draft
ikripaka wants to merge 4 commits into
BlockstreamResearch:masterfrom
ikripaka:feat/fmt-parser
Draft

Extend lexer for SimplicityHL formatter#372
ikripaka wants to merge 4 commits into
BlockstreamResearch:masterfrom
ikripaka:feat/fmt-parser

Conversation

@ikripaka

@ikripaka ikripaka commented Jul 15, 2026

Copy link
Copy Markdown

Add parsing of additional tokens for formatting

  • add fmt feature to separate logic for formatter parsing
  • edit the logic of the lexer to include other characters as well for formatting
  • add FmtTokens, which stores comments, newlines and whitespace data
  • mark Token as non-exhaustive
  • modify parser to ignore comments in regular mode
  • separate tests into modules

ikripaka added 2 commits July 23, 2026 16:52
* edit logic of lexer to include other characters as well for formatting
* add FmtTokens, which stores comments, newlines and whitespaces data
* mark Token as non-exhaustive
* modify parser to ignore comments in regular mode
* separate tests with modules
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