TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Content-Transfer-Encoding: 7bit
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Jeffrey Carter <[log in to unmask]>
Date: Sun, 11 Mar 2001 20:45:58 -0700
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Reply-To: Jeffrey Carter <[log in to unmask]>
Parts/Attachments: 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