[Omake] SVN Commit: OMake Build System (Rev. 10740)

Aleksey Nogin nogin at metaprl.org
Mon May 14 10:36:03 PDT 2007


On 14.05.2007 10:05, Aleksey Nogin wrote:

> A temporary hack of 0.9.8.2 only: in AST-TO-IR conversion, recognize the
> ".STATIC:" section header as if it was "static. =". This is a HACK that is
> meant to add a limited form of forward-compatibility with the upcoming
> 0.9.8.3+ syntax.
> 
> ----
> Changes:
>     +14 -1	omake-branches/0.9.8.2/src/env/omake_ir_ast.ml
>  
> A hyperlinked version of this commit is available at
> http://svn.metaprl.org/commitlogs/omake/2007-05.html#07/05/14.10:05:28

Jason,

Is this a reasonable thing to do? It's obviously a big HACK, but not a 
one that we'd have to tolerate for long. I think if the syntax is about 
to change even within the 0.9.8.x version series, we'd better add at 
least some minimal forward compatibility...

On the other hand, I am not sure I completely agree with the syntax you 
chose to implement. The current syntax is

.STATIC: dependencies
    definitions (implicitly declare?)

while the one we've discussed before (and I still think might be a 
better idea) is

.STATIC: declarations: dependencies
    definitions

Aleksey


More information about the OMake-Devel mailing list