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
Expanding from #2, we need our parsing expressions to be automatically memoized. The basic rule of a PEG is that each expression can have at most a single expansion at any position within the input, which makes a Packrat parser ideal for this scenario.
Acceptance Criteria
Our parser implements memoization for each expression at each input location.
Memoization is done on an as-needed basis.
Both failures and successes are memoized.
Parser performance is reduced to linear time in the number of expressions and the length of input.
The text was updated successfully, but these errors were encountered:
Overview
Expanding from #2, we need our parsing expressions to be automatically memoized. The basic rule of a PEG is that each expression can have at most a single expansion at any position within the input, which makes a Packrat parser ideal for this scenario.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: