Accessing the Interpreters variables from a Plugin

Tim Rowledge tim at sumeru.stanford.edu
Sun Nov 16 18:14:45 UTC 2003


Bryce Kampjes <bryce at kampjes.demon.co.uk> wrote:

> The problem is I really need access to internal variables.
> 
> For the interpreter using an internal plugin as Andreas suggests
> sounds like the best idea. Exupery needs to modify the message
> dispatch code anyway to call compiled methods. But for the tests it
> would be nice if they could be used for normal interpreter development
> as well.
Making an internal-only plugin seems like a plausible idea so long as
we make sure to document it as such. Another alternative would be to put
the code in the 'normal' VM code and wrap it in DEBUG defines. If it is
supposed to be generally useful then it should be easily useful.


tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- Could be considered a plant if he developed
photrophic motility.



More information about the Squeak-dev mailing list