[Pkg] The Trunk: Compiler-nice.273.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Sep 23 23:01:21 UTC 2013

Nicolas Cellier uploaded a new version of Compiler to project The Trunk:

==================== Summary ====================

Name: Compiler-nice.273
Author: nice
Time: 24 September 2013, 1:00:52.329 am
UUID: 268ce6eb-318e-46e7-83b5-05bfe76473de
Ancestors: Compiler-nice.270

This is Compiler-nice.270 + restored (and unused) sourceStream instance variable so as to give a chance to the build.squeak.org server to build...
The configuration map update-nice.246 will be modified to point on this, then we'll merge later Compiler versions.

=============== Diff against Compiler-nice.270 ===============

Item was changed:
  Object subclass: #Compiler
+ 	instanceVariableNames: 'sourceStream parser cue'
- 	instanceVariableNames: 'parser cue'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'Compiler-Kernel'!
  !Compiler commentStamp: 'cwp 12/26/2012 23:17' prior: 0!
  The compiler accepts Smalltalk source code and compiles it with respect to a given class. The user of the compiler supplies a context so that temporary variables are accessible during compilation. If there is an error, a requestor (usually a kind of StringHolderController) is sent the message notify:at:in: so that the error message can be displayed. If there is no error, then the result of compilation is a MethodNode, which is the root of a parse tree whose nodes are kinds of ParseNodes. The parse tree can be sent messages to (1) generate code for a CompiledMethod (this is done for compiling methods or evaluating expressions); (2) pretty-print the code (for formatting); or (3) produce a map from object code back to source code (used by debugger program-counter selection). See also Parser, Encoder, ParseNode.!

More information about the Packages mailing list