TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Jeffrey Carter <[log in to unmask]>
Sun, 11 Mar 2001 20:45:58 -0700
text/plain (15 lines)
Stephane Richard wrote:
> I'm looking for a good detailed example of how to use Ada 95's Lexical
> parser.  I'm familiar with language definition concepts, so all I would like is a
> example (complex or simple, preferably complex) of a parser done in Ada to
> familiarize myself with the syntaxic rules.

You can obtain the sources to GNAT, which contains a fairly complex
parser done in Ada.

Jeff Carter
"Nobody expects the Spanish Inquisition!"
Monty Python's Flying Circus