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).
(0) -300 -100 -10 +10 +100 tip