at:tutorial:reflection
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
at:tutorial:reflection [2007/07/13 10:15] – jorge | at:tutorial:reflection [2007/07/13 10:24] – jorge | ||
---|---|---|---|
Line 34: | Line 34: | ||
===== Mirages ===== | ===== Mirages ===== | ||
- | Extending the AmbientTalk core language involves adding objects which have a different implementation for some of the default meta-operations. In this part of the tutorial we describe how a programmer could define objects which allow for the dynamic addition of unknown methods and fields. First of all, we need to create a mirror instance which we can use to create new objects from. This can be performed using the '' | + | Extending the AmbientTalk core language involves adding objects which have a different implementation for some of the default meta-operations. In this part of the tutorial, we describe how a programmer could define objects which allow for the dynamic addition of unknown methods and fields. First of all, we need to create a mirror instance which we can use to create new objects from. This can be performed using the '' |
< | < | ||
Line 52: | Line 52: | ||
</ | </ | ||
- | This mirror overrides the default implementation of the meta-operation '' | + | This mirror overrides the default implementation of the meta-operation '' |
< | < |
at/tutorial/reflection.txt · Last modified: 2010/11/16 16:32 by tvcutsem