[Omake] Omake for the D programming language SCANNER

Dirk Heinrichs dirk.heinrichs.ext at nsn.com
Thu Feb 14 04:35:28 PST 2008


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.

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs at capgemini.com
Wanheimerstraße 68      | Web:  http://www.capgemini.com
D-40468 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.metaprl.org/pipermail/omake/attachments/20080214/8851bdfe/attachment.bin


More information about the Omake mailing list