User Tools

Site Tools


at:tutorial:metaprogramming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
at:tutorial:metaprogramming [2007/10/08 13:27] – * tvcutsemat:tutorial:metaprogramming [2008/08/01 14:31] – * tvcutsem
Line 195: Line 195:
 >read: "1+2" >read: "1+2"
 >>1.+(2) >>1.+(2)
->eval: `(1+2) in: self+>def result := eval: `(1+2) in: self
 >>3 >>3
->print: self +>print: result 
->>"<object:8322247>"+>>"3"
 </code> </code>
  
Line 205: Line 205:
 <code> <code>
 >def o := object: { def x := 4 } >def o := object: { def x := 4 }
->><object:3281169>+>><obj:{super,super:=,x,x:=}>
 >eval: `x in: o >eval: `x in: o
 >>4 >>4
 </code> </code>
at/tutorial/metaprogramming.txt · Last modified: 2009/11/21 07:44 by tvcutsem