Skip to content

Parser Rewrite + Cleanup#14

Merged
FaceFTW merged 13 commits into
mainfrom
parser-fix
May 28, 2025
Merged

Parser Rewrite + Cleanup#14
FaceFTW merged 13 commits into
mainfrom
parser-fix

Conversation

@FaceFTW

@FaceFTW FaceFTW commented May 28, 2025

Copy link
Copy Markdown
Owner

Fixes a nasty issue where comments would be detected in what semantically is the actual "cow string", which malformed certain cowfiles (see aperture.cow which was the most obvious victim).

The parser is migrated to winnow from nom due to it's built-in debugging. The fundamental parser is now more self contained in a customized iterator with the filtering based on interpreter state built in. Left some notes because it is objectively not good code and smarter people than me can tell me why.

@FaceFTW FaceFTW merged commit 01fcc6e into main May 28, 2025
5 checks passed
@FaceFTW FaceFTW deleted the parser-fix branch May 28, 2025 00: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