[net.lang.ada] YACC/LEX that produce Ada

blair@lll-crg.UUCP (Gary Blair) (09/25/85)

Here at Lawrence Livermore National Laboratory we have developed a package
similar to YACC/LEX, called LRSYS.  It is available from the National
Energy Software Center.  It's supposed to be 'free' (public domain), but
unfortunately there is a rather substantial distribution fee.    Here is a
summary of the product:

   LRSYS is a complete LR(1) parser generator system written entirely in a
   portable subset of Pascal.  The system, LRSYS, includes a grammar analyzer
   program (LR) which reads a context-free (BNF) grammar as input and produces
   LR(1) parsing tables as output, a lexical analyzer generator (LEX) which
   reads regular expressions created by the REG process as input and produces
   lexical tables as output, and various parser skeletons that get merged with
   the tables by SMAKE to produce complete parsers.  Current parser skeletons
   include Pascal, Fortran 77, C, and LRLTRAN (LLNL's own extended Fortran).


Versions of the program have successfully run on IBM PCs, Vaxen, and CRAY
computers.  We have not yet written an Ada skeleton/Ada SMAKE (need one SMAKE
for each language you wish to have a parser written in).  However, if you
speak both Pascal and Ada, you should have no trouble writing these pieces
yourself.  To obtain the system contact NESC:

  National Energy Software Center
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois 60439
  (312) 972-7250
  The accession number for LRSYS is 9721.



-- 
     Gary J. Blair
     Lawrence Livermore National Laboratory
     P.O. Box 808,  L-300
     Livermore, CA 94550
     (415) 422-6675
     blair@lll-crg.arpa