[Omake] Omake for the D programming language SCANNER

Susanne Lietz nanali at wanadoo.fr
Mon Feb 18 01:56:59 PST 2008


Dirk Heinrichs schrieb:
> 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
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
>   
Hello Dirk,
First of all I've to excuse  myself  for answering that late , I need 
that weekend to do some home impovements.

Unfortunately the D compiler has no switch to output dependency 
information. So your perl script  can't help.
That's why I am looking for an alternate build tool like OMake.
My fault : I have to be more precise. So:
What I'd like to have is a single build tool which is powerfull enough 
to do the job without the need for additional scripting languages, and 
without requireing a long chaine of tools like GNU for instance. further 
D code can be ansi, utf87 and utf16  and even beeing embedded into HTML.
OMake seems "regardless the problems"  to be a good choice and   I still 
wonder whether built-in awk is fast and good enough to do the job.
Fast and good enough, because we are going to port the Eclipse SWT stuff 
into D (we have a pretty useable alpha right now) but I guess you can 
imagine that an approved build utility is more than welcome.

//Beside our current build tool is using the complete compiler front 
end, which is, simply said, Overkill

Thanks for your help Dirk;
Bjoern (France.)

Off topic.
Have seen your web site. I am working on a realtime 
developer-collaboration IDE, using RDBMS  instead of traditionell SCMs 
like CVS,Mercurial etc.
as said based on a database +async. communication... to enable pair or 
multi pair realtime programming/communication. In case that it is a 
matter of interrest, just contact me. I speak german and french, and as 
you may have noticed, a pretty lousy english. :(
Bjoern

 
 



More information about the Omake mailing list