armand0@my-dejanews.com a �crit dans le message <74g8hm$55h$1@nnrp1.dejanews.com>... >Hi , > >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. > >Searching around in the Net, gave me only 1 old ref to the ARCADIA >project (@ Irvine CA) which produced indeed what I want (ayacc + aflex), >but whose code >stems from 1990 and is bound to the Verdix compiler. After several >alterations to the main program it still doesn't compile under gnat >(many system errs such as "Program received signal SIGWINCH, Window size >changed").It's useless for >me as I haven't got that compiler but merely GNAT 3.10p. > There is a port of AFex, AYacc available on my homepage. (this is lex/yacc written in Ada that produces Ada code) Pascal. --|------------------------------------------------------------ --| Pascal Obry Team-Ada Member | --| | --| EDF-DER-IPN-SID- T T I | --| Intranet: http://cln46gb | --| Bureau N-023 e-mail: pascal.obry@edfgdf.fr | --| 1 Av G�n�ral de Gaulle voice : +33-1-47.65.50.91 | --| 92141 Clamart CEDEX fax : +33-1-47.65.50.07 | --| FRANCE | --|------------------------------------------------------------ --| --| http://ourworld.compuserve.com/homepages/pascal_obry --| --| "The best way to travel is by means of imagination"