home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / archives / 3761 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  5.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!agate!agate!usenet
  2. From: parrt@ecn.purdue.edu (Terence J Parr)
  3. Newsgroups: comp.archives
  4. Subject: [comp.compilers] PCCTS: release 1.06
  5. Followup-To: comp.compilers
  6. Date: 14 Dec 1992 08:16:55 GMT
  7. Organization: Compilers Central
  8. Lines: 134
  9. Sender: adam@soda
  10. Approved: adam@soda
  11. Distribution: world
  12. Message-ID: <1ghftnINNla7@agate.berkeley.edu>
  13. References: <92-12-033@comp.compilers>
  14. Reply-To: parrt@ecn.purdue.edu (Terence J Parr)
  15. NNTP-Posting-Host: soda.berkeley.edu
  16. X-Original-Newsgroups: comp.compilers
  17. X-Original-Date: Tue, 8 Dec 1992 23:54:13 GMT
  18.  
  19. Archive-name: auto/comp.compilers/PCCTS-release-1-06
  20.  
  21.     The latest release of The Purdue Compiler Construction Tool Set,
  22. PCCTS 1.06, is now available.  This release is a bug fix and feature
  23. update, but does not constitute a major release; hence, the manual has not
  24. been updated (a description of the new features is available in TROFF,
  25. Postscript, and text formats).  The original manual, describing PCCTS
  26. 1.00, was published in ACM SIGPLAN Notices publication (Vol 27, No 2, Feb
  27. 1992) and is available with the latest release.
  28.  
  29.     For those not familiar with PCCTS, it is similar to a highly
  30. integrated version of YACC and LEX; where ANTLR (ANother Tool for Language
  31. Recognition) corresponds to YACC and DLG (DFA-based Lexical analyzer
  32. Generator) functions like LEX.  However, PCCTS has many additional
  33. features which make it easier to use for a wide range of translation
  34. problems.  PCCTS is also in the public domain, that is, we reserve no
  35. legal rights to the software.
  36.  
  37.     PCCTS grammars contain specifications for lexical and syntactic
  38. analysis, semantic predicates, intermediate-form construction and error
  39. reporting.  Rules may employ Extended BNF (EBNF) grammar constructs and
  40. may define parameters, return values and local variables.  Languages
  41. described in PCCTS are recognized via LL(k) parsers constructed in pure,
  42. human-readable, C code.
  43.  
  44. For those users with anonymous FTP access: THE SITE HAS CHANGED TO:
  45.  
  46.                  marvin.ecn.purdue.edu (128.46.179.151)
  47.  
  48. in the directory:
  49.  
  50.                  pub/pccts/1.06
  51.  
  52.     For those without ftp access, contact our mail server at
  53. pccts@ecn.purdue.edu.  A missing or undecipherable "Subject:" line will
  54. cause the system to reply with email explaining how to use the server.
  55. However, the following sequence of mail commands (on a UNIX system) is
  56. sufficient to receive all files needed to install PCCTS on your system:
  57.  
  58.              mail -s 'email README' pccts@ecn.purdue.edu
  59.              mail -s 'email UPDATE106.ms' pccts@ecn.purdue.edu
  60.              mail -s 'email install' pccts@ecn.purdue.edu
  61.              mail -s 'email one.c' pccts@ecn.purdue.edu
  62.              mail -s 'email pccts.bag' pccts@ecn.purdue.edu
  63.  
  64. Note that non-UNIX users will have to get files install.bag.reqd and
  65. unbag.c in addition.  See the README file for details.
  66.  
  67.     The old ftp site still exists, but will not be updated.  Only the
  68. new ftp site (or email) should be used for bug fixes, new releases, etc.
  69.  
  70.     Items of note in the new version:
  71.  
  72. o Predicated Parsing--PCCTS now has the ability to allow semantics
  73.   (arbitrary C expressions) to influence parsing; hence, context-
  74.   sensitive translators may now be specified.  THIS FEATURE IS AN
  75.   ALPHA RELEASE VERSION.
  76.  
  77. o ANTLR/DLG should compile without modification using either K&R or
  78.   ANSI compilers.  It can be compiled with GCC 1.37 and 2.2 with
  79.   -pedantic option (ANSI with extreme prejustice).  DOS and OS/2 even
  80.   like it.
  81.  
  82. o 1.06 is written in itself: 1.00 or higher.
  83.  
  84. o The PCCTS source grammar files, antlr.g and dlg_p.g, are distributed
  85.   with the 1.06 release
  86.  
  87. o A C program to generate makefiles for PCCTS projects
  88.  
  89. o DLG supports case insensitive scanners
  90.  
  91. o PCCTS can now delay lookahead until absolutely necessary whereas,
  92.   before, parsers always maintained a buffer of k tokens of lookahead.
  93.  
  94. o Tutorials are available -- beginning and advanced
  95.  
  96. o Error messages for k>1 are vastly improved
  97.  
  98. o The trace facility now has an exit macro
  99.  
  100. o One can limit the amount of resources available to ANTLR grammar
  101.   analysis to overcome the rare occurrences when ANTLR does not
  102.   terminate.
  103.  
  104. o PCCTS parsers may now be compiled with C++ (tested with GCC 2.2)
  105.  
  106. If you are interested in sharing your experiences/problems/successes/
  107. suggestions regarding PCCTS, please send email to parrt@ecn.purdue.edu (a
  108. human).  Many people ask what others are doing, but no one tells us what
  109. they are doing.  Also, feel free to post messages to the comp.compilers
  110. newsgroup if you have grammars/tools that might prove useful to others.
  111.  
  112.  
  113.                        WHO USES PCCTS?
  114.  
  115.     Although we will not make public the list of users of the PCCTS
  116. email server, we thought you might be interested in a few statistics about
  117. who is using PCCTS.  Note that this does not include users who simply
  118. access our ftp site, any mirror site, Compuserve, or BIX; neither does it
  119. include those who purchase PCCTS from Austin Code Works.
  120.  
  121. This information was obtained using a (not very clever) shell script
  122. on Dec.  4, 1992:
  123.  
  124. Site count:      625 total
  125. Known types:     171 .edu, 168 .com, 11 .gov, 11 .org, 6 .mil
  126.  
  127. Site countries:  439 US; 186 foreign:
  128.  
  129.   32 Germany, 21 Australia, 20 UK, 19 Canada, 9 Sweden, 9 Holland, 7
  130.   France, 7 Finland, 5 South Africa, 5 Japan, 5 Austria, 4 Portugal, 4
  131.   Norway, 4 New Zealand, 4 Greece, 4 Denmark, 3 Korea, 3 Italy, 3
  132.   Ireland, 3 India, 3 Commonwealth of Independent States, 2 Hong Kong,
  133.   2 China, 2 Belgium, 1 Singapore, 1 Mexico
  134.  
  135.  
  136.                         OTHER INFO
  137.  
  138. A few universities are using PCCTS in compiler courses.
  139.  
  140. Mirror sites include src.doc.ic.ac.uk, where PCCTS is available in:
  141. /computing/programming/languages/tools/pccts/1.06
  142.  
  143.  
  144. The Authors of The Purdue Compiler Construction Tool Set:
  145.  
  146.   Terence J. Parr, parrt@ecn.purdue.edu
  147.   Will E. Cohen,   cohenw@ecn.purdue.edu
  148.   Henry G. Dietz,  hankd@ecn.purdue.edu
  149. -- 
  150. Send compilers articles to compilers@iecc.cambridge.ma.us or
  151. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  152.  
  153.