DocumentCode
3069437
Title
Language specification by multi-axiom grammars
Author
Rus, Teodor ; Le Peau, John P.
Author_Institution
Dept. of Comput. Sci., Iowa Univ., Iowa City, IA, USA
fYear
1988
fDate
9-13 Oct. 1988
Firstpage
110
Lastpage
118
Abstract
Multiaxiom grammars and language, presented as generalizations of context-free grammars and languages, are defined and used as a mechanism for programming language specification and implementation. It is shown how to divide such a grammar into a sequence of subgrammars that generate inductively the language specified by the original grammar. Furthermore, it is shown how to use this sequence of subgrammars for inductive language recognition by a process of tokenizing. Two classes of algorithms for languages parsing based on multi-axiom grammars are developed: an algorithm obtained by generalizing context-free LR-parsers to multi-axiom grammars, and a pattern-matching algorithm that results from the ability to layer a multi-axiom language into levels such that each sublanguage is independent of the language that contains it. The implications of multi-axiom grammars for compiler code generation are briefly discussed.<>
Keywords
context-free grammars; formal specification; high level languages; programming; compiler code generation; context-free LR-parsers; context-free grammars; inductive language recognition; language specification; languages parsing; multi-axiom grammars; pattern-matching algorithm; subgrammars; sublanguage; tokenizing; Cities and towns; Computer languages; Computer science; Formal languages; Formal specifications; Mars; Natural languages; Production; TV; Vocabulary;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Languages, 1988. Proceedings., International Conference on
Conference_Location
Miami Beach, FL, USA
Print_ISBN
0-8186-0874-9
Type
conf
DOI
10.1109/ICCL.1988.13049
Filename
13049
Link To Document