You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pegase v1 is underway. There will be some major changes compared to the current pre-release API.
The underlying parsing strategy will change: instead of parsing directly in class methods on Parser derivatives, a Function instance will be generated for the root Parser. This Function is a compiled and optimized version of the parsing process. This allows for some interesting tricks, and is also roughly two times faster. (Done)
The Parser classes will be entirely rewritten (obviously). Instead of an exec member, they will have a generate member to generate source code for the compiled Function. The source code will be recursively generated via parser.compile(). This method will not have to be called explicitly, it'll be done in the peg tag. (Done)
Parametrized rules will be a thing. (Done)
Warnings and failures might be collected directly on the options object, not logger which might be removed in favor of a smaller indexer or at method. (Done)
Captures will be handled differently. Right now, there are some scope issues. (Done)
The text was updated successfully, but these errors were encountered:
Pegase v1 is underway. There will be some major changes compared to the current pre-release API.
Parser
derivatives, aFunction
instance will be generated for the rootParser
. ThisFunction
is a compiled and optimized version of the parsing process. This allows for some interesting tricks, and is also roughly two times faster. (Done)Parser
classes will be entirely rewritten (obviously). Instead of anexec
member, they will have agenerate
member to generate source code for the compiledFunction
. The source code will be recursively generated viaparser.compile()
. This method will not have to be called explicitly, it'll be done in thepeg
tag. (Done)options
object, notlogger
which might be removed in favor of a smallerindexer
orat
method. (Done)The text was updated successfully, but these errors were encountered: