Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on We Need to Know LR and Recursive Descent Parsing Techniques. Parent comment
David R. Hanson, "Compact Recursive-descent Parsing of Expressions", 1985
https://drhanson.s3.amazonaws.com/storage/documents/compact....
There are languages (such as ML) that allow the definition of new operators with a choice of precedence and associativity. Using a table like the one Hanson suggests and modifying it at compile-time is an obvious way to handle that feature.
There are no comments on this comment yet.
David R. Hanson, "Compact Recursive-descent Parsing of Expressions", 1985
https://drhanson.s3.amazonaws.com/storage/documents/compact....
There are languages (such as ML) that allow the definition of new operators with a choice of precedence and associativity. Using a table like the one Hanson suggests and modifying it at compile-time is an obvious way to handle that feature.