Related articles |
---|
[Q] Basic Terminology Questions mtp1032@home.com (Michael Peterson) (2001-01-05) |
Re: [Q] Basic Terminology Questions tenkey@my-deja.com (2001-01-06) |
Re: [Q] Basic Terminology Questions rkrayhawk@aol.com (2001-01-09) |
From: | tenkey@my-deja.com |
Newsgroups: | comp.compilers |
Date: | 6 Jan 2001 22:12:56 -0500 |
Organization: | Deja.com |
References: | 01-01-017 |
Keywords: | parse |
Posted-Date: | 06 Jan 2001 22:12:56 EST |
"Michael Peterson" <mtp1032@home.com> 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
terminal.
Nonterminals are names of rules composed of terminals and
nonterminals. They aren't supposed to make references to characters.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.