home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!mcsun!julienas!nenufar.saclay.cea.fr!soleil!basile
- From: basile@soleil.serma.cea.fr (Basile STARYNKEVITCH)
- Subject: Re: Using yacc several times.... (FAQ?)
- Sender: @nenufar.saclay.cea.fr
- Message-ID: <1992Dec17.115850.46713@nenufar.saclay.cea.fr>
- Date: Thu, 17 Dec 1992 11:58:50 GMT
- Lines: 30~
- Reply-To: basile@soleil.serma.cea.fr (Basile STARYNKEVITCH)
- References: <1992Dec16.161102.8123@tolten.puc.cl>
- Nntp-Posting-Host: soleil-gw.serma.cea.fr
- Organization: Commissariat a l Energie Atomique
- Keywords: Syntax analysis.
-
- In article <1992Dec16.161102.8123@tolten.puc.cl>, coryan@mat.puc.cl (Carlos O'Ryan Lira) writes:
- |> Hi,
- |> I haven't found a FAQ, so if this is on it please let me know.
- |> I want (need) to use several grammars on the same programs,
- |> --
- |> Carlos O'Ryan Lira
- |> Departamento de Matematicas, Pontificia Universidad Catolica de Chile
- |> E-mail: coryan@mat.puc.cl, coryan@numero1.puc.cl
-
-
- I think that bison (public software from GNU) is a better choice than
- yacc (since it have a prefix options, and also public -and user setable-
- skeleton files).
-
- A better choice, in my opinion, is to use PCCTS
- (Purdue univ Compiler Compiler Tools System). This is publicly
- available, either by ftp or by email to pccts@ecn.purdue.edu.
-
- PCCTS is not a clone of Yacc and Lex, but is another system. Its specific features are:
-
- * Powerful LL(k) parsing (with k>1 if needed, in practice, it
- is more powerful than yacc, although in theory LL(k) is smaller than
- LALR(1)).
-
- * EBNF (with * and + syntax operators) syntax description.
-
- * Lexical and syntaxical analysis are integrated. Lexicon and Syntax
- is described in the same file.
-
- * Support of multiple grammars.
-
- * Support of abstract syntax trees.
-
- --
- Basile STARYNKEVITCH
- Commissariat a l Energie Atomique
- DRN/DMT/SERMA * C.E. Saclay bat.470 * 91191 GIF/YVETTE CEDEX * France
- fax: (33) 1- 69.08.23.81; phone: (33) 1- 69.08.40.66
- email: basile@soleil.serma.cea.fr; homephone: (33) 1- 46.65.45.53
- N.B. Any opinions expressed here are solely mine, and not of my organization.
- N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.
-