Related articles |
---|
How to store an AST salvador@ucseii.edu.ar (Salvador V. Cavadini) (1999-04-30) |
Re: How to store an AST madings@baladi.nmrfam.wisc.edu (Steve Mading) (1999-05-07) |
Re: How to store an AST drh@microsoft.com (Dave Hanson) (1999-05-07) |
Re: How to store an AST mph@zdenka.demon.co.uk (Mike Harrison) (1999-05-09) |
Re: How to store an AST nmh@dialup.nacamar.de (Nils M Holm) (1999-05-16) |
Re: How to store an AST WN.Jacobs@net.HCC.nl (Willy Jacobs) (1999-05-16) |
From: | "Salvador V. Cavadini" <salvador@ucseii.edu.ar> |
Newsgroups: | comp.compilers |
Date: | 30 Apr 1999 23:00:31 -0400 |
Organization: | Compilers Central |
Keywords: | design, question, comment |
Hi,
I'm programming a front-end for a tool and I need to store in disk the
AST produced by the parser. The rest of the tool will randomly access
the AST's nodes. I would be greatful if someone can recommend an
efficient way for store the AST.
Thanks,
Salvador Cavadini
salvador@ucseii.edu.ar
Universidad Católica de Santiago del Estero
ARGENTINA
(www.ucse.edu.ar)
[Unless it's the world's most enormous AST, I'd just slurp it in from
disk, use it in main memory, then write it back out if it's changed.
-John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.