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