Skip to Main content Skip to Navigation
Conference papers

Practical Dynamic Grammars for Dynamic Languages

Abstract : Grammars for programming languages are traditionally specified statically. They are hard to compose and reuse due to ambiguities that inevitably arise. PetitParser combines ideas from scannerless parsing, parser combinators, parsing expression grammars and packrat parsers to model grammars and parsers as objects that can be reconfigured dynamically. Through examples and benchmarks we demonstrate that dynamic grammars are not only flexible but highly practical.
Document type :
Conference papers
Complete list of metadata

Cited literature [18 references]  Display  Hide  Download
Contributor : Lse Lse Connect in order to contact the contributor
Submitted on : Sunday, October 28, 2012 - 2:46:18 PM
Last modification on : Tuesday, May 3, 2022 - 11:04:02 AM
Long-term archiving on: : Tuesday, January 29, 2013 - 3:43:59 AM


Files produced by the author(s)


  • HAL Id : hal-00746253, version 1


Lukas Renggli, Stéphane Ducasse, Tudor Gîrba, Oscar Nierstrasz. Practical Dynamic Grammars for Dynamic Languages. 4th Workshop on Dynamic Languages and Applications (DYLA 2010), 2010, Malaga, Spain. ⟨hal-00746253⟩



Record views


Files downloads