Compiling DMD parser?
Markus Koskimies
markus at reaaliaika.net
Sun Jul 13 22:45:59 PDT 2008
On Mon, 14 Jul 2008 12:31:39 +0800, davidl wrote:
> err, i didn't maintain the trunk/d1.0/dparser/dmd/main.d and surely the
> d2.0 branch also not maintained at the moment.
>
> use d1.0/test_dparser
>
> It shouldn't segfault. std.stdio has been parsed a lot of times here :)
> It's a good start from there I think
Yes, that worked :)
Sorry to use unmaintained things, but there is such a little information
written in that package :) I just took first file I saw containing main,
after I had written a somewhat functional Makefile :)
But that does not solve my problem to determine, which kind of statement
type there is in the tree; I can currently extract only those, which have
isXXXX functions in the Statement class.
More information about the Digitalmars-d
mailing list