Skip to content

Better Parsing#17

Merged
dobios merged 9 commits intomainfrom
betterparser
Jun 5, 2025
Merged

Better Parsing#17
dobios merged 9 commits intomainfrom
betterparser

Conversation

@dobios
Copy link
Owner

@dobios dobios commented May 24, 2025

The goal of this PR is to tackle issue #13 and make parsing less horrifically slow. This is done by refactoring the implementation of the parser to avoid constant copying of the parsed program, and offering a new parsing option to defer resolution of line IDs (to yield actual instructions in place of an operand ID) until after the entire program is parsed (this avoids repeated instruction lookups).

Hopefully this will be useful and

@dobios dobios linked an issue May 24, 2025 that may be closed by this pull request
@dobios dobios changed the title [WIP] Better Parsing Better Parsing Jun 5, 2025
@dobios dobios marked this pull request as ready for review June 5, 2025 01:28
@dobios dobios merged commit 22ad445 into main Jun 5, 2025
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.

Implement faster parsing.

1 participant