Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 11:33:28 +0000] rev 409
Removed weird PPExtensionTest>>testOrdered
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 12:47:37 +0000] rev 408
Removed obsolete Character>>ppMinus:
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
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 11:28:44 +0000] rev 406
Removed PPRepeatingParser>>parseOn: - class is now abstract
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
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.
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.
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:
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`
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
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.
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.
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.
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).
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.
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.
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.
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.
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)
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
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
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.
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
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....
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
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.
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.
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.
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)
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).
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 03 Oct 2014 03:11:33 +0100] rev 379
Some tests fixed.
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
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
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
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.
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
Claus Gittinger <cg@exept.de> [Sat, 21 Feb 2015 13:36:32 +0100] rev 373
class: stx_goodies_petitparser
comment/format in: #documentation
convert-repo [Tue, 10 Feb 2015 05:04:45 +0000] rev 372
update tags
Claus Gittinger <cg@exept.de> [Mon, 09 Feb 2015 15:15:28 +0100] rev 371
class: stx_goodies_petitparser
added: #documentation
convert-repo [Thu, 02 Oct 2014 22:38:22 +0000] rev 370
update tags
Claus Gittinger <cg@exept.de> [Tue, 01 Jul 2014 12:00:38 +0200] rev 369
*** empty log message ***
Claus Gittinger <cg@exept.de> [Tue, 01 Jul 2014 11:59:37 +0200] rev 368
*** empty log message ***
Claus Gittinger <cg@exept.de> [Wed, 30 Apr 2014 15:16:47 +0200] rev 367
*** empty log message ***
Claus Gittinger <cg@exept.de> [Wed, 05 Mar 2014 00:58:41 +0100] rev 366
class: PPParser
comment/format in: #>=>
Claus Gittinger <cg@exept.de> [Wed, 05 Mar 2014 00:58:31 +0100] rev 365
class: PPParserDebuggerResult
added: #new
comment/format in: #parse:with:
Claus Gittinger <cg@exept.de> [Wed, 05 Mar 2014 00:34:06 +0100] rev 364
class: PPExtractProdcutionRefactoring
changed: #nameNewMethod:
Claus Gittinger <cg@exept.de> [Wed, 05 Mar 2014 00:33:59 +0100] rev 363
class: PPRemoveProdcutionRefactoring
class definition
Claus Gittinger <cg@exept.de> [Wed, 05 Mar 2014 00:33:51 +0100] rev 362
class: PPRenameProdcutionRefactoring
changed: #transform
Claus Gittinger <cg@exept.de> [Wed, 05 Mar 2014 00:33:40 +0100] rev 361
class: PPGrammarRefactoringTest
changed:5 methods
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:50 +0100] rev 360
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:44 +0100] rev 359
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:41 +0100] rev 358
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:38 +0100] rev 357
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:35 +0100] rev 356
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:32 +0100] rev 355
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:29 +0100] rev 354
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:26 +0100] rev 353
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:23 +0100] rev 352
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:20 +0100] rev 351
initial checkin
Claus Gittinger <cg@exept.de> [Tue, 04 Mar 2014 22:20:17 +0100] rev 350
initial checkin