Skip to content

Some way to cache the parsed results? #565

Answered by epage
jbham asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, packrat parsing would help with how you are parsing but my hope is that there are other ways to improve things.

For example, if you split up lexing and parsing, then the cost of re-parsing a section in an alt will be dramatically lower. Unsure if pratt parsing (#131) reduces the number of passes in handling each expression.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@epage
Comment options

Answer selected by jbham
@jbham
Comment options

@epage
Comment options

@jbham
Comment options

@jbham
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants