CONTEXT 2003: Modeling and Using Context pp 475-482 | Cite as
Exploiting Dynamicity for the Definition and Parsing of Context Sensitive Grammars
Abstract
Classical Context Sensitive languages can be parsed by dynamically adding or removing production rules from the rules set. The grammar is modified according to the context, and evolves during parsing, allowing to take the context into consideration at the syntactical level and not in a separate semantic analysis. This approach has proven greater flexibility in the definition of programming languages, improving the readability and maintenability of program codes and the general usability of the language, thus improving the human-computer interaction. Examples of implementation of classical context sensitive languages as well as examples derived from practical applications are provided.
Keywords
Programming Language Production Rule Program Code Context Free Grammar Input StringPreview
Unable to display preview. Download preview PDF.
References
- 1.Aho A.V., Sethi R., Ullman J.D., “Compilers: Principles, Techniques, and Tools”, Addison-Wesley, 1986Google Scholar
- 2.“Yacc: Yet Another Compiler-Compiler”, http://www.combo.org/lex_yacc_page/yacc.html
- 3.Cabasino S., Paolucci P.S., Todesco G.M., “Dynamic Parsers and Evolving Grammars”, ACM SIGPLAN Notices 27, 1992Google Scholar
- 4.Panizzi E., “APEmille: a parallel processor in the teraflop range”, Nucl. Phys. Proc. Suppl. 53:1014–1016, 1997CrossRefGoogle Scholar
- 5.Panizzi E., Sacco G., “The APEmille project”, Lecture Notes in Computer Science, High Performance Computing and Networking, HPCN2000Google Scholar
- 6.Cabasino S., Paolucci P.S., Panizzi E., Todesco G.M., “A Parallel Digital Signal Processing Language, Specialized for Seismic Migration, Built with Evolving Grammars”, 1999Google Scholar
- 7.Bartoloni A. et al., “The Software of the Ape100 Processor”, International Journal of Modern Physics C, 4 (1993) 969–976CrossRefGoogle Scholar
- 8.“DBQ: Quadrics Symbolic Debugger”, Alenia Spazio — Quadrics, http://www.casaccia.enea.it/APE100/documents/Dbq/dbq_man.ps
- 9.OpenZz Project Homepage on SourceForge, http://openzz.sourceforge.net
- 10.
- 11.Cabasino S., Dautilia R., Paolucci P.S., Todesco G.M., “The TAO Language”, Alenia Spazio — Quadrics, http://www.casaccia.enea.it/APE100/documents/Tao/taolng.ps