cvut_stx_goodies_newcompiler.st
changeset 37 be8c2dd09dff
parent 34 4c372f8296b9
child 38 a64f4ad690f5
equal deleted inserted replaced
36:1bfd09c6b3d8 37:be8c2dd09dff
     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.
       
    15      This list can be maintained manually or (better) generated and
       
    16      updated by scanning the superclass hierarchies and looking for
       
    17      global variable accesses. (the browser has a menu function for that)
       
    18      Howevery, often too much is found, and you may want to explicitely
       
    19      exclude individual packages in the #excludedFromPrerequisites method."
       
    20 
       
    21     ^ #(
    14     ^ #(
    22         #'stx:goodies/refactoryBrowser/parser'
    15         #'stx:goodies/libtool3'    "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode "
       
    16         #'stx:goodies/refactoryBrowser/parser'    "RBIdentifierToken - referenced by IRDecompiler>>newVar: "
    23         #'stx:goodies/sunit'    "TestCase - superclass of IRTransformTest "
    17         #'stx:goodies/sunit'    "TestCase - superclass of IRTransformTest "
    24         #'stx:libbasic'    "Link - superclass of IRLine "
    18         #'stx:libbasic'    "Link - superclass of IRLine "
    25         #'stx:libbasic2'    "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize "
    19         #'stx:libbasic2'    "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize "
    26         #'stx:libcomp'    "PrimitiveNode - referenced by IRFunction>>initialize "
    20         #'stx:libcomp'    "PrimitiveNode - referenced by IRFunction>>initialize "
    27         #'stx:libcompat'
    21         #'stx:libcompat'    "Preferences - referenced by IRDecompiler>>removeClosureCreation: "
    28         #'stx:libtool'    "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode "
    22         #'stx:libwidg'    "ScrollableView - referenced by IRFunction>>inspector2TabIRCode "
    29         #'stx:libwidg'
       
    30     )
    23     )
    31 ! !
    24 ! !
    32 
    25 
    33 !cvut_stx_goodies_newcompiler class methodsFor:'description - contents'!
    26 !cvut_stx_goodies_newcompiler class methodsFor:'description - contents'!
    34 
    27 
    35 classNamesAndAttributes
    28 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     ^ #(
    29     ^ #(
    42         "<className> or (<className> attributes...) in load order"
    30         "<className> or (<className> attributes...) in load order"
    43         IRBuilder
    31         IRBuilder
    44         (IRBuilderTest autoload)
    32         IRBuilderTest
    45         IRBytecodeGenerator
    33         IRBytecodeGenerator
    46         IRFunction
    34         IRFunction
    47         IRInstruction
    35         IRInstruction
    48         IRInterpreter
    36         IRInterpreter
    49         IRSequence
    37         IRSequence
    50         IRStackCount
    38         IRStackCount
    51         (IRTransformTest autoload)
    39         IRTransformTest
    52         #'cvut_stx_goodies_newcompiler'
    40         #'cvut_stx_goodies_newcompiler'
    53         IRAccess
    41         IRAccess
    54         IRClosure
    42         IRClosure
    55         IRConstant
    43         IRConstant
       
    44         IRDecompiler
    56         IRDup
    45         IRDup
    57         IRJump
    46         IRJump
    58         IRLine
    47         IRLine
    59         IRMethod
    48         IRMethod
    60         IRPop
    49         IRPop
    76         IRTempStore
    65         IRTempStore
    77     )
    66     )
    78 !
    67 !
    79 
    68 
    80 extensionMethodNames
    69 extensionMethodNames
    81     "lists the extension methods which are to be included in the project.
       
    82      Entries are 2-element array literals, consisting of class-name and selector."
       
    83 
       
    84     ^ #(
    70     ^ #(
    85         ByteCodeCompiler literalArray:
    71         ByteCodeCompiler literalArray:
    86         Class binding
    72         Class binding
    87         Class bindingOf:
    73         Class bindingOf:
    88     )
    74     )
   122     "Created: / 11-06-2008 / 16:50:46 / Jan Vrany <vranyj1@fel.cvut.cz>"
   108     "Created: / 11-06-2008 / 16:50:46 / Jan Vrany <vranyj1@fel.cvut.cz>"
   123 ! !
   109 ! !
   124 
   110 
   125 !cvut_stx_goodies_newcompiler class methodsFor:'description - svn'!
   111 !cvut_stx_goodies_newcompiler class methodsFor:'description - svn'!
   126 
   112 
       
   113 svnRepositoryUrlString
       
   114     "Return a SVN repository URL of myself.
       
   115      (Generated since 2011-04-08)
       
   116      Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!!
       
   117     "        
       
   118 
       
   119     ^ '$URL::                                                                                                                        $'
       
   120 !
       
   121 
   127 svnRevisionNr
   122 svnRevisionNr
   128     "Return a SVN revision number of myself.
   123     "Return a SVN revision number of myself.
   129      This number is updated after a commit"
   124      This number is updated after a commit"
   130 
   125 
   131     ^ "$SVN-Revision:"'34M'"$"
   126     ^ "$SVN-Revision:"'nil             '"$"
   132 ! !
   127 ! !
   133 
   128 
   134 !cvut_stx_goodies_newcompiler class methodsFor:'documentation'!
   129 !cvut_stx_goodies_newcompiler class methodsFor:'documentation'!
   135 
   130 
   136 version
   131 version
   137     ^ '$Header: /cvs/stx/cvut/stx/goodies/newcompiler/cvut_stx_goodies_newcompiler.st,v 1.4 2009/10/08 12:00:46 fm Exp $'
   132     ^ '$Id$'
   138 !
   133 !
   139 
   134 
   140 version_CVS
   135 version_CVS
   141     ^ '$Header: /cvs/stx/cvut/stx/goodies/newcompiler/cvut_stx_goodies_newcompiler.st,v 1.4 2009/10/08 12:00:46 fm Exp $'
   136     ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/cvut_stx_goodies_newcompiler.st,v 1.4 2009/10/08 12:00:46 fm Exp §'
   142 !
   137 !
   143 
   138 
   144 version_SVN
   139 version_SVN
   145     ^ '$Id$'
   140     ^ '$Id::                                                                                                                        $'
   146 ! !
   141 ! !