Talk:Recursive descent parser generator: Difference between revisions

no edit summary
(Created page with "== Input specification == The main thing that needs to be fixed before adding any examples is the input specification. I want to make it detailed enough to be at least slightl...")
 
No edit summary
Line 13:
 
Is there any way to simplify this?
 
[[User:MagiMaster|MagiMaster]] ([[User talk:MagiMaster|talk]]) 06:04, 2 April 2014 (UTC)
The example I want to use is to take an arithmetic expression and turn it in to a series of single operations in the right order. So:
<pre>
(one + two) * three + four * five
</pre>
Becomes something like:
<pre>
_a = one + two
_b = _a * three
_c = four * five
_d = _b + _c
</pre>
 
[[User:MagiMaster|MagiMaster]] ([[User talk:MagiMaster|talk]]) 06:0410, 2 April 2014 (UTC)