A gentle critque..
Walter Bright
newshound at digitalmars.com
Mon May 15 23:37:39 PDT 2006
Ben Cooley wrote:
> Elsa seems to do a pretty good job for us.. and we've got some pretty
> complicated template usage. But you really need little more than the sort of
> parser used to create documentation, or to view the class hierarchy. You don't
> need to parse any actual code, just definitions. Swig is a good example.
I've never heard of Elsa, but I bet I can break it <g>.
> As for the preprocessor, all C compilers come with their own already, so that's
> really not a major problem. A D pass to extract macros first, then a
> preprocessing pass by the real Cpp compiler, then a declaration parsing pass.
That might work, but it's quite a lashup.
More information about the Digitalmars-d
mailing list