Parsing Reflective Grammars. Stansifer, P. & Wand, M. In Workshop on Language Descriptions, Tools, and Applications (LDTA), pages 73-79, Saarbrucken, Germany, March, 2011.
Parsing Reflective Grammars [link]Paper  abstract   bibtex   
Existing technology can parse arbitrary context-free grammars, but only a single, static grammar per input. In order to support more powerful syntax-extension systems, we propose reflective grammars, which can modify their own syntax during parsing. We demonstrate and prove the correctness of an algorithm for parsing reflective grammars. The algorithm is based on Earley's algorithm, and we prove that it performs asymptotically no worse than Earley's algorithm on ordinary context-free grammars.
@InProceedings{StansiferWand:LDTA-11,
  author = 	 {Paul Stansifer and Mitchell Wand},
  title = 	 {Parsing Reflective Grammars},
  abstract =     {Existing technology can parse arbitrary context-free
                  grammars, but only a single, static grammar per
                  input. In order to support more powerful
                  syntax-extension systems, we propose reflective
                  grammars, which can modify their own syntax during
                  parsing. We demonstrate and prove the correctness of
                  an algorithm for parsing reflective grammars. The
                  algorithm is based on Earley's algorithm, and we
                  prove that it performs asymptotically no worse than
                  Earley's algorithm on ordinary context-free
                  grammars.},
  OPTcrossref =  {},
  OPTkey = 	 {},
  booktitle =	 {Workshop on Language Descriptions, Tools, and
                  Applications (LDTA)},  
  pages =	 {73-79},
  year =	 {2011},
  OPTeditor = 	 {},
  OPTvolume = 	 {},
  OPTnumber = 	 {},
  OPTseries = 	 {},
  address =	 {Saarbrucken, Germany},
  month =	 mar,
  OPTorganization = {},
  OPTpublisher = {},
  note =	 {},
  OPTannote = 	 {},
  source = {papers/ldta-11},
  URL = {http://arxiv.org/abs/1102.2003}
}

Downloads: 0