Re: Automatically generating ASTs with XML markup

Joel Jones <jones@cs.ua.edu>
30 Dec 2004 01:03:59 -0500

          From comp.compilers

Related articles
Automatically generating ASTs with XML markup mcollado@fi.upm.es (Manuel Collado) (2004-12-29)
Re: Automatically generating ASTs with XML markup dido@imperium.ph (Rafael 'Dido' Sevilla) (2004-12-30)
Re: Automatically generating ASTs with XML markup Juergen.Kahrs@vr-web.de (=?ISO-8859-1?Q?J=FCrgen_Kahrs?=) (2004-12-30)
Re: Automatically generating ASTs with XML markup demakov@ispras.ru (Alexey Demakov) (2004-12-30)
Re: Automatically generating ASTs with XML markup jones@cs.ua.edu (Joel Jones) (2004-12-30)
| List of all articles for this month |

From: Joel Jones <jones@cs.ua.edu>
Newsgroups: comp.compilers
Date: 30 Dec 2004 01:03:59 -0500
Organization: Compilers Central
References: 04-12-149
Keywords: analysis, XML
Posted-Date: 30 Dec 2004 01:03:56 EST

>I'm trying to grab the abstract syntax of several code samples in
>several different languages by using an XML representation.


My student, Crutcher Dunnavant, has written a tool that solves exactly
this problem. Given a lexer/parser specification in XML, through a
series of XSL transformations it produces a C or Java lexer and parser
that produces an XML tree. The specification can include
user-specified tree rewrites to modify the concrete syntax tree into
an AST. The URL for the tool is at:


      http://monket.samedi-studios.com/software/turtles/


Joel Jones jones@cs.ua.edu
Department of Computer Science http://cs.ua.edu/~jones
University of Alabama (205) 348-1618


Post a followup to this message

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