[Vm-dev] VM Maker: CogTools-Listener-eem.4.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Mar 11 21:56:56 UTC 2016
Eliot Miranda uploaded a new version of CogTools-Listener to project VM Maker:
http://source.squeak.org/VMMaker/CogTools-Listener-eem.4.mcz
==================== Summary ====================
Name: CogTools-Listener-eem.4
Author: eem
Time: 11 March 2016, 1:56:51.521399 pm
UUID: 4f613c09-f617-49c9-bc44-29fc9d5af5a1
Ancestors: CogTools-Listener-eem.3
Don't log anything on quit via eof
=============== Diff against CogTools-Listener-eem.3 ===============
Item was changed:
----- Method: StdioListener>>run (in category 'run loop') -----
run
[stdin atEnd] whileFalse:
[| nextChunk |
stdout nextPutAll: 'squeak> '; flush.
nextChunk := stdin nextChunkNoTag.
[nextChunk notEmpty and: [nextChunk first isSeparator]] whileTrue:
[nextChunk := nextChunk allButFirst].
Transcript cr; nextPutAll: nextChunk; cr; flush.
[stdout print: (Compiler evaluate: nextChunk); cr; flush]
on: Error
do: [:ex| self logError: ex description inContext: ex signalerContext to: stderr]].
quitOnEof ifTrue:
+ [SourceFiles at: 2 put: nil.
+ Smalltalk snapshot: false andQuit: true]!
- [Smalltalk snapshot: false andQuit: true]!
More information about the Vm-dev
mailing list