acess the d parser and compiler from the source code

BCS BCS_member at pathlink.com
Wed Mar 1 09:13:22 PST 2006


For one thing there would be some value in having more than one compiler (as of
now AFAIK ther is only one lexer/parcer in existance).

In article <du3vnq$6j8$1 at digitaldaemon.com>, dennis luehring says...
>
>what about extending the std.compiler module
>
>with an parse(char[] buffer/filename) feature
>why do we need extra parser projects - can't we use the dmd one
>internaly?
>
>import std.compiler;
>token_tree = parse("test.d"); ...
>
>and maybe an internal compile() feature (like java have)
>
>ciao dennis lühring
>
>





More information about the Digitalmars-d mailing list