Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ANTLR4 for parsing text based formats #326

Open
Laupetin opened this issue Jan 3, 2025 · 0 comments
Open

Use ANTLR4 for parsing text based formats #326

Laupetin opened this issue Jan 3, 2025 · 0 comments
Labels
refactor Refactors an existing feature or system

Comments

@Laupetin
Copy link
Owner

Laupetin commented Jan 3, 2025

Currently all parsing of text based format is done via a self-made parser that I introduced to experiment with creating a parser.
Since I didn't have any theoretical background when doing this, all the terminology is not making any sense and it is also most likely has very poor performance compared to popular parser generators outputs.

Therefore it would probably be beneficial for code readability, reducing complexity and streamlining to use a more mainstream solution for parsing text based formats.
My personal preference here is ANTLR4 since I already have experience with it and I prefer it over flex/bison that the original games did make use of.

@Laupetin Laupetin added the refactor Refactors an existing feature or system label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactors an existing feature or system
Projects
None yet
Development

No branches or pull requests

1 participant