Wed, 19 Nov 2014 10:52:37 +0000 Moved benchmarks to a separate package
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 19 Nov 2014 10:52:37 +0000] rev 420
Moved benchmarks to a separate package
Sat, 08 Nov 2014 02:08:45 +0000 Commented JK's debugging code.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 08 Nov 2014 02:08:45 +0000] rev 419
Commented JK's debugging code.
Sat, 08 Nov 2014 01:03:21 +0000 Minor fixes in tests for Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 08 Nov 2014 01:03:21 +0000] rev 418
Minor fixes in tests for Smalltalk/X * Do now show `Transcript crShow: '...'` but more portable `Transcript show:'...'; cr`
Fri, 07 Nov 2014 02:14:26 +0000 Smalltalk grammar updated to allow for Smalltalk/X EOL comments
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 07 Nov 2014 02:14:26 +0000] rev 417
Smalltalk grammar updated to allow for Smalltalk/X EOL comments
Thu, 06 Nov 2014 02:22:56 +0000 Do not try to inline PPCPluggableNode on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 06 Nov 2014 02:22:56 +0000] rev 416
Do not try to inline PPCPluggableNode on Smalltalk/X Sadly, on Smalltalk/X blocks cannot be inlined because the VM does not provide enough information to map it back to the source code. Very bad indeed!
Thu, 06 Nov 2014 01:41:10 +0000 Compatibility fixes:
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 06 Nov 2014 01:41:10 +0000] rev 415
Compatibility fixes: * do not use 'class methods size', use 'class methodDictionary size' * do not use 'class methods do:', use 'class methodDo:'
Wed, 05 Nov 2014 23:05:19 +0000 Merged JK's work on PetitCompiler
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 05 Nov 2014 23:05:19 +0000] rev 414
Merged JK's work on PetitCompiler Name: PetitCompiler-JanKurs.57 Author: JanKurs Time: 05-11-2014, 05:10:47 AM UUID: 4c625efe-77fd-465d-bd63-72ead0b5d3ba Name: PetitCompiler-Tests-JanVrany.13 Author: JanVrany Time: 05-11-2014, 09:31:07 AM UUID: 189ae287-6bc1-40ba-8458-b8392c4260a0
Wed, 05 Nov 2014 21:40:01 +0000 Classes renamed to ease following merge wirh Pharo version.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 05 Nov 2014 21:40:01 +0000] rev 413
Classes renamed to ease following merge wirh Pharo version. * PetitBenchmark renamed to PPCBenchmark * PetitBenchmarkSources renamed to PPCBenchmarkResources * PetitCompilerTest renamed to PPCCompilerTest
Mon, 03 Nov 2014 20:28:27 +0000 Fixed mcz make target.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 20:28:27 +0000] rev 412
Fixed mcz make target.
Mon, 03 Nov 2014 19:42:31 +0000 Removed PPTrimmingParser>>trim
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 19:42:31 +0000] rev 411
Removed PPTrimmingParser>>trim
Mon, 03 Nov 2014 12:46:42 +0000 Portability fixes in PPPredicateTest>>charactersDo: / parsedCharacterSet:
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 12:46:42 +0000] rev 410
Portability fixes in PPPredicateTest>>charactersDo: / parsedCharacterSet: * It is my understanding that charactersDo: should iterate over all signle byte characters. If so, the method suffer from off-by-one error, it should generate characters with code points 0..255. 256 is actually a two-byte character. Method changed accordingly. * Use Character>>asString instead of `String>>with:` which is safer w.r.t. multi-byte characters. Under Smalltalk/X, String may contain only signle byte characters.
Mon, 03 Nov 2014 11:33:28 +0000 Removed weird PPExtensionTest>>testOrdered
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 11:33:28 +0000] rev 409
Removed weird PPExtensionTest>>testOrdered
Mon, 03 Nov 2014 12:47:37 +0000 Removed obsolete Character>>ppMinus:
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 12:47:37 +0000] rev 408
Removed obsolete Character>>ppMinus:
Mon, 03 Nov 2014 11:30:59 +0000 Removed unused / obsolete methods from PPToken
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 11:30:59 +0000] rev 407
Removed unused / obsolete methods from PPToken * remove PPToken class>>on:start:stop * remove PPToken>>initializeOn:start:stop
Mon, 03 Nov 2014 11:28:44 +0000 Removed PPRepeatingParser>>parseOn: - class is now abstract
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 11:28:44 +0000] rev 406
Removed PPRepeatingParser>>parseOn: - class is now abstract
Mon, 03 Nov 2014 09:10:56 +0000 Merged PetitParser and PetitTests
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 09:10:56 +0000] rev 405
Merged PetitParser and PetitTests Name: PetitParser-JanKurs.253 Author: JanKurs Time: 30-10-2014, 03:55:46 AM UUID: c7100f9c-e875-4453-8f26-e0c91dd49b91 Name: PetitTests-JanKurs.63 Author: JanKurs Time: 30-10-2014, 12:54:37 PM UUID: 7afbeef7-eadf-4d65-bce5-7204e2727edb
Sat, 01 Nov 2014 00:34:30 +0000 Removed class PPAbstractParseTest.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 01 Nov 2014 00:34:30 +0000] rev 404
Removed class PPAbstractParseTest. It was a duplicate of PPAbstractParserTest.
Sat, 01 Nov 2014 00:30:28 +0000 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 01 Nov 2014 00:30:28 +0000] rev 403
Removed autoload attribut for tests. As all classes are in a test package, when package is loaded likely tests are required, so load them right away.
Sat, 01 Nov 2014 00:12:10 +0000 Reverted back change from `assert: x equals: y` to assert: (x = u).
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 01 Nov 2014 00:12:10 +0000] rev 402
Reverted back change from `assert: x equals: y` to assert: (x = u). Actually, even Smalltalk/X SUnit has assert:equals:
Thu, 30 Oct 2014 23:52:47 +0000 Portability fix: do not use Behaviour>>methods.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 30 Oct 2014 23:52:47 +0000] rev 401
Portability fix: do not use Behaviour>>methods. On Smalltalk/X it returns a category reader (in order to be able to read Dolphin fileouts): * use`class methodsDo:` instead of `class methods do:` * use `class methodDictionary size` instead of `class methods size`
Thu, 30 Oct 2014 23:20:35 +0000 Fixed PPCCompiler: must refetch class afer updating instance variables of a given class.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 30 Oct 2014 23:20:35 +0000] rev 400
Fixed PPCCompiler: must refetch class afer updating instance variables of a given class. The reason is, that in (at least) Smalltalk/X modyfing a layout of a class results in creating a new class rather than updating an old one and migrating instances, i.e., the old class is not identical with the new class. Therefore, to install methods in in correct class, we have to refetch new version from system dictionary. On Pharo it should not harm
Thu, 30 Oct 2014 23:03:03 +0000 Fix in PPCMethod>>addVariable: make sure variable is added only once.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 30 Oct 2014 23:03:03 +0000] rev 399
Fix in PPCMethod>>addVariable: make sure variable is added only once. Having two variables with the same name is forbidden.
Thu, 30 Oct 2014 23:01:54 +0000 Added teardown to PetitCompilerTests to clean up a generated parser after tests.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 30 Oct 2014 23:01:54 +0000] rev 398
Added teardown to PetitCompilerTests to clean up a generated parser after tests.
Thu, 30 Oct 2014 11:35:27 +0000 Portability fix PPCAbstractCharacterNode>>body: use #storeString instead of #printString.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 30 Oct 2014 11:35:27 +0000] rev 397
Portability fix PPCAbstractCharacterNode>>body: use #storeString instead of #printString.
Sun, 26 Oct 2014 22:49:03 +0000 Fixed PPCGuard>>compileCharacter:
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 26 Oct 2014 22:49:03 +0000] rev 396
Fixed PPCGuard>>compileCharacter: Use #storeString instead of #printString - #storeString is defined as string whose evaluation would return the receiver (resp. object equal to reveiver).
Sun, 26 Oct 2014 22:08:41 +0000 Portability fix in PPCompiler>>cleanGeneratedMethods:
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 26 Oct 2014 22:08:41 +0000] rev 395
Portability fix in PPCompiler>>cleanGeneratedMethods: Use more portable coding.
Sun, 26 Oct 2014 22:05:59 +0000 Portability - test if RPackageOrganizer is present...
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 26 Oct 2014 22:05:59 +0000] rev 394
Portability - test if RPackageOrganizer is present... ...if not, do not register new package using it. RPackage is Pharo specific thing not present in other Smalltalks.
Sun, 26 Oct 2014 22:00:05 +0000 Override #new in classes that implement #initialize.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 26 Oct 2014 22:00:05 +0000] rev 393
Override #new in classes that implement #initialize. Not all Smalltalks call #initialize automatically. Actually, mose of them does not.
Sun, 26 Oct 2014 01:28:07 +0000 Fixed PPCNode>>doOptmizationLoop:status:
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 26 Oct 2014 01:28:07 +0000] rev 392
Fixed PPCNode>>doOptmizationLoop:status: Must report status to changeStatus as caller is checking its value. Also, added PPCOptimizationResult class>>new as Smaltalk/X (actually, most Smalltalks) does not call #initialize by default.
Sun, 26 Oct 2014 01:03:31 +0000 Ported PetitCompiler-(Tests).
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 26 Oct 2014 01:03:31 +0000] rev 391
Ported PetitCompiler-(Tests). Name: PetitCompiler-JanKurs.41 Author: JanKurs Time: 25-10-2014, 03:30:28 AM UUID: 105186d1-1187-4ca6-8d66-3d2d47def4d3 Repository: http://smalltalkhub.com/mc/JanKurs/PetitParser/main Name: PetitCompiler-Tests-JanKurs.4 Author: JanKurs Time: 25-10-2014, 03:30:58 AM UUID: 3e798fad-d5f6-4881-a583-f0bbffe27869 Repository: http://smalltalkhub.com/mc/JanKurs/PetitParser/main In addition, fixed some problems to make it compilable under Smalltalk/X: * Fixed PPCTokenNode>>initialize - there's no children instvar, it's initialization removed. * Fixed PPCContextMemento>>propertyAt:ifAbsent: - removed return-in-return, not compilable under Smalltalk/X (C issues) * Fixed PPCContextMemento>>hash - there's no stream instvar, access to it removed. * Fixed PPCAbstractCharacterNode>>compileWith:effect:id: - removed dot after method selector (stc does not like it)
(0) -300 -100 -50 -30 +30 +50 +100 tip