cvut_stx_goodies_newcompiler.st
changeset 39 d361eb9419e6
parent 38 a64f4ad690f5
child 40 c99f058e2276
equal deleted inserted replaced
38:a64f4ad690f5 39:d361eb9419e6
     9 
     9 
    10 
    10 
    11 !cvut_stx_goodies_newcompiler class methodsFor:'description'!
    11 !cvut_stx_goodies_newcompiler class methodsFor:'description'!
    12 
    12 
    13 preRequisites
    13 preRequisites
    14     "list all required packages.
    14     ^ #(
    15      This list can be maintained manually or (better) generated and
    15         #'stx:goodies/refactoryBrowser/parser'    "RBIdentifierToken - referenced by IRDecompiler>>newVar: "
    16      updated by scanning the superclass hierarchies and looking for
    16         #'stx:goodies/sunit'    "TestCase - superclass of IRTransformTest "
    17      global variable accesses. (the browser has a menu function for that)
    17         #'stx:libbasic'    "Link - superclass of IRLine "
    18      Howevery, often too much is found, and you may want to explicitely
    18         #'stx:libbasic2'    "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize "
    19      exclude individual packages in the #excludedFromPrerequisites method."
    19         #'stx:libcomp'    "PrimitiveNode - referenced by IRFunction>>initialize "
       
    20         #'stx:libcompat'    "Preferences - referenced by IRDecompiler>>removeClosureCreation: "
       
    21         #'stx:libwidg'    "ScrollableView - referenced by IRFunction>>inspector2TabIRCode "
       
    22     )
    20 
    23 
    21     ^ #(
    24     "Modified: / 17-09-2012 / 09:58:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    22         #'stx:goodies/refactoryBrowser/parser'    "RBSequenceNode - referenced by IRDecompiler>>endCase: "
       
    23         #'stx:goodies/sunit'    "TestCase - superclass of IRTransformTest "
       
    24         #'stx:libbasic'    "LibraryDefinition - superclass of cvut_stx_goodies_newcompiler "
       
    25         #'stx:libbasic2'    "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize "
       
    26         #'stx:libcomp'    "Scanner - superclass of extended ByteCodeCompiler "
       
    27         #'stx:libcompat'    "Preferences - referenced by IRDecompiler>>removeClosureCreation: "
       
    28         #'stx:libtool'    "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode "
       
    29         #'stx:libwidg'    "TextView - referenced by IRFunction>>inspector2TabIRCode "
       
    30     )
       
    31 ! !
    25 ! !
    32 
    26 
    33 !cvut_stx_goodies_newcompiler class methodsFor:'description - contents'!
    27 !cvut_stx_goodies_newcompiler class methodsFor:'description - contents'!
    34 
    28 
    35 classNamesAndAttributes
    29 classNamesAndAttributes
    36     "lists the classes which are to be included in the project.
       
    37      Each entry in the list may be: a single class-name (symbol),
       
    38      or an array-literal consisting of class name and attributes.
       
    39      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
       
    40 
       
    41     ^ #(
    30     ^ #(
    42         "<className> or (<className> attributes...) in load order"
    31         "<className> or (<className> attributes...) in load order"
    43         IRBuilder
    32         IRBuilder
       
    33         IRBuilderTest
    44         IRBytecodeGenerator
    34         IRBytecodeGenerator
    45         IRFunction
    35         IRFunction
    46         IRInstruction
    36         IRInstruction
    47         IRInterpreter
    37         IRInterpreter
    48         IRSequence
    38         IRSequence
    49         IRStackCount
    39         IRStackCount
       
    40         IRTransformTest
    50         #'cvut_stx_goodies_newcompiler'
    41         #'cvut_stx_goodies_newcompiler'
    51         IRAccess
    42         IRAccess
    52         IRClosure
    43         IRClosure
    53         IRConstant
    44         IRConstant
    54         IRDecompiler
    45         IRDecompiler
    71         IRInstVarStore
    62         IRInstVarStore
    72         IRLiteralVariableRead
    63         IRLiteralVariableRead
    73         IRLiteralVariableStore
    64         IRLiteralVariableStore
    74         IRTempRead
    65         IRTempRead
    75         IRTempStore
    66         IRTempStore
    76         (IRBuilderTest autoload)
       
    77         (IRTransformTest autoload)
       
    78     )
    67     )
    79 !
    68 !
    80 
    69 
    81 extensionMethodNames
    70 extensionMethodNames
    82     "lists the extension methods which are to be included in the project.
       
    83      Entries are 2-element array literals, consisting of class-name and selector."
       
    84 
       
    85     ^ #(
    71     ^ #(
    86         ByteCodeCompiler literalArray:
    72         ByteCodeCompiler literalArray:
    87         Class binding
    73         Class binding
    88         Class bindingOf:
    74         Class bindingOf:
    89     )
    75     )
   136 
   122 
   137 svnRevisionNr
   123 svnRevisionNr
   138     "Return a SVN revision number of myself.
   124     "Return a SVN revision number of myself.
   139      This number is updated after a commit"
   125      This number is updated after a commit"
   140 
   126 
   141     ^ "$SVN-Revision:"'38              '"$"
   127     ^ "$SVN-Revision:"nil"$"
       
   128 
       
   129     "Modified: / 17-09-2012 / 10:02:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   142 ! !
   130 ! !
   143 
   131 
   144 !cvut_stx_goodies_newcompiler class methodsFor:'documentation'!
   132 !cvut_stx_goodies_newcompiler class methodsFor:'documentation'!
   145 
   133 
   146 version
   134 version