stx_libcomp.st
author Claus Gittinger <cg@exept.de>
Tue, 22 Aug 2006 23:28:41 +0200
changeset 1859 ba3e091791ed
parent 1858 afd6ac3238b0
child 1868 5645b4d4ab53
permissions -rw-r--r--
comments
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
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
!stx_libcomp class methodsFor:'description - project information'!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
companyName
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
    "Return a companyname which will appear in <lib>.rc"
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
    ^ 'eXept Software AG'
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
description
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
    "Return a description string which will appear in nt.def / bc.def"
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
1859
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   116
    ^ 'Smalltalk/X Bytecode Compiler'
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   117
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   118
    "Modified: / 22-08-2006 / 23:24:11 / cg"
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   119
!
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   120
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   121
fileDescription
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   122
    "Return a description string which will appear in <lib>.rc"
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   123
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   124
    ^ 'Smalltalk/X Bytecode Compiler Class Library'
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   125
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   126
    "Created: / 22-08-2006 / 23:27:36 / cg"
1827
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
legalCopyright
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   130
    "Return copyright string which will appear in <lib>.rc"
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
    ^ 'Copyright Claus Gittinger 1988-2006\nCopyright eXept Software AG 1998-2006'
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   133
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   134
    "Modified: / 22-08-2006 / 23:26:37 / cg"
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   136
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
productName
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
    "Return a product name which will appear in <lib>.rc"
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
    ^ 'Smalltalk/X'
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
! !
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   142
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
!stx_libcomp class methodsFor:'documentation'!
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
version
1859
ba3e091791ed comments
Claus Gittinger <cg@exept.de>
parents: 1858
diff changeset
   146
    ^ '$Header: /cvs/stx/stx/libcomp/stx_libcomp.st,v 1.4 2006-08-22 21:28:41 cg Exp $'
1827
ce454ad8ff64 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
! !