cvut_stx_goodies_newcompiler.st
changeset 38 a64f4ad690f5
parent 37 be8c2dd09dff
child 39 d361eb9419e6
--- a/cvut_stx_goodies_newcompiler.st	Thu Mar 29 18:03:58 2012 +0000
+++ b/cvut_stx_goodies_newcompiler.st	Wed May 09 08:38:46 2012 +0000
@@ -11,32 +11,42 @@
 !cvut_stx_goodies_newcompiler class methodsFor:'description'!
 
 preRequisites
+    "list all required packages.
+     This list can be maintained manually or (better) generated and
+     updated by scanning the superclass hierarchies and looking for
+     global variable accesses. (the browser has a menu function for that)
+     Howevery, often too much is found, and you may want to explicitely
+     exclude individual packages in the #excludedFromPrerequisites method."
+
     ^ #(
-        #'stx:goodies/libtool3'    "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode "
-        #'stx:goodies/refactoryBrowser/parser'    "RBIdentifierToken - referenced by IRDecompiler>>newVar: "
+        #'stx:goodies/refactoryBrowser/parser'    "RBSequenceNode - referenced by IRDecompiler>>endCase: "
         #'stx:goodies/sunit'    "TestCase - superclass of IRTransformTest "
-        #'stx:libbasic'    "Link - superclass of IRLine "
+        #'stx:libbasic'    "LibraryDefinition - superclass of cvut_stx_goodies_newcompiler "
         #'stx:libbasic2'    "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize "
-        #'stx:libcomp'    "PrimitiveNode - referenced by IRFunction>>initialize "
+        #'stx:libcomp'    "Scanner - superclass of extended ByteCodeCompiler "
         #'stx:libcompat'    "Preferences - referenced by IRDecompiler>>removeClosureCreation: "
-        #'stx:libwidg'    "ScrollableView - referenced by IRFunction>>inspector2TabIRCode "
+        #'stx:libtool'    "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode "
+        #'stx:libwidg'    "TextView - referenced by IRFunction>>inspector2TabIRCode "
     )
 ! !
 
 !cvut_stx_goodies_newcompiler class methodsFor:'description - contents'!
 
 classNamesAndAttributes
+    "lists the classes which are to be included in the project.
+     Each entry in the list may be: a single class-name (symbol),
+     or an array-literal consisting of class name and attributes.
+     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
+
     ^ #(
         "<className> or (<className> attributes...) in load order"
         IRBuilder
-        IRBuilderTest
         IRBytecodeGenerator
         IRFunction
         IRInstruction
         IRInterpreter
         IRSequence
         IRStackCount
-        IRTransformTest
         #'cvut_stx_goodies_newcompiler'
         IRAccess
         IRClosure
@@ -63,10 +73,15 @@
         IRLiteralVariableStore
         IRTempRead
         IRTempStore
+        (IRBuilderTest autoload)
+        (IRTransformTest autoload)
     )
 !
 
 extensionMethodNames
+    "lists the extension methods which are to be included in the project.
+     Entries are 2-element array literals, consisting of class-name and selector."
+
     ^ #(
         ByteCodeCompiler literalArray:
         Class binding
@@ -123,7 +138,7 @@
     "Return a SVN revision number of myself.
      This number is updated after a commit"
 
-    ^ "$SVN-Revision:"'nil             '"$"
+    ^ "$SVN-Revision:"'38              '"$"
 ! !
 
 !cvut_stx_goodies_newcompiler class methodsFor:'documentation'!