home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / programm / 5723 < prev    next >
Encoding:
Text File  |  1992-12-17  |  2.1 KB  |  56 lines

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