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

Refactor parser with PikaParser.jl #67

Closed
caleb-allen opened this issue Jun 29, 2023 · 0 comments
Closed

Refactor parser with PikaParser.jl #67

caleb-allen opened this issue Jun 29, 2023 · 0 comments
Labels
refactor wontfix This will not be worked on

Comments

@caleb-allen
Copy link
Owner

Parsing of vim commands is pretty fragile and difficult to work with in the package, as it's essentially just matching input against a list of really gnarly regular expressions. The more complex the commands, the more unruly the current solution gets. For example, in order to implement registers, many (but not all) commands must be able to be prepended with "x.

Re-implementing the parsing stage with a more robust solution would make it easier to add or change more complex features. PikaParser.jl takes a really interesting approach. At best, this can replace parse.jl, and at worst it will be an interesting experiment and learning opportunity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant