[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 11162)

Jason Hickey jyh at cs.caltech.edu
Fri Jun 29 14:21:32 PDT 2007


On Jun 29, 2007, at 1:58 PM, Aleksey Nogin wrote:

> Now if I use
>    .STATIC: :value: $(foo) :key: $(bar)
>       ...
> then I get in trouble! After parsing I see an AST:

Let me take a look, but here is a quick response.

I did a quick check for normal rules, and it seems to work correctly.

    foo = 2

    a: :value: $(foo) :normal: b
       cp b a

One thing is that for normal rules, the free variables are extracted  
and added as an extra command line.  The free vars approach basically  
the same as #5, except the free vars are computed statically.

>
> I looked at the code and this appears fairly easy to implement. Do  
> you have a preference on which keyword (.MEMO: .LAZY_MEMO: .LAZY:)  
> to use? .LAZY_MEMO: is the most accurate, but is would be nice not  
> to have ugly underscores...

Let's go for .MEMO,

Jason

--
Jason Hickey                  http://www.cs.caltech.edu/~jyh
Caltech Computer Science      Tel: 626-395-6568 FAX: 626-792-4257





More information about the OMake-Devel mailing list