![]() |
![]() |
![]() |
![]() |
Many of our computer mini-language grammars are defined using Extended Backus Naur Form (EBNF) as defined by the Eli Compiler Construction System. Such a grammar consists of several productions, and each production consists of a symbol, a colon, and the sequence that can replace that symbol. The symbol on the left hand side of a production is called a nonterminal, since it gets replaced in the production by a sequence of other symbols. There are also terminal symbols that represent simple strings of characters that are recognized by the lexical analyzer such as integers, identifiers (variable names) or literals, which are explicit character strings that are matched exactly ( e.g. operators like '+' or keywords like 'else' ). In our web documentation of these grammars, nonterminal and terminal symbols on the right hand side of a production are shown with a link to their production or definition. Literals (keywords) are shown as words without a link or as a quoted string of characters. ( e.g. ';' ). Within a production there are various special characters:
For more information on EBNF, Compiler Design or Eli, please contact Norton or visit the Eli Web Site. |
last updated: Tue Feb 6 14:21:19 2007 | webmaster@huarp.harvard.edu |
Copyright 2006 by the President and Fellows of Harvard College | |
[tour] [people] [missions] [publications] [technology] [links] [sitemap] |