Arithmetic evaluation: Difference between revisions
Content added Content deleted
(+Icon+Unicon) |
(Hanson's device) |
||
Line 946: | Line 946: | ||
== Icon and Unicon == |
== Icon and Unicon == |
||
A compact recursive descent parser using |
A compact recursive descent parser using Hanson's device. This program |
||
* handles left and right associativity and different precedences, |
* handles left and right associativity and different precedences, |
||
* accepts integers, reals, and radix constants. |
* accepts integers, reals, and radix constants. |
||
Line 1,050: | Line 1,050: | ||
==={{header|Unicon}}=== |
==={{header|Unicon}}=== |
||
This Icon solution works in Unicon. |
This Icon solution works in Unicon. |
||
=={{header|J}}== |
=={{header|J}}== |