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)
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.
Wed, 08 Oct 2014 00:33:44 +0100 Commited a island parser support (MC package PetitIslands)
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 08 Oct 2014 00:33:44 +0100] rev 387
Commited a island parser support (MC package PetitIslands) Name: PetitIslands-JanKurs.10 Author: JanKurs Time: 06-10-2014, 11:50:57 AM UUID: 19560ad2-4899-43d5-8c69-cf7274ad4f04 Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main
Wed, 08 Oct 2014 00:08:21 +0100 Smalltalk parser almost fixed (except few pragma-related tests).
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 08 Oct 2014 00:08:21 +0100] rev 386
Smalltalk parser almost fixed (except few pragma-related tests). Code is bit ugly sometimes....
Tue, 07 Oct 2014 09:42:03 +0100 Commited a Smalltalk parser (MC package PetitSmalltalk)
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 07 Oct 2014 09:42:03 +0100] rev 385
Commited a Smalltalk parser (MC package PetitSmalltalk) Name: PetitSmalltalk-JanKurs.71 Author: JanKurs Time: 19-08-2014, 02:18:05 AM UUID: d1d11836-f3e2-4709-abd3-e2ff3b72d7c4 Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main Ancestors: Fixes to be compatible with PPContext
Mon, 06 Oct 2014 19:18:20 +0100 Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 06 Oct 2014 19:18:20 +0100] rev 384
Fixed stx_goodies_petitparser_analyzer class>>testSuite Return testsuite from stx:goodies/petitparser/analyzer/tests.
Sat, 04 Oct 2014 23:34:14 +0100 Removed leftover Smalltalk/X-ism: end-of-line comments.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 04 Oct 2014 23:34:14 +0100] rev 383
Removed leftover Smalltalk/X-ism: end-of-line comments. Not supported by Pharo.
Sun, 05 Oct 2014 00:29:07 +0100 Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 05 Oct 2014 00:29:07 +0100] rev 382
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Sat, 04 Oct 2014 21:26:15 +0100 `PPParser>>allParsers`, `allParsersDo:(seen:)` moved to base PetitParser package.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 04 Oct 2014 21:26:15 +0100] rev 381
`PPParser>>allParsers`, `allParsersDo:(seen:)` moved to base PetitParser package. The method #allParsersDo: is actually used used by PPContext>>initializeFor: therefore it has to be in the package stx:goodies/petitparser (MC package PetitParser) and _NOT_ in stx:goodies/petitparser/analyzer (MC package PetitAnalyzer)
Sun, 05 Oct 2014 00:05:20 +0100 Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 05 Oct 2014 00:05:20 +0100] rev 380
Remove Pharoisms to make code more portable and running on Smalltalk/X * Use ANSI `(Character codePoint: 13)` (`10`) instead of `Character cr` (`lf`), This is more portable and does not depend on dialects interpretation of `#cr` - Smalltalk/X convert it according to platform line end convention (UNIX/Windows/Mac) * Do not assume exact value of a printstring in tests, i.e., instead of `msg includesSubstring: '$a' code `msg includesSubstring: $a printString. This way, the test is independent on the printString value, which may differ among dialects. Q: Is printString value of String and/or Character defined in ANSI? * In assestions, instead of `#equals:` use plain old `#=`, which is more portable. * Removed Character>>- used to create range parser. Use portable `(Interval from: $a to: $z) asParser` instead of just `$a - $z`. Do not use ($a to: $z) asParser as in Pharo, Character>>to: does not create an Interval but an Array (sigh).
Fri, 03 Oct 2014 03:11:33 +0100 Some tests fixed.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 03 Oct 2014 03:11:33 +0100] rev 379
Some tests fixed.
Fri, 03 Oct 2014 02:45:16 +0100 Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 03 Oct 2014 02:45:16 +0100] rev 378
Merged in latest version from Moose repository Name: PetitAnalyzer-DiegoLont.46 Author: DiegoLont Time: 02-09-2013, 12:37:58 PM UUID: 89f155fa-89b4-4bb7-b76e-0f8485be4a56 Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main
Fri, 03 Oct 2014 02:33:08 +0100 Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 03 Oct 2014 02:33:08 +0100] rev 377
Updated to latest version from Moose repository. Name: PetitParser-JanKurs.250 Author: JanKurs Time: 01-10-2014, 04:44:04 AM UUID: c46eea20-51a0-4deb-8fd5-8cb99810a8b4 Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main Name: PetitTests-JanKurs.60 Author: JanKurs Time: 29-09-2014, 11:48:10 AM UUID: 28fd2e65-c287-4f73-b71e-5b6bb25bebaa Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main
Fri, 03 Oct 2014 01:59:10 +0100 Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 03 Oct 2014 01:59:10 +0100] rev 376
Added monticelloName to package definition to ease export to .mcz
Fri, 03 Oct 2014 01:36:33 +0100 All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 03 Oct 2014 01:36:33 +0100] rev 375
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests ..,to conform package layout standards.
Fri, 03 Oct 2014 00:52:34 +0100 Added tag exept_cvs_2014_10_03 for changeset c286737f38a7
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 03 Oct 2014 00:52:34 +0100] rev 374
Added tag exept_cvs_2014_10_03 for changeset c286737f38a7
Sat, 21 Feb 2015 13:36:32 +0100 class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de> [Sat, 21 Feb 2015 13:36:32 +0100] rev 373
class: stx_goodies_petitparser comment/format in: #documentation
Tue, 10 Feb 2015 05:04:45 +0000 update tags
convert-repo [Tue, 10 Feb 2015 05:04:45 +0000] rev 372
update tags
Mon, 09 Feb 2015 15:15:28 +0100 class: stx_goodies_petitparser
Claus Gittinger <cg@exept.de> [Mon, 09 Feb 2015 15:15:28 +0100] rev 371
class: stx_goodies_petitparser added: #documentation
(0) -300 -100 -50 -30 +30 +50 +100 tip