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 metadatas

Cited literature [18 references]  Display  Hide  Download

https://hal.inria.fr/hal-00746253
Contributor : Lse Lse <>
Submitted on : Sunday, October 28, 2012 - 2:46:18 PM
Last modification on : Thursday, February 21, 2019 - 10:52:50 AM
Long-term archiving on : Tuesday, January 29, 2013 - 3:43:59 AM

File

Reng10cDynamicGrammars.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-00746253, version 1

Citation

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⟩

Share

Metrics

Record views

500

Files downloads

276