Recursive ascent parser: Difference between revisions

Content deleted Content added
Example: Removed original research warning, since the challenge was answered and never rebutted on the talk page
Example: Use syntax highlighting for Scala source example
Line 35:
The following is a [[Scala (programming language)|Scala]] implementation of a recursive ascent parser based on the above grammar:
 
<source lang="scala">
<pre>object ExprParser {
private type Result = (NonTerminal, Int)
Line 307 ⟶ 308:
(res, goto - 1)
}
}
}</pre>
</source>
 
==See also==