Towards efficient, typed LR parsers. - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Communication Dans Un Congrès Année : 2006

Towards efficient, typed LR parsers.

Résumé

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.
Fichier non déposé

Dates et versions

inria-00629090 , version 1 (05-10-2011)

Identifiants

  • HAL Id : inria-00629090 , version 1

Citer

François Pottier, Yann Régis-Gianas. Towards efficient, typed LR parsers.. ACM Workshop on ML, Mar 2006, Portland, Oregon, United States. ⟨inria-00629090⟩
78 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More