Re: Compiler generators that construct abstract syntax tree

belinfan@cs.utwente.nl (Axel Belinfante)
Mon, 17 May 1993 10:22:10 GMT

          From comp.compilers

Related articles
Compiler generators that construct abstract syntax tree wogl@sun11a.zfe.siemens.de (1993-05-12)
Re: Compiler generators that construct abstract syntax tree max@maple.ucsc.edu (1993-05-15)
Re: Compiler generators that construct abstract syntax tree tony@cs.colorado.edu (1993-05-15)
Re: Compiler generators that construct abstract syntax tree markh@csd4.csd.uwm.edu (1993-05-15)
Re: Compiler generators that construct abstract syntax tree belinfan@cs.utwente.nl (1993-05-17)
| List of all articles for this month |

Newsgroups: comp.compilers
From: belinfan@cs.utwente.nl (Axel Belinfante)
Keywords: parse, AST, FTP
Organization: Univ. of Twente, Dept. Informatics, Tele Informatics group
References: 93-05-055
Date: Mon, 17 May 1993 10:22:10 GMT

wogl@sun11a.zfe.siemens.de (Wolfgang Glunz) writes:
|> If not, are there any public packages for creating an AST ?


The termprocessor Kimwitu helps you to do this. You give it the abstract
syntax, and it generates the data types and the create functions to build
the tree. If you use it together with yacc, you call these create
functions from the yacc actions.


In addition to the create functions, you get general functions to test for
equality etc., (among them routines to read and write an abstract syntax
tree in the Synthesizer Generator (asc-ssl-v3) file format). You can
define functions over your abstract syntax using C extended with pattern
matching, and define rewrite rules and unparse rules.


Kimwitu is freely available by anonymous ftp from
ftp.cs.utwente.nl:/pub/src/kimwitu
For more information on Kimwitu, or if you grab it, and want to be
informed of updates, send mail to kimwitu-distribution@cs.utwente.nl.
--
<Axel.Belinfante@cs.utwente.nl> tel. +31 53 893774 fax. +31 53 333815
          University of Twente, Tele-Informatics & Open Systems Group
              P.O. Box 217 NL-7500 AE Enschede The Netherlands
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.