It's a mistake to ignore the customer
Posted Dec 6, 2012 18:27 UTC (Thu) by
vonbrand (subscriber, #4458)
In reply to:
It's a mistake to ignore the customer by etienne
Parent article:
GNU Guile 2.0.7 released
"Precedence" is a red herring: The precedence of +-*/ is fixed, you can easily place "all others" in one (or two) categories). Yes, C went overboard with its 13 levels; APL went overboard the other way (all operators left associative with the same precedence).
Come on, parsing infix (precedence and all) is ridiculously easy. A nice, top-down parser for C is described in Fraser and Hanson's book on LCC.
(
Log in to post comments)