# HG changeset patch # User Jan Vrany # Date 1347872586 0 # Node ID d361eb9419e6b33529846c7cddca235100434d27 # Parent a64f4ad690f5641cc84416a261312e6cb8d7e2f0 - IRTempStore changed: #version_SVN - IRAccess changed: #version_SVN - IRMethod changed: #version_SVN - IRPrinter changed: #version_SVN - IRTempRead changed: #version_SVN - IRLiteralVariableRead changed: #version_SVN - IRLine changed: #version_SVN - IRClosure changed: #version_SVN - IRFunction changed: #version_SVN - IRDup changed: #version_SVN - IRTranslator changed: #version_SVN - IRInterpreter changed: #version_SVN - IRBuilder changed: #version_SVN - IRBytecodeGenerator changed: #version_SVN - IRJumpOverBlock changed: #version_SVN - IRBlockReturnTop changed: #version_SVN - IRSequence changed: #version_SVN - IRDecompiler changed: #version_SVN - IRInstVarStore changed: #version_SVN - cvut_stx_goodies_newcompiler added: #excludedFromPreRequisites #extensionsVersion_SVN #svnRepositoryUrlString changed: #preRequisites #svnRevisionNr #version_SVN - IRLiteralVariableAccess changed: #version_SVN - IRTransformTest changed: #version_SVN - IRStackCount changed: #version_SVN - IRInstVarAccess changed: #version_SVN - IRLiteralVariableStore changed: #version_SVN - IRBuilderTest changed: #version_SVN - IRInstruction changed: #version_SVN - IRTempAccess changed: #version_SVN - IRConstant changed: #version_SVN - IRSend changed: #version_SVN - IRInstVarRead changed: #version_SVN - IRPop changed: #version_SVN - IRReturn changed: #version_SVN - IRJump changed: #version_SVN - IRJumpIf changed: #version_SVN - extensions ... diff -r a64f4ad690f5 -r d361eb9419e6 Make.proto --- a/Make.proto Wed May 09 08:38:46 2012 +0000 +++ b/Make.proto Mon Sep 17 09:03:06 2012 +0000 @@ -34,7 +34,7 @@ # add the path(es) here:, # ********** OPTIONAL: MODIFY the next lines *** # LOCALINCLUDES=-Ifoo -Ibar -LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/parser -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libcompat -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libcomp -I$(INCLUDE_TOP)/stx/libtool +LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/parser -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/goodies/sunit -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libcompat -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libcomp # if you need any additional defines for embedded C code, @@ -79,12 +79,15 @@ fi cvut_stx_goodies_newcompiler.o: cvut_stx_goodies_newcompiler.st .svnversion - if [ -d .svn ]; then \ + @if [ -d .svn ]; then \ rev2="$(shell printf "%-16s" $$(cat .svnversion))"; \ + echo " [SV] Expanding svnRevisionNo in $1.st"; \ sed -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"\'$$rev2\'\"\$$\"/g" $< > .cvut_stx_goodies_newcompiler.svn.st; \ fi - $(MAKE) CC="$(CLASSLIB_CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" STC="$(STC)" STFILE=.cvut_stx_goodies_newcompiler.svn $(O_RULE); - mv .cvut_stx_goodies_newcompiler.svn.$(O) cvut_stx_goodies_newcompiler.$(O) + $(MAKE) CC="$(CLASSLIB_CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" STC="$(STC)" STFILE=.cvut_stx_goodies_newcompiler.svn $(C_RULE); + sed -i -e "s/\".cvut_stx_goodies_newcompiler.svn.st\");/\"\cvut_stx_goodies_newcompiler.st\");/g" .cvut_stx_goodies_newcompiler.svn.c + $(MAKE) .cvut_stx_goodies_newcompiler.svn.$(O) + @mv .cvut_stx_goodies_newcompiler.svn.$(O) cvut_stx_goodies_newcompiler.$(O) endif @@ -104,17 +107,18 @@ prereq: $(REQUIRED_SUPPORT_DIRS) cd $(TOP)/libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" - cd $(TOP)/libdb/libodbc && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" - cd $(TOP)/libdb/libsqlite && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/goodies/refactoryBrowser/parser && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" - cd $(TOP)/libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" + cd $(TOP)/libdb && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libboss && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" + cd $(TOP)/libdb/libodbc && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" + cd $(TOP)/libdb/libsqlite && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/goodies/sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" + cd $(TOP)/libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libhtml && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" cd $(TOP)/libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" @@ -136,12 +140,14 @@ # BEGINMAKEDEPEND --- do not remove this line; make depend needs it $(OUTDIR)IRBuilder.$(O) IRBuilder.$(H): IRBuilder.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRBuilderTest.$(O) IRBuilderTest.$(H): IRBuilderTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRBytecodeGenerator.$(O) IRBytecodeGenerator.$(H): IRBytecodeGenerator.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRFunction.$(O) IRFunction.$(H): IRFunction.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRInstruction.$(O) IRInstruction.$(H): IRInstruction.st $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRInterpreter.$(O) IRInterpreter.$(H): IRInterpreter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRSequence.$(O) IRSequence.$(H): IRSequence.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRStackCount.$(O) IRStackCount.$(H): IRStackCount.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRTransformTest.$(O) IRTransformTest.$(H): IRTransformTest.st $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)cvut_stx_goodies_newcompiler.$(O) cvut_stx_goodies_newcompiler.$(H): cvut_stx_goodies_newcompiler.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRAccess.$(O) IRAccess.$(H): IRAccess.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRClosure.$(O) IRClosure.$(H): IRClosure.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRFunction.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) diff -r a64f4ad690f5 -r d361eb9419e6 Make.spec --- a/Make.spec Wed May 09 08:38:46 2012 +0000 +++ b/Make.spec Mon Sep 17 09:03:06 2012 +0000 @@ -51,12 +51,14 @@ COMMON_CLASSES= \ IRBuilder \ + IRBuilderTest \ IRBytecodeGenerator \ IRFunction \ IRInstruction \ IRInterpreter \ IRSequence \ IRStackCount \ + IRTransformTest \ cvut_stx_goodies_newcompiler \ IRAccess \ IRClosure \ @@ -89,12 +91,14 @@ COMMON_OBJS= \ $(OUTDIR)IRBuilder.$(O) \ + $(OUTDIR)IRBuilderTest.$(O) \ $(OUTDIR)IRBytecodeGenerator.$(O) \ $(OUTDIR)IRFunction.$(O) \ $(OUTDIR)IRInstruction.$(O) \ $(OUTDIR)IRInterpreter.$(O) \ $(OUTDIR)IRSequence.$(O) \ $(OUTDIR)IRStackCount.$(O) \ + $(OUTDIR)IRTransformTest.$(O) \ $(OUTDIR)cvut_stx_goodies_newcompiler.$(O) \ $(OUTDIR)IRAccess.$(O) \ $(OUTDIR)IRClosure.$(O) \ diff -r a64f4ad690f5 -r d361eb9419e6 abbrev.stc --- a/abbrev.stc Wed May 09 08:38:46 2012 +0000 +++ b/abbrev.stc Mon Sep 17 09:03:06 2012 +0000 @@ -2,12 +2,14 @@ # this file is needed for stc to be able to compile modules independently. # it provides information about a classes filename, category and especially namespace. IRBuilder IRBuilder cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 +IRBuilderTest IRBuilderTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 IRBytecodeGenerator IRBytecodeGenerator cvut:stx/goodies/newcompiler 'NewCompiler-Bytecode' 0 IRFunction IRFunction cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRInstruction IRInstruction cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRInterpreter IRInterpreter cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRSequence IRSequence cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRStackCount IRStackCount cvut:stx/goodies/newcompiler 'NewCompiler-Bytecode' 0 +IRTransformTest IRTransformTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 cvut_stx_goodies_newcompiler cvut_stx_goodies_newcompiler cvut:stx/goodies/newcompiler '* Projects & Packages *' 3 IRAccess IRAccess cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRClosure IRClosure cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 @@ -34,5 +36,3 @@ IRLiteralVariableStore IRLiteralVariableStore cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRTempRead IRTempRead cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 IRTempStore IRTempStore cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRBuilderTest IRBuilderTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 -IRTransformTest IRTransformTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 diff -r a64f4ad690f5 -r d361eb9419e6 bc.mak --- a/bc.mak Wed May 09 08:38:46 2012 +0000 +++ b/bc.mak Mon Sep 17 09:03:06 2012 +0000 @@ -34,7 +34,7 @@ -LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\refactoryBrowser\parser -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libcompat -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libcomp -I$(INCLUDE_TOP)\stx\libtool +LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\refactoryBrowser\parser -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libcompat -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libcomp LOCALDEFINES= STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) @@ -51,17 +51,18 @@ # build all prerequisite packages for this package prereq: pushd ..\..\..\..\stx\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " - pushd ..\..\..\..\stx\libdb\libodbc & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " - pushd ..\..\..\..\stx\libdb\libsqlite & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\goodies\refactoryBrowser\parser & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libcomp & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " - pushd ..\..\..\..\stx\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\..\..\..\stx\libdb & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libboss & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\..\..\..\stx\libdb\libodbc & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\..\..\..\stx\libdb\libsqlite & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\..\..\..\stx\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " pushd ..\..\..\..\stx\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " @@ -75,12 +76,14 @@ # BEGINMAKEDEPEND --- do not remove this line; make depend needs it $(OUTDIR)IRBuilder.$(O) IRBuilder.$(H): IRBuilder.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) +$(OUTDIR)IRBuilderTest.$(O) IRBuilderTest.$(H): IRBuilderTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRBytecodeGenerator.$(O) IRBytecodeGenerator.$(H): IRBytecodeGenerator.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRFunction.$(O) IRFunction.$(H): IRFunction.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRInstruction.$(O) IRInstruction.$(H): IRInstruction.st $(INCLUDE_TOP)\stx\libbasic\Link.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRInterpreter.$(O) IRInterpreter.$(H): IRInterpreter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRSequence.$(O) IRSequence.$(H): IRSequence.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRStackCount.$(O) IRStackCount.$(H): IRStackCount.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) +$(OUTDIR)IRTransformTest.$(O) IRTransformTest.$(H): IRTransformTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)cvut_stx_goodies_newcompiler.$(O) cvut_stx_goodies_newcompiler.$(H): cvut_stx_goodies_newcompiler.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRAccess.$(O) IRAccess.$(H): IRAccess.st $(INCLUDE_TOP)\cvut\stx\goodies\newcompiler\IRInstruction.$(H) $(INCLUDE_TOP)\stx\libbasic\Link.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRClosure.$(O) IRClosure.$(H): IRClosure.st $(INCLUDE_TOP)\cvut\stx\goodies\newcompiler\IRFunction.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) diff -r a64f4ad690f5 -r d361eb9419e6 bmake.bat --- a/bmake.bat Wed May 09 08:38:46 2012 +0000 +++ b/bmake.bat Mon Sep 17 09:03:06 2012 +0000 @@ -1,5 +1,5 @@ @REM ------- -@REM make using borland bcc +@REM make using Borland bcc32 @REM type bmake, and wait... @REM do not edit - automatically generated from ProjectDefinition @REM ------- diff -r a64f4ad690f5 -r d361eb9419e6 cvut_stx_goodies_newcompiler.st --- a/cvut_stx_goodies_newcompiler.st Wed May 09 08:38:46 2012 +0000 +++ b/cvut_stx_goodies_newcompiler.st Mon Sep 17 09:03:06 2012 +0000 @@ -11,42 +11,33 @@ !cvut_stx_goodies_newcompiler class methodsFor:'description'! preRequisites - "list all required packages. - This list can be maintained manually or (better) generated and - updated by scanning the superclass hierarchies and looking for - global variable accesses. (the browser has a menu function for that) - Howevery, often too much is found, and you may want to explicitely - exclude individual packages in the #excludedFromPrerequisites method." + ^ #( + #'stx:goodies/refactoryBrowser/parser' "RBIdentifierToken - referenced by IRDecompiler>>newVar: " + #'stx:goodies/sunit' "TestCase - superclass of IRTransformTest " + #'stx:libbasic' "Link - superclass of IRLine " + #'stx:libbasic2' "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize " + #'stx:libcomp' "PrimitiveNode - referenced by IRFunction>>initialize " + #'stx:libcompat' "Preferences - referenced by IRDecompiler>>removeClosureCreation: " + #'stx:libwidg' "ScrollableView - referenced by IRFunction>>inspector2TabIRCode " + ) - ^ #( - #'stx:goodies/refactoryBrowser/parser' "RBSequenceNode - referenced by IRDecompiler>>endCase: " - #'stx:goodies/sunit' "TestCase - superclass of IRTransformTest " - #'stx:libbasic' "LibraryDefinition - superclass of cvut_stx_goodies_newcompiler " - #'stx:libbasic2' "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize " - #'stx:libcomp' "Scanner - superclass of extended ByteCodeCompiler " - #'stx:libcompat' "Preferences - referenced by IRDecompiler>>removeClosureCreation: " - #'stx:libtool' "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode " - #'stx:libwidg' "TextView - referenced by IRFunction>>inspector2TabIRCode " - ) + "Modified: / 17-09-2012 / 09:58:32 / Jan Vrany " ! ! !cvut_stx_goodies_newcompiler class methodsFor:'description - contents'! classNamesAndAttributes - "lists the classes which are to be included in the project. - Each entry in the list may be: a single class-name (symbol), - or an array-literal consisting of class name and attributes. - Attributes are: #autoload or # where os is one of win32, unix,..." - ^ #( " or ( attributes...) in load order" IRBuilder + IRBuilderTest IRBytecodeGenerator IRFunction IRInstruction IRInterpreter IRSequence IRStackCount + IRTransformTest #'cvut_stx_goodies_newcompiler' IRAccess IRClosure @@ -73,15 +64,10 @@ IRLiteralVariableStore IRTempRead IRTempStore - (IRBuilderTest autoload) - (IRTransformTest autoload) ) ! extensionMethodNames - "lists the extension methods which are to be included in the project. - Entries are 2-element array literals, consisting of class-name and selector." - ^ #( ByteCodeCompiler literalArray: Class binding @@ -138,7 +124,9 @@ "Return a SVN revision number of myself. This number is updated after a commit" - ^ "$SVN-Revision:"'38 '"$" + ^ "$SVN-Revision:"nil"$" + + "Modified: / 17-09-2012 / 10:02:44 / Jan Vrany " ! ! !cvut_stx_goodies_newcompiler class methodsFor:'documentation'! diff -r a64f4ad690f5 -r d361eb9419e6 lccmake.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lccmake.bat Mon Sep 17 09:03:06 2012 +0000 @@ -0,0 +1,8 @@ +@REM ------- +@REM make using lcc compiler +@REM type lccmake, and wait... +@REM do not edit - automatically generated from ProjectDefinition +@REM ------- +make.exe -N -f bc.mak USELCC=1 %* + + diff -r a64f4ad690f5 -r d361eb9419e6 libInit.cc --- a/libInit.cc Wed May 09 08:38:46 2012 +0000 +++ b/libInit.cc Mon Sep 17 09:03:06 2012 +0000 @@ -28,12 +28,14 @@ OBJ snd; struct __vmData__ *__pRT__; { __BEGIN_PACKAGE2__("libcvut_stx_goodies_newcompiler", _libcvut_stx_goodies_newcompiler_Init, "cvut:stx/goodies/newcompiler"); _IRBuilder_Init(pass,__pRT__,snd); +_IRBuilderTest_Init(pass,__pRT__,snd); _IRBytecodeGenerator_Init(pass,__pRT__,snd); _IRFunction_Init(pass,__pRT__,snd); _IRInstruction_Init(pass,__pRT__,snd); _IRInterpreter_Init(pass,__pRT__,snd); _IRSequence_Init(pass,__pRT__,snd); _IRStackCount_Init(pass,__pRT__,snd); +_IRTransformTest_Init(pass,__pRT__,snd); _cvut_137stx_137goodies_137newcompiler_Init(pass,__pRT__,snd); _IRAccess_Init(pass,__pRT__,snd); _IRClosure_Init(pass,__pRT__,snd); diff -r a64f4ad690f5 -r d361eb9419e6 mingwmake.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mingwmake.bat Mon Sep 17 09:03:06 2012 +0000 @@ -0,0 +1,8 @@ +@REM ------- +@REM make using mingw gnu compiler +@REM type mingwmake, and wait... +@REM do not edit - automatically generated from ProjectDefinition +@REM ------- +make.exe -N -f bc.mak USEMINGW=1 %* + + diff -r a64f4ad690f5 -r d361eb9419e6 newcompiler.rc --- a/newcompiler.rc Wed May 09 08:38:46 2012 +0000 +++ b/newcompiler.rc Mon Sep 17 09:03:06 2012 +0000 @@ -3,8 +3,8 @@ // automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. // VS_VERSION_INFO VERSIONINFO - FILEVERSION 6,2,38,38 - PRODUCTVERSION 6,2,1,1 + FILEVERSION 6,2,0,1 + PRODUCTVERSION 6,2,3,1 #if (__BORLANDC__) FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE FILEFLAGS VS_FF_PRERELEASE | VS_FF_SPECIALBUILD @@ -20,12 +20,12 @@ BEGIN VALUE "CompanyName", "CVUT FEI & Mathieu Suen\0" VALUE "FileDescription", "Smalltalk/X Bytecode generation library based on Squeak's NewCompiler (LIB)\0" - VALUE "FileVersion", "6.2.38.38\0" + VALUE "FileVersion", "6.2.0.1\0" VALUE "InternalName", "cvut:stx/goodies/newcompiler\0" VALUE "LegalCopyright", "Copyright Jan Vrany & Mathieu Suen 2008\0" VALUE "ProductName", "NewCompiler\0" - VALUE "ProductVersion", "6.2.1.1\0" - VALUE "ProductDate", "Wed, 09 May 2012 08:39:34 GMT\0" + VALUE "ProductVersion", "6.2.3.1\0" + VALUE "ProductDate", "Mon, 17 Sep 2012 09:03:27 GMT\0" END END diff -r a64f4ad690f5 -r d361eb9419e6 vcmake.bat --- a/vcmake.bat Wed May 09 08:38:46 2012 +0000 +++ b/vcmake.bat Mon Sep 17 09:03:06 2012 +0000 @@ -1,11 +1,11 @@ @REM ------- -@REM make using microsoft visual c +@REM make using Microsoft Visual C compiler @REM type vcmake, and wait... @REM do not edit - automatically generated from ProjectDefinition @REM ------- @if not defined VSINSTALLDIR ( - call "C:\Program Files\Microsoft Visual Studio 10.0"\VC\bin\vcvars32.bat + call ..\..\..\..\stx\rules\vcsetup.bat ) make.exe -N -f bc.mak -DUSEVC %*