Skip to content

Fail on wrong parser input format#18

Merged
homka122 merged 1 commit into
mainfrom
homka122/16-fail-on-wrong-format
May 3, 2026
Merged

Fail on wrong parser input format#18
homka122 merged 1 commit into
mainfrom
homka122/16-fail-on-wrong-format

Conversation

@homka122
Copy link
Copy Markdown
Owner

@homka122 homka122 commented May 3, 2026

  • fail on malformed graph lines instead of silently skipping them
  • fail on malformed grammar lines, including invalid Count/start-nonterminal section
  • validate numeric graph fields (u, v, optional index) to reject values like 0 a 1

Closes #16

@homka122 homka122 marked this pull request as ready for review May 3, 2026 13:32
@homka122 homka122 merged commit fe4d8a2 into main May 3, 2026
1 check passed
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.

Silent fail then grammar or graph in wrong format

1 participant