Re: AST for several modules

"Daniel C. Wang" <danwang+news@cs.princeton.edu>
20 Jun 2000 02:28:49 -0400

          From comp.compilers

Related articles
AST for several modules Andreas.Ames@Tenovis.com (Andreas Ames) (2000-06-10)
Re: AST for several modules idbaxter@semdesigns.com (Ira D. Baxter) (2000-06-14)
Re: AST for several modules rod.bates@wichita.boeing.com (Rodney M. Bates) (2000-06-14)
Re: AST for several modules cfc@world.std.com (Chris F Clark) (2000-06-14)
Re: AST for several modules iank@idiom.com (2000-06-14)
Re: AST for several modules danwang+news@cs.princeton.edu (Daniel C. Wang) (2000-06-20)
Re: AST for several modules Andreas.Ames@Tenovis.com (Andreas Ames) (2000-06-20)
Re: AST for several modules joachim.durchholz@halstenbach.com.or.de (Joachim Durchholz) (2000-06-20)
Re: AST for several modules vugluskr@unicorn.math.spbu.ru (2000-07-18)
| List of all articles for this month |
From: "Daniel C. Wang" <danwang+news@cs.princeton.edu>
Newsgroups: comp.compilers
Date: 20 Jun 2000 02:28:49 -0400
Organization: Princeton University
References: 00-06-038 00-06-054
Keywords: parse

"Rodney M. Bates" <rod.bates@wichita.boeing.com> writes:
{stuff deleted}
> in tree traversal. Also, there is a large volume of very
> stereotyped, boring code to write, to do the pickling/unpickling.
> You can avoid this by using a language which will do it
> automatically (Modula-3 is the only example I am familiar with),
> or a source code generator, which will generate the pickling
> routines.


<plug>
For example of such a tool.
http://www.cs.princeton.edu/zephyr/ASDL


Check out the newest 2.0beta demo...
http://www.cs.princeton.edu/zephyr/cgi-bin/asdlGen2.cgi
</plug>


I'm in the midst of finishing up graduating, so I have very little
time to work on ASDL these days, but it be great if some ambitious
hacker would be willing to help keep it up to date and maintained.


<btw>
The Java serialization interface also provides similar functionality as the
Modula-3 pickling interface. Python, OCaml and to some extend SML/NJ and
Haskell have similar support. Unfortunately all the various pickle formats
are incompatible, so you can't for instance read Python pickle in Java or
vice versa. This is one problem which ASDL tries to solve.
</btw>


Post a followup to this message

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