Skip to content

Integrate source/src/BNFC/regexMinus.hs into the project#568

Draft
Error10556 wants to merge 17 commits into
BNFC:masterfrom
Error10556:regex-minus
Draft

Integrate source/src/BNFC/regexMinus.hs into the project#568
Error10556 wants to merge 17 commits into
BNFC:masterfrom
Error10556:regex-minus

Conversation

@Error10556

@Error10556 Error10556 commented Jun 1, 2026

Copy link
Copy Markdown

This is a nearly complete rewrite of the old file source/src/BNFC/regexMinus.hs by David J. Sankel. This implementation should work for all cases, not just single-letter Kleene stars.

I am also unsure if this should really be merged into source/src/BNFC/Regex.hs. I left it as a separate module for now to not break things.

This module would be very useful for generating lexers in a new backend I am working on.

@Error10556 Error10556 marked this pull request as draft June 14, 2026 10:29
@Error10556 Error10556 marked this pull request as ready for review June 24, 2026 13:14
@Error10556 Error10556 marked this pull request as draft July 6, 2026 21:28
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