Hi All,<div><br></div><div>    in working on Cog I need the concept of &quot;here class&quot;, the class of the current method.  Analogous to super, where a lookup starts above the class of the current method, here class is the class of the current method.  if you&#39;re for example collecting sets of selectors for translation to C then you need to talk about the selectors of this method&#39;s class, not the selectors of some subclass which may simply extend the base class a little.</div>
<div><br></div><div>One clumsy implementation is the following</div><div><br></div><div>    thisContext method methodClass</div><div><br></div><div>which one might use as in</div><div><br></div>    thisContext method methodClass theNonMetaClass selectors do: [:sel| ...<div>
<br></div><div>Given this isn&#39;t important enough to change the language and add a new pseudo-variable such as hereClass I just want to add it to ContextPart, e.g.</div><div><br></div><div>    thisContext thisClass</div>
<div><br></div><div>Anyone done this before, and if so what did you call it?</div><div>Anyone have strong opinions on the selector (not the technique; needs must when Slang drives)?</div><div>Anyone have strong opinions on whether I add this as a kernel method or just keep it as a VMMaker extension?</div>
<div><br></div><div>Best</div><div>Eliot</div>