[comp.lang.ada] >> RE: Lex and Yacc for Ada

linnig@skvax1.csc.ti.com (Mike Linnig) (04/19/89)

Paul Bailes asks:
> can you tell me whether there exist compiler-compilers (e.g. of the Yacc-Lex, or
> even GAG kind) that use Ada (as opposed to e.g. C) as the host language?
> [...] 
> If so (in either of the above cases), what is their availability?

We've just received ALEX and AYACC from the Arcadia Project at
UC Irvine.  These tools generate Ada source (just as their namesakes
generated C source).  The input formats are similar.  Nicest of
all, they ship source code in Ada.

They also ship an LALR(1) grammer for Ada (based on NYU-ADAED?).
Sorry, no action routines though.

We compiled the tools with DEC Ada (for VAXs).  They seem to
work as described (although we have not tested them thoroughly).
When compiled with Verdix Ada (on Sun4's) ALEX uncovers a compiler
bug.

All this for $75 (actually, they ship three other tools too).

	Mike Linnig

ps. Here is the original announcement...
  ----------------------------------------

From: kari@jasmin.ics.uci.EDU
Newsgroups: comp.lang.ada
Subject: alex/ayacc -- UCI Arcadia release
Message-Id: <2608.584402247@jasmin.ics.uci.edu>
Date: 8 Jul 88 21:57:27 GMT

  The Arcadia Project at University of California, Irvine  announces the 
  release of two software tools, alex and ayacc. Future releases of these 
  and many other tools/packages are forthcoming.
  
		      ---------------------------

  The UCI Arcadia Software Distribution Package 1.0 contains the following.
  
  alex: a lexical analyzer generating tool written in Ada and generating
        Ada code.  Alex is  modeled after the popular Unix tool, lex.
  
  ayacc : a parser generating tool written in Ada and generating
      Ada code.  Ayacc is modeled after the popular Unix tool, yacc. 
  
  Both tools run under Berkley Unix 4.2 or VAX VMS operating systems.

  Requests should be directed to UCI Computing Facility. (see below)

  For information about the tools themselves, please send email to

      
		      alex-info@ics.uci.edu
                      ayacc-info@ics.uci.edu

  or write to

                         Arcadia Project
            Department of Information and Computer Science
                     University of California
                          Irvine, CA 92717

  In addition, this package includes Arcturus, an Ada interpreter
  system developed at UCI under the Programming Environment Project
  headed by Professor Thomas Standish. The Arcturus software is included 
  with this release because a substantial amount of interest in the ideas 
  it pioneered still exists.  This software is no longer supported, and 
  is included here with that understanding.  Two versions of the system
  are provided.

  Arcturus 1.7: includes a PDL/Rapid Prototyping subsystem.
                runs on VAX machines.
  
  Arcturus 3.4: runs on both VAXes and SUNs. 
                includes most of Ada tasking, but not the PDL system.

  Both versions run under Berkley Unix 4.2.
  

		      ---------------------------
  

  Interested parties will be asked to sign a license agreement, available 
  from the UCI Computing Facility.  The release package will include the 
  above mentioned items on a 1/2" magnetic tape (6250bpi/TAR format) as 
  well as user manuals and installation instructions.  A fee of $75,
  payable to UC Regents, will be charged to cover costs and handling.  
  (cartridge tapes and alternate bpi's can be arranged with the Computing 
   Facility but may require an adjusted fee.)
  
  
  If you are interested in obtaining this package, please contact
  

                        Computing Facility
		       360 Computer Science
		    Attn: Arcadia Distribution
		     University of California
		         Irvine, CA 92717

			 (714) 856-5153

  or send email to

		    arcadia-software@ics.uci.edu