|[Q] Basic Terminology Questions email@example.com (Michael Peterson) (2001-01-05)|
|Re: [Q] Basic Terminology Questions firstname.lastname@example.org (2001-01-06)|
|Re: [Q] Basic Terminology Questions email@example.com (2001-01-09)|
|Date:||6 Jan 2001 22:12:56 -0500|
|Posted-Date:||06 Jan 2001 22:12:56 EST|
"Michael Peterson" <firstname.lastname@example.org> wrote:
> For example, in the JavaCC distribution there is a very simple
> grammar called Simple1. In the description of this grammar (and the
> others, also), the words "terminals" and "non-terminals" are used to
> name what, to my naive eye, look like, well, simple rules.
What's confusing you is that there are two levels of rules.
One level defines character sequences as a symbol. This symbol is a
Nonterminals are names of rules composed of terminals and
nonterminals. They aren't supposed to make references to characters.
Return to the
Search the comp.compilers archives again.