comp.lang.ada
 help / color / mirror / Atom feed
From: collins@cs.wm.edu (Bob Collins)
Subject: Re: ADA yacc+lex
Date: 1998/12/07
Date: 1998-12-07T00:00:00+00:00	[thread overview]
Message-ID: <collins-0712981103190001@cx832447-a.nwptn1.va.home.com> (raw)
In-Reply-To: 74g8hm$55h$1@nnrp1.dejanews.com

In article <74g8hm$55h$1@nnrp1.dejanews.com>, armand0@my-dejanews.com wrote:

> 1.Does anyone know about some parser generator (kind of yacc+lex)
> that produces code in ADA instead of C? In the same way as
> yacc, I'd like to produce from a BNF description of some my
> language and some semantic actions associated to each rule
> (written in ADA), a LR parser.
> It could also be a higher level tool that inputs some BNF (as is) and
> produces input to yacc+lex.

Check out
   <http://ratbert.cs.wm.edu/tools/lr/>
to see an Ada-composed system to produce Ada code for
LALR(1) parsing of anything. Input is an attribute
grammar, possibly ambiguous. Output is a parser, scanner,
and subprograms to execute synthesized code (for each
production) as well as runtime disambiguation code.

Bob Collins, collins@cs.wm.edu




  parent reply	other threads:[~1998-12-07  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-07  0:00 ADA yacc+lex armand0
1998-12-07  0:00 ` dennison
1998-12-10  0:00   ` Michael F Brenner
1998-12-07  0:00 ` Bob Collins [this message]
1998-12-08  0:00 ` Pascal Obry
1998-12-08  0:00   ` dennison
1998-12-08  0:00     ` David C. Hoos
  -- strict thread matches above, loose matches on Subject: below --
1998-12-07  0:00 tmoran
1998-12-07  0:00 tmoran
1987-09-26  1:24 Ada YACC & LEX jwabik
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox