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)
Sun, 26 Oct 2014 01:06:11 +0100 Updated to PetitSmalltalk-JanKurs.75
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 26 Oct 2014 01:06:11 +0100] rev 390
Updated to PetitSmalltalk-JanKurs.75 Author: JanKurs Time: 13-10-2014, 05:00:14 AM UUID: 6254f8f7-aa47-4ddd-a373-167bccb0d4e5 Ancestors: Smalltalk token decomposed into the PEG expression
Tue, 14 Oct 2014 23:16:37 +0100 Updated smalltalk parser to PetitSmalltalk-JanKurs.75
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 14 Oct 2014 23:16:37 +0100] rev 389
Updated smalltalk parser to PetitSmalltalk-JanKurs.75 Name: PetitSmalltalk-JanKurs.75 Author: JanKurs Time: 13-10-2014, 05:00:14 AM UUID: 6254f8f7-aa47-4ddd-a373-167bccb0d4e5
Wed, 08 Oct 2014 21:56:20 +0100 Workaround to fix PPComposedTest>>testLeftRecursion - make PPStream>>size returning size of the input.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 08 Oct 2014 21:56:20 +0100] rev 388
Workaround to fix PPComposedTest>>testLeftRecursion - make PPStream>>size returning size of the input. For whatever reason, in Smalltalk/X ReadStream>>size returns size remaning data, not the size of a whole stream. This is a bug and should be fixed in Smalltalk/X libbasic. Meanwhile, override PPStream>>size to return proper value. In Pharo, the method is not needed as the inherited method is exactly the same.
(0) -300 -100 -10 +10 +100 tip