[Omake] Omake for the D programming language SCANNER
Aleksey Nogin
nogin at metaprl.org
Thu Feb 14 17:11:28 PST 2008
On 14.02.2008 04:35, Dirk Heinrichs wrote:
> Am Donnerstag, 14. Februar 2008 schrieb ext Susanne Lietz:
>> Hello, I am a OMake newbie and I am trying to use this tool for D.
>> One of the problems I can't solve is to implement the SCANNER
>>
>> D has a module concept similar to Modula, except that D don't support
>> nested modules.
>> D is simmilar to C++ exept that D has no preprocessor.
>
> I was already thinking about adding D support to my build system, but didn't
> do so, yet.
>
> What you write sounds similar to Ada. I do Ada builds with OMake and use a
> perl script as scanner. This script calls the Ada compiler with a special
> option which causes it to output dependency information, parses this output
> and transforms it into Omake syntax.
>
> If the D compiler has a similar mode, you could use my script as a model to
> start with. You would need to change the compiler call and the regex used
> for transforming the output.
Susanne,
Dirk's OMake scripts can be found at
http://bugzilla.metaprl.org/show_bug.cgi?id=608
Aleksey
More information about the Omake
mailing list