Towards efficient, typed LR parsers, François Pottier and Yann Régis-Gianas. In ACM Workshop on ML, March 2006.
The LR parser generators that are bundled with many functional programming language implementations produce code that is untyped, needlessly inefficient, or both. We show that, using generalized algebraic data types, it is possible to produce parsers that are well-typed (so they cannot unexpectedly crash or fail) and nevertheless efficient. This is a pleasing result as well as an illustration of the new expressiveness offered by generalized algebraic data types.
Recent comments
13 hours 10 min ago
1 day 10 hours ago
2 days 14 hours ago
2 days 14 hours ago
1 week 15 hours ago
1 week 16 hours ago
1 week 16 hours ago
4 weeks 1 day ago
4 weeks 6 days ago
4 weeks 6 days ago