Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 12 May 2015 01:57:37 +0100] rev 461
Portability: fixes for Smalltalk/X
* Do not use #crShow: - not present in Smalltalk/X
* Do not use Array class>>with:withAll:
* do not use detect:ifFound:ifAbsent:
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 12 May 2015 01:33:33 +0100] rev 460
Merge
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 12 May 2015 01:24:03 +0100] rev 459
Merged with PetitCompiler-JanKurs.20150510144201, PetitCompiler-Tests-JanKurs.20150510144201, PetitCompiler-Extras-Tests-JanKurs.20150510144201, PetitCompiler-Benchmarks-JanKurs.20150510144201
Name: PetitCompiler-JanKurs.20150510144201
Author: JanKurs
Time: 10-05-2015, 04:42:29.192 PM
UUID: 58a4786b-1182-4904-8b44-a13d3918f244
Name: PetitCompiler-Tests-JanKurs.20150510144201
Author: JanKurs
Time: 10-05-2015, 04:32:12.870 PM
UUID: 2a8fd41a-331b-4dcf-a7a3-752a50ce86e7
Name: PetitCompiler-Extras-Tests-JanKurs.20150510144201
Author: JanKurs
Time: 10-05-2015, 04:59:25.308 PM
UUID: ef43bd1a-be60-4e88-b749-8b635622c969
Name: PetitCompiler-Benchmarks-JanKurs.20150510144201
Author: JanKurs
Time: 10-05-2015, 05:04:54.561 PM
UUID: d8e764fd-016b-46e2-9fc1-17c38c18f0e5
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 11 May 2015 18:31:26 +0100] rev 458
Added lost method PPCBenchmark>>teardownSmalltalkGrammarTokenized
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 11 May 2015 18:29:13 +0100] rev 457
Oops, merged lost Smalltalk/X compatibility fixes (again)
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 11 May 2015 12:19:13 +0100] rev 456
Oops, fixed sub project definition (causing endless recursion during build)
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 10 May 2015 14:42:14 +0100] rev 455
Added .../parsers/java and .../compiler/tests/extras to exported .mczs
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 10 May 2015 14:20:24 +0100] rev 454
Portability: fixes for Smalltalk/X
* Do not use detect:ifFound: - not present in Smalltalk/X
* Removed leftover debugging code (Halt if:, ...)
* Do not use `aClass methods`, use `aClass methodDictionary values`
* Do not use #allPairsDo; - not present in Smalltalk/X
* Do not use #crShow: - not present in Smalltalk/X
* On Smalltalk?X use Filename - there's no FileReference in Smalltalk/X
* Do not use CharacterSet, use String
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 10 May 2015 06:46:56 +0100] rev 453
Merge
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 10 May 2015 06:28:36 +0100] rev 452
Updated to PetitCompiler-JanKurs.111, PetitCompiler-Tests-JanKurs.51, PetitCompiler-Benchmarks-JanKurs.7, added PetitCompiler-Extras-Tests-JanKurs.4
Name: PetitCompiler-JanKurs.111
Author: JanKurs
Time: 08-05-2015, 05:56:05.327 PM
UUID: 8805e696-9933-49b8-a5c8-a963b931b996
Name: PetitCompiler-Tests-JanKurs.51
Author: JanKurs
Time: 08-05-2015, 05:17:44.224 PM
UUID: 21c24114-73be-4ba2-86cd-5a4402f778a0
Name: PetitCompiler-Benchmarks-JanKurs.7
Author: JanKurs
Time: 07-05-2015, 06:06:12.918 PM
UUID: 0e6e2c0a-90f6-4f46-9663-c66f636da602
Name: PetitCompiler-Extras-Tests-JanKurs.4
Author: JanKurs
Time: 08-05-2015, 05:56:46.180 PM
UUID: 4d4d4d23-c5bc-41ef-ad41-8a56528ddb42
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 05 May 2015 16:25:23 +0200] rev 451
Portability: fixes for Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 05 May 2015 15:07:56 +0200] rev 450
Oops, merged lost Smalltalk/X compatibility fixes
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 05 May 2015 15:07:19 +0200] rev 449
Avoid using (obsolete) PPCMethod>>addVariable:, use allocateTemporaryVariableNamed: instead.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 02 May 2015 07:03:07 +0200] rev 448
Made PPCMethod>>addVariable: obsolete.
Use #allocateTemporaryVariableNamed: instead.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 02 May 2015 07:00:39 +0200] rev 447
Removed tests from compiled packages to workaround bug in stc.
stc does not compile { computed arrays } properly in all cases,
resulting in messages being send to wrong objects.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 02 May 2015 06:18:36 +0200] rev 446
Portability: use `aClass methodDictionary values` instead of `aClass methods`
as on Smalltalk/X. Class>>methods retruns method reader to support filein of various
chunk formats.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 01 May 2015 14:39:47 +0200] rev 445
Portability: Inlined #asLegalSelector since Smalltalk/X does not support it
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 01 May 2015 14:34:58 +0200] rev 444
Portability: Use `self skipIf:description:` on Smalltalk/X instead of `self skip:`
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 02 May 2015 06:29:04 +0200] rev 443
Portability: do not use Transcript>>crShow:
...use Transcript show: '...'; cr. which is more portable.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 01 May 2015 14:04:37 +0200] rev 442
Merge
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 01 May 2015 13:44:43 +0200] rev 441
Makefiles updated so compiler and all it's dependencies are build automatically
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 01 May 2015 13:03:50 +0200] rev 440
Syntax fix for Smalltalk/X - stc does not allow for empty statements.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 21 Apr 2015 17:30:40 +0100] rev 439
Fixes for Smalltalk/X:
* do not use Squeakism CharacterSet, use plain old String instead for portability reasons.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 30 Apr 2015 23:43:14 +0200] rev 438
Updated to PetitCompiler-JanKurs.100, PetitCompiler-Tests-JanKurs.44 and PetitCompiler-Benchmarks-JanKurs.4
Name: PetitCompiler-JanKurs.100
Author: JanKurs
Time: 30-04-2015, 10:48:52.165 AM
UUID: 80196870-5921-46d9-ac20-a43bf5c2f3c2
Name: PetitCompiler-Tests-JanKurs.44
Author: JanKurs
Time: 30-04-2015, 10:49:22.489 AM
UUID: 348c02e8-18ce-48f6-885d-fcff4516a298
Name: PetitCompiler-Benchmarks-JanKurs.4
Author: JanKurs
Time: 30-04-2015, 10:58:44.890 AM
UUID: 18cadb42-f9ef-45fb-82e9-8469ade56c8b
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 21 Apr 2015 17:20:11 +0100] rev 437
A super ugly hack to fix line endings in Java comments.
All three - CR, CR-LF and LF - should be supported.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 21 Apr 2015 17:06:24 +0100] rev 436
Fixes for Smalltalk/X
* Do not use Character class>>#cr /#lf as semantics of this method differ in Smalltalk/X and Squeak.
Use Character class>>#codePoint: instead
* Do not use Squeakism Dictionary >> #keysSortedSafely - there is no need for this as
all keys are strings.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 21 Apr 2015 14:57:16 +0100] rev 435
Initial commit of PetitJava
Name: PetitJava-JanKurs.160
Author: JanKurs
Time: 19-12-2014, 01:00:18.354 PM
UUID: 1cb1b46d-8c68-4751-9720-f0dd742f3e16
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 20 Apr 2015 18:06:31 +0100] rev 434
Bugfix: in teardown, do not remove parser if it has not been compiled.
This leads to `Smalltalk removeClass: UndefinedObject` which is not
good idea.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 20 Apr 2015 13:24:27 +0100] rev 433
Skip Java benchmarks on Smalltalk/X
...as Java parser is not yet supported.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 20 Apr 2015 11:23:20 +0100] rev 432
PPCBenchmarkResource updated to work on Smalltalk/X
...as API of FileReference and Filename differ.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 19 Apr 2015 22:28:48 +0100] rev 431
Make block passed to at:ifPresent: to accept one argument
...as St/X requires it,
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 19 Apr 2015 22:25:38 +0100] rev 430
Added dependencies on petitparser/analyzer and petitparser/islands
...as compiler makes use of some of their extension methods.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 15 Apr 2015 05:22:53 +0100] rev 429
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 14 Apr 2015 07:40:53 +0100] rev 428
Compilation fixed, removed obsolete methods
...to make it in sync with:
Name: PetitCompiler-JanKurs.71
Author: JanKurs
Time: 18-11-2014, 09:48:35.425 AM
UUID: 06352c33-3c76-4382-8536-0cc48e225117
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 13 Apr 2015 22:00:44 +0100] rev 427
Merged JK's version from Monticello
Name: PetitParser-JanKurs.275
Author: JanKurs
Time: 31-03-2015, 05:51:24.398 PM
UUID: 9ab3be24-8393-4794-a7e6-e318f3195673
Name: PetitTests-JanKurs.73
Author: JanKurs
Time: 21-02-2015, 01:10:13.115 PM
UUID: de4f77e3-2d07-476b-855e-69f845edfc7c
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 13 Apr 2015 14:19:55 +0100] rev 426
Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 13 Apr 2015 14:16:24 +0100] rev 425
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 24 Nov 2014 21:44:56 +0000] rev 424
Post merge fixes to make tests pass.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 24 Nov 2014 11:38:11 +0000] rev 423
Added benchmark package to set of exported .mcz
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 15 Apr 2015 11:28:09 +0100] rev 422
To fold
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 24 Nov 2014 00:09:23 +0000] rev 421
Merged JK's version from Monticello
Name: PetitParser-JanKurs.260
Author: JanKurs
Time: 17-11-2014, 12:09:05.490 PM
UUID: 07411cef-ef69-40db-9d93-d4018a9b34ef
Name: PetitTests-JanKurs.65
Author: JanKurs
Time: 17-11-2014, 12:09:04.530 PM
UUID: f98d613f-f4ce-4e0e-a7e9-310ee7c7e7a6
Name: PetitSmalltalk-JanKurs.78
Author: JanKurs
Time: 14-11-2014, 05:05:07.765 PM
UUID: 3d68330d-44d5-46c3-9705-97f627b3edbc
Name: PetitCompiler-JanKurs.71
Author: JanKurs
Time: 18-11-2014, 09:48:35.425 AM
UUID: 06352c33-3c76-4382-8536-0cc48e225117
Name: PetitCompiler-Tests-JanKurs.21
Author: JanKurs
Time: 17-11-2014, 05:51:53.134 PM
UUID: 8d6c0799-14e7-4871-8d91-8b0f9886db83
Name: PetitCompiler-Benchmarks-JanKurs.2
Author: JanKurs
Time: 17-11-2014, 05:51:07.887 PM
UUID: d5e3a980-7871-487a-a232-e3ca93fc2483
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 19 Nov 2014 10:52:37 +0000] rev 420
Moved benchmarks to a separate package
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 08 Nov 2014 02:08:45 +0000] rev 419
Commented JK's debugging code.
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`
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
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!
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:'
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
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
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 20:28:27 +0000] rev 412
Fixed mcz make target.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 03 Nov 2014 19:42:31 +0000] rev 411
Removed PPTrimmingParser>>trim
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.
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: