stx_libcomp.st
author Claus Gittinger <cg@exept.de>
Tue, 10 Oct 2006 23:28:29 +0200
changeset 1927 f9573866b4f3
parent 1916 d8029dd55dfd
child 1968 b6b05dcbafff
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1858
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
     1
"
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
     2
 COPYRIGHT (c) 2006 by eXept Software AG
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
     3
              All Rights Reserved
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
     4
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
     5
 This software is furnished under a license and may be used
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
     6
 only in accordance with the terms of that license and with the
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
     8
 be provided or otherwise made available to, or used by, any
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
     9
 other person.  No title to or ownership of the software is
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    10
 hereby transferred.
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    11
"
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libcomp' }"
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
LibraryDefinition subclass:#stx_libcomp
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	category:'* Projects *'
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
1858
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    21
!stx_libcomp class methodsFor:'documentation'!
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    22
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    23
copyright
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    24
"
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    25
 COPYRIGHT (c) 2006 by eXept Software AG
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    26
              All Rights Reserved
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    27
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    28
 This software is furnished under a license and may be used
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    29
 only in accordance with the terms of that license and with the
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    31
 be provided or otherwise made available to, or used by, any
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    32
 other person.  No title to or ownership of the software is
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    33
 hereby transferred.
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    34
"
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    35
!
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    36
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    37
documentation
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    38
"
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    39
    Build-Information for creation of the st/x standard library: stx_libcomp.
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    40
    This library contains the smalltalk parser and bytecode compiler.
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    41
"
afd6ac3238b0 comments
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
    42
! !
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
!stx_libcomp class methodsFor:'description'!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
1927
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    46
extensionMethodNames
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
    ^ #(
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    )
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
1927
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    51
preRequisites
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    ^ #(
1927
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    53
        #'stx:libbasic'
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    54
        #'stx:libbasic2'
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    )
1927
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    56
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    57
    "Modified: / 10-10-2006 / 23:27:58 / cg"
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
! !
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
1868
5645b4d4ab53 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1859
diff changeset
    60
!stx_libcomp class methodsFor:'description - compilation'!
5645b4d4ab53 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1859
diff changeset
    61
1878
18de23561a19 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1877
diff changeset
    62
additionalDefinitions_nt_dot_mak
1889
54f097401748 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1884
diff changeset
    63
    ^ '
1894
e6ba9cf20854 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1889
diff changeset
    64
# see stdHeader_nt for LIBCOMP_BASE
e6ba9cf20854 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1889
diff changeset
    65
# LIBCOMP_BASE   =0x61000000
1889
54f097401748 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1884
diff changeset
    66
LIB_BASE_LD_ARG=-b:$(LIBCOMP_BASE)
54f097401748 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1884
diff changeset
    67
'
1878
18de23561a19 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1877
diff changeset
    68
!
18de23561a19 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1877
diff changeset
    69
1868
5645b4d4ab53 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1859
diff changeset
    70
stcOptimizationOptions
1870
c35e9f596789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1868
diff changeset
    71
    ^ '+optinline'
1868
5645b4d4ab53 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1859
diff changeset
    72
5645b4d4ab53 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1859
diff changeset
    73
    "Created: / 23-08-2006 / 11:27:31 / cg"
5645b4d4ab53 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1859
diff changeset
    74
! !
5645b4d4ab53 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1859
diff changeset
    75
1927
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    76
!stx_libcomp class methodsFor:'description - contents'!
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    77
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    78
classNamesAndAttributes
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    79
    ^ #(
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    80
        "<className> or (<className> attributes...) in load order"
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    81
        AssignmentNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    82
        BinaryNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    83
        BlockNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    84
        ByteCodeCompiler
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    85
        CascadeNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    86
        (CodeStream auto)
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    87
        CompilationErrorHandler
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    88
        ConstantNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    89
        Decompiler
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    90
        Explainer
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    91
        ImmutableArray
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    92
        ImmutableString
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    93
        LazyMethod
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    94
        MessageNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    95
        (MethodNode auto)
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    96
        (NullScope auto)
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    97
        ObjectFileHandle
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    98
        ObjectFileLoader
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
    99
        (OldParserTest auto)
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   100
        (ParameterNode auto)
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   101
        ParseErrorNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   102
        ParseNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   103
        Parser
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   104
        ParserFlags
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   105
        PrimaryNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   106
        PrimitiveNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   107
        ProgramNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   108
        ProgramNodeBuilder
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   109
        ProgramNodeEnumerator
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   110
        (Reference auto)
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   111
        ReturnNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   112
        STCCompilerInterface
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   113
        Scanner
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   114
        SelfNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   115
        SourceFileLoader
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   116
        StatementNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   117
        Structure
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   118
        SuperNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   119
        Switch
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   120
        (SyntaxError auto)
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   121
        SyntaxHighlighter
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   122
        UnaryNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   123
        UndefinedVariable
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   124
        Variable
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   125
        VariableNode
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   126
        WarningCompilationErrorHandler
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   127
        #'stx_libcomp'
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   128
    )
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   129
! !
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   130
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   131
!stx_libcomp class methodsFor:'description - project information'!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   132
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   133
companyName
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   134
    "Return a companyname which will appear in <lib>.rc"
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   136
    ^ 'eXept Software AG'
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
description
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
    "Return a description string which will appear in nt.def / bc.def"
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
1859
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   142
    ^ 'Smalltalk/X Bytecode Compiler'
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   143
!
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   144
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
legalCopyright
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
    "Return copyright string which will appear in <lib>.rc"
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
1859
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   148
    ^ 'Copyright Claus Gittinger 1988-2006\nCopyright eXept Software AG 1998-2006'
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   150
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
productName
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
    "Return a product name which will appear in <lib>.rc"
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
    ^ 'Smalltalk/X'
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
! !
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
!stx_libcomp class methodsFor:'documentation'!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
version
1927
f9573866b4f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1916
diff changeset
   160
    ^ '$Header: /cvs/stx/stx/libcomp/stx_libcomp.st,v 1.15 2006-10-10 21:28:29 cg Exp $'
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
! !