This repository has been archived by the owner on Apr 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Use Instaparse #45
Labels
core
Stuff seg can't go without
Comments
The After spending a day sketching ebnfs, this is the solution I'm considering:
For small editions (like changing variable values etc):
|
Catching errors from instaparse: https://stackoverflow.com/questions/52785284/easiest-way-to-get-an-error-message-as-a-string-in-instaparse |
Just thought of a different (maybe more efficient) approach for better language parsing - using actual js-based parsers.
The problem would then be to make self-contained little parsing modules that return similarly-shaped data |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Instaparse is a parsing lib that seems perfect for this project. Among other benefits, it may allow plugins to be completely declarative and decoupled from the engine, which is pretty much the point of seg.
Investigate using it
The text was updated successfully, but these errors were encountered: