3.0.1
Build fails creating gst-tool with --enable-jit
When enabling jit, build fails on stock Ubuntu 7.10:
creating gst-tool
touch ./kernel/stamp-classes
./gst --no-user-files --kernel-dir="/home/tkack/Sources/smalltalk/kernel" --image="/home/tkack/Sources/smalltalk/gst.im" -iQ /dev/null
BlockClosure new "<0x402b1a48>" did not understand selector #value:
(ip 22)OrderedCollection(SequenceableCollection)>>#do:
(ip 28)Array(SequenceableCollection)>>#replaceFrom:to:with:
(ip 18)OrderedCollection(Collection)>>#asArray
(ip 4)Class class(Behavior)>>#parseVariableString:
(ip 4)Class class(Behavior)>>#parseInstanceVariableString:
Emacs mode glitch (keeps going back to interactor window)
Hi,
I use the Emacs interactor (I am used to Lisp and SLIME), and there seems to be a problem: if I put the cursor after a chunk of code and hit C-c d, the code is sent to GNU Smalltalk (good!), but then the cursor switches to the gst-mode window, so I have to keep going back to the editing window all the time...
If some people prefer the current behavior, then maybe it could be configurable?
Thanks,
J.
smalltalk-mode.el not good with old syntax
Hello.
I have some files that I created using the old syntax of GNU Smalltalk. With GNU Smalltalk 3.0.1, I can't easily edit those files anymore.
The new command, smalltalk-bang, doesn't seem to work with files using the old syntax.
A silly example:
<pre>!Object methodsFor: 'stuff'!
"Newton method for swuare roots -- this is the iterating part."
newtonIterate: n | newValue |
newValue := 0.5 * (n + (self / n)).
( (n - newValue) abs < 0.00000001 )
ifTrue: [ ^newValue ]
ifFalse: [ "newValue printNl." ^self newtonIterate: newValue ] !