Re: anything more convenient then bison/yacc?

"Basile Starynkevitch \[news\]" <basile-news@starynkevitch.net>
5 Aug 2004 14:17:22 -0400

          From comp.compilers

Related articles
anything more convenient then bison/yacc? khamenya@mail.ru (2004-07-28)
Re: anything more convenient then bison/yacc? cfc@shell01.TheWorld.com (Chris F Clark) (2004-08-04)
Re: anything more convenient then bison/yacc? basile-news@starynkevitch.net (Basile Starynkevitch \[news\]) (2004-08-05)
Re: anything more convenient then bison/yacc? rich@pennware.com (Richard Pennington) (2004-08-09)
| List of all articles for this month |
From: "Basile Starynkevitch \[news\]" <basile-news@starynkevitch.net>
Newsgroups: comp.compilers
Date: 5 Aug 2004 14:17:22 -0400
Organization: http://starynkevitch.net - Ours
References: 04-07-076
Keywords: parse, tools
Posted-Date: 05 Aug 2004 14:17:22 EDT

Le 28-07-2004, Valery <khamenya@mail.ru> a écrit :
> Hi all,
>
> I am wondering if there are some newer reliable engines
> similar to yacc/bison, but with more syntactic sugar and
> wider class of the grammars.
>
> In particular some ideas/notions of regular expression
> would be fine. For example, something like:
>
> e? Matches element e in brackets zero or one times
> e* Matches element e in brackets zero or more times
> e+ Matches element e in brackets one or more times


You should consider using PCCTS (or ANTLR), http://www.antlr.org/ or
maybe the COCOM kit http://cocom.sourceforge.net/


If you want to code your compiler or parser in Ocaml
http://caml.inria.fr, you might consider using its Camlp4 - which
provide syntax extensions to write parsers;


However, you might have some issues with semantic processing
(i.e. handling of attributes).


Regards.


--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net
aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net
8, rue de la Faïencerie, 92340 Bourg La Reine, France



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.