On 06.11.2012 20:21, Ryan Macnak wrote:
> On Tue, Nov 6, 2012 at 12:01 PM, Jan Sinschek <
sro...@googlemail.com
> <mailto:
sro...@googlemail.com>> wrote:
>
> trying to learn how Newspeak manages to pretend mixins and virtal
> classes through Smalltalk entities.
>
>
> As of Oct 2011, Newspeak classes and mixins are no longer represented as
> Squeak classes. Newspeak classes and mixins are represented as instances
> of the classes in Kernel.
Ah, that's how it all connects... Thank you! So, one thing I still
wonder about is that in compileUnit: the last lines are:
mixinMirror:: builder install.
klass:: mixinMirror reflectee apply: NSObject withName: mixinMirror
simpleName.
(*klass :A Newspeak class*)
Smalltalk at: klass name put: klass.
klass category: mixinMirror reflectee definingClass category.
blackMarket SystemOrganization classify: klass name under: klass
category.
Does Smalltalk really need the klass (a Kernel`Class referencing its
MetaClass) in its globals-dictionary? Is that obsolete code?
compileUnit: is apparently only reached when I do 'compile file' through
the IDE (and through some seemingly deprecated toNS3-converter).
> 3) Aggressive garbage collections through the squeak console seem to
> break a running debugger session.
>
>
> 'Garbage Collect Aggressively' calls NsToolSet releaseMemory, which
> involves releasing any processes held by the debugger. The UI should be
> updated to reflect this.
should I file a bug?
Thank you again,
jan