Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 25 Aug 2015 01:30:32 +0100] rev 530
PPCConfiguration refactoring: [2/10]: introduced PPCCompilationContext
Moved parser class/scanner class instvars from PPCConfiguration subclasses
to the context. Made PPCConfiguration to keep an instance of context.
This is a preparation for having only one PPCConfiguration-like class.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 24 Aug 2015 23:42:53 +0100] rev 529
PPCConfiguration refactoring [1/10]: renamed PPCArguments to PPCCompilationOptions
Renamed PPCConfiguration>>#arguments/#arguments: to #options/#options:
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 24 Aug 2015 22:32:15 +0100] rev 528
Removed unused (obsolete) class PPCCompiledMethod
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 24 Aug 2015 17:38:44 +0100] rev 527
Added missing #new methods
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 24 Aug 2015 17:31:06 +0100] rev 526
Fixed PEGFsaState>>isFailure: it is not obsolete, actually.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 24 Aug 2015 15:56:20 +0100] rev 525
Merge
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 24 Aug 2015 15:34:14 +0100] rev 524
Merged in PetitCompiler-JanVrany.170, PetitCompiler-Tests-JanKurs.116, PetitCompiler-Extras-Tests-JanKurs.29, PetitCompiler-Benchmarks-JanKurs.19
Name: PetitCompiler-JanVrany.170
Author: JanVrany
Time: 24-08-2015, 03:19:51.340 PM
UUID: c20a744f-3b41-4aaa-bb8a-71ce74a2a952
Name: PetitCompiler-Tests-JanKurs.116
Author: JanKurs
Time: 24-08-2015, 11:37:54.332 AM
UUID: 549e0927-358a-4a1b-8270-050ccfcb4217
Name: PetitCompiler-Extras-Tests-JanKurs.29
Author: JanKurs
Time: 24-08-2015, 11:36:52.503 AM
UUID: ea1dbb67-f884-4237-8f34-adb0677c0954
Name: PetitCompiler-Benchmarks-JanKurs.19
Author: JanKurs
Time: 24-08-2015, 11:48:47.045 AM
UUID: 1c342fdb-8ddd-4104-9c47-a8f589c51694
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 18 Aug 2015 22:46:10 +0100] rev 523
Fixed PEGFsaTransition>>disjunction: - xor: does not take blocks
as xor is not subject to lazy evaluation. While in Pharo it worked, it does not work
well under Smalltalk/X which does not send value to the passed argument.
(partially because xor: is inlined by the stc/JIT compiler)
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 18 Aug 2015 22:16:18 +0100] rev 522
Fixed support for Smalltalk/X end-of-line comments in PPSmalltalkGrammar.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 18 Aug 2015 21:47:50 +0100] rev 521
Fixed LRP tests. Removed tests for tokendized LRPParser (not yet supported)
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 18 Aug 2015 16:57:08 +0100] rev 520
Added benchmarks for Johan's LRP Parser
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 18 Aug 2015 13:09:42 +0100] rev 519
Portability: fixed RBLiteralValueNode>>isLiteralNumber to work under both - Pharo and Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 17 Aug 2015 23:11:56 +0100] rev 518
Portability fixes
* do not use Object>>asString. Not all Smalltalks implement it.
* do not use Object>>name. Not all Smalltalks implement it.
* do not use Dictionary keysAndValuesRemove:. Not all Smalltalks implement it.
* do not use Class>>methods The semantics is different among Smalltalks.
Use `Class methodDictionary values` instead.
* do not modify dictionary in #at:ifAbsentPut: block!
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 17 Aug 2015 13:39:38 +0100] rev 517
Portability: override #new for PPCScannerCodeGenerator.
Not all smalltalks send #initialize by default.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 17 Aug 2015 12:56:02 +0100] rev 516
Merge
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 17 Aug 2015 12:13:16 +0100] rev 515
Updated to PetitCompiler-JanKurs.160, PetitCompiler-Tests-JanKurs.112, PetitCompiler-Extras-Tests-JanKurs.25, PetitCompiler-Benchmarks-JanKurs.17
Name: PetitCompiler-JanKurs.160
Author: JanKurs
Time: 17-08-2015, 09:52:26.291 AM
UUID: 3b4bfc98-8098-4951-af83-a59e2585b121
Name: PetitCompiler-Tests-JanKurs.112
Author: JanKurs
Time: 16-08-2015, 05:00:32.936 PM
UUID: 85613d47-08f3-406f-9823-9cdab451e805
Name: PetitCompiler-Extras-Tests-JanKurs.25
Author: JanKurs
Time: 16-08-2015, 05:00:10.328 PM
UUID: 09731810-51a1-4151-8d3a-56b636fbd1f7
Name: PetitCompiler-Benchmarks-JanKurs.17
Author: JanKurs
Time: 05-08-2015, 05:29:32.407 PM
UUID: e544b5f1-bcf8-470b-93a6-d2363e4dfc8a
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 31 Jul 2015 14:07:31 +0100] rev 514
Fixed PPCSetUpBefore...Resource to work on Pharo. Few othr minor Pharo fixes.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 31 Jul 2015 09:35:15 +0100] rev 513
Portability fix: do not use "/ style comments in PetitParser code.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 31 Jul 2015 07:57:23 +0100] rev 512
Added smoke tests for LRPParser
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 30 Jul 2015 17:31:18 +0100] rev 511
Added LRPParser from Live Robots Prograaming project
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 30 Jul 2015 08:37:37 +0100] rev 510
Tests refactoring - use generated test cases to make sure all posibilities are tested.
Do not generate resource for all combinations, use PPCSetUpBeforeTearDownAfterResource
instead that delegates parser compilation to the testcase itself (it calls it's #setUpBefore
method).
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 31 Jul 2015 08:22:18 +0100] rev 509
Inline child of an action node only is its unnamed sequence node.
Named nodes should not be inlined as they should make a method.
There's little point in inlining non-sequence nodes, so don't enforce
inlining on those. Some (JK :-) may prefer them non-inlined (for
debugging purposes)
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 31 Jul 2015 08:16:54 +0100] rev 508
Temporarily disabled #acceptsEpsilon test in PPCTokenizingCodeGenerator>>visitChoiceNode:
JK should have a look and come up with proper solution.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 28 Jul 2015 07:16:10 +0100] rev 507
Workaround for stc bug.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 27 Jul 2015 16:28:48 +0100] rev 506
Added static analysis of blocks when inlining. Allow inlining only when block is functional
...i.e., does not access any shared state (in instance or class variables). If the block does
a self-send, the sent method has to be (transitively) functional too.
To allow for self-sends in action blocks, copy (transitively) self-sent methods to target
parser. This is safe as these self-sent methods are guarnateed to be functional.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 27 Jul 2015 10:21:41 +0100] rev 505
Post-merge fixes. PPCCodeBlock refactoring.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 24 Jul 2015 19:42:09 +0100] rev 504
Portability fix: override #new for class that implements #initialize
#initialize is not sent by default.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 24 Jul 2015 15:37:23 +0100] rev 503
Merge
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 24 Jul 2015 15:06:54 +0100] rev 502
Updated to PetitCompiler-JanVrany.135, PetitCompiler-Tests-JanKurs.93, PetitCompiler-Extras-Tests-JanVrany.16, PetitCompiler-Benchmarks-JanKurs.12
Name: PetitCompiler-JanVrany.135
Author: JanVrany
Time: 22-07-2015, 06:53:29.127 PM
UUID: 890178b5-275d-46af-a2ad-1738998f07cb
Ancestors: PetitCompiler-JanVrany.134
Name: PetitCompiler-Tests-JanKurs.93
Author: JanKurs
Time: 20-07-2015, 11:30:10.283 PM
UUID: 6473e671-ad70-42ca-b6c3-654b78edc531
Ancestors: PetitCompiler-Tests-JanKurs.92
Name: PetitCompiler-Extras-Tests-JanVrany.16
Author: JanVrany
Time: 22-07-2015, 05:18:22.387 PM
UUID: 8f6f9129-dbba-49b1-9402-038470742f98
Ancestors: PetitCompiler-Extras-Tests-JanKurs.15
Name: PetitCompiler-Benchmarks-JanKurs.12
Author: JanKurs
Time: 06-07-2015, 02:10:06.901 PM
UUID: cb24f1ac-46a4-494d-9780-64576f0f0dba
Ancestors: PetitCompiler-Benchmarks-JanKurs.11, PetitCompiler-Benchmarks-JanVrany.e29bd90f388e.20150619081300
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 19 Jun 2015 08:13:39 +0100] rev 501
Moved PPMappedActionParser>>asCompilerNode to protocol 'converting'
If in '*petitparser' it makes some problems with Monticello.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 19 Jun 2015 07:14:07 +0100] rev 500
Use RBVariableNode>>name: to change variable's name.
The old way - `node token value:` is working in Pharo - there's no token in RBVariableNode. Sigh.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 19 Jun 2015 06:53:06 +0100] rev 499
Portability fix: do not use #?
...use `notNil ifTrue:[] ifFalse:[]` instead. #? is not supported
in Squeak/Pharo
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 18 Jun 2015 22:11:40 +0100] rev 498
Moved PPCMappedActionNode to category PetitCompiler-Nodes
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 18 Jun 2015 22:05:13 +0100] rev 497
Do not use RBProgramNode>>variableNodesDo: as this method is not present in Pharo.
Use local helper method instead.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 18 Jun 2015 21:20:15 +0100] rev 496
Reverted fc3dbe5654c5: sending #copy should be OK (copy set's parent properly)
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 18 Jun 2015 06:40:15 +0100] rev 495
Send #sourceNode instead of #ast as there's no #ast in Pharo
...I was mistaken.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 18 Jun 2015 06:07:40 +0100] rev 494
Oops, removed EOL comments as they;re not supported in Squeak / Pharo
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 17 Jun 2015 17:10:54 +0100] rev 493
Fixed target mcz - exit Smalltalk after all packages are exported.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 17 Jun 2015 16:49:28 +0100] rev 492
Use #deepCopy instead of #copy when copying RB parse tree
...because #copy make a copy if child nodes but does not set their parents properly.
Therefore node replacing does not work because it replaces it in wrong tree (original,
not the copy).
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 16 Jun 2015 07:49:21 +0100] rev 491
Codegen: added support for smart action node compiling.
Avoid creation of intermediate result collection for action nodes if all references
to action block's argument (i.e., the nodes collection) is in form of:
* <nodes> at: <numeric constant>
* <nodes> first (second, third...
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 16 Jun 2015 06:54:14 +0100] rev 490
Oops, renamed testMappedNode3/4/5 to testActionNode3/4/5 which is the correct name!
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 16 Jun 2015 06:45:26 +0100] rev 489
Fix in codegen for inlined sequence nodes.
For inlined sequence nodes, generate nested ifs rather than sequential code which
does not work when inlined. The reason is that #codeReturn: in inline generates
instvar assignment, not method return, so in sequential code the next child of a sequence
will be probed even if previous failed. If that happends, the whole sequence fail and therefore
we must generate nested ifs to correctly handle this w.r.t. inlining.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 15 Jun 2015 19:13:49 +0100] rev 488
Avoid creation of intermediate collection for mapped action nodes.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 15 Jun 2015 18:00:44 +0100] rev 487
Fix in codegen: fixed compilation of unknown node: do not hardcode return variable name
...use `self retvalVar` instead
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 15 Jun 2015 17:47:38 +0100] rev 486
Renamed #codeStoreValueOf:intoVariable: to #codeAssignParsedValueOf:to:
to use same naming as #codeAssign:to:
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 15 Jun 2015 17:12:54 +0100] rev 485
Fixed codegen for empty (mapped) action block.
Although empty blocks are useless in practice, they may occur (and do occur in tests)
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 05 Jun 2015 00:05:08 +0100] rev 484
Do not create intermediate collection when parsing sequence if not necesary.
The collection is not needed when the result of a choice is being used in mapped parser.
In that case, store parsed objects in variables and inline action code to use these variables
to access parsed objects.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 03 Jun 2015 09:06:49 +0100] rev 483
Oops, fixed subproject definition (wrong package names)
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 03 Jun 2015 08:48:59 +0100] rev 482
Updated .mcz exporting code to include a commit message digest
...instead of just exported revision commit message.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 03 Jun 2015 06:23:49 +0100] rev 481
Introduced PPCMappedActionNode for PPMappedActionParser.
It's compilation is not yet ideal, bot works for now.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 02 Jun 2015 17:25:57 +0100] rev 480
Introduced PPMappedActionParser, a specialized parser for map:ped actions.
In order to compile nicer code, compiler has to be able to tell between
simple (==>) action parser and mapped (map:) action parser.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 02 Jun 2015 00:16:55 +0100] rev 479
Action inlining [1/x]: Initial support for inlining actions parsers (i.e., ==>)
The code of the action is now inlined into parsing method rather then delegated to
stored block. Mapping parser (i.e., map:[...]) are not supported and not detected, so
using them cause crash. This will be fixed later.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 01 Jun 2015 23:15:52 +0100] rev 478
Codegen refactoring [2/x]: Added PPCCompiler>>codeIf:then:else:
this allows for more structured coding of conditionals. then/else code is evaluated
inside new block so it may allocate its own temporaries.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 01 Jun 2015 22:02:17 +0100] rev 477
Codegen refactoring [1/x]: Introduced a PPCCodeBlock
A PPCCodeBlock is an abstraction of a block of statements with temporaries. This will
allow for scoped temporary management in code generator - temporary variables could
be allocated for block only. (i.e., make them block-temporaries)
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 29 May 2015 07:25:31 +0100] rev 476
Fixed choice inlining.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 27 May 2015 08:37:09 +0100] rev 475
Add inspector tab to present parser tree.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 27 May 2015 03:30:35 +0100] rev 474
More fixes for inlining of nodes
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 26 May 2015 07:27:15 +0100] rev 473
Oops, merged code which contained Pharoism's
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 25 May 2015 02:49:22 +0100] rev 472
Avoid using of a bridge parser for top-most composite parser
...by converting PPCompositeParser to PPCDelegatePrser.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 22 May 2015 18:08:30 +0100] rev 471
Added two more tests for inlining
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 22 May 2015 17:06:30 +0100] rev 470
Added inspector representation to show PPC node tree.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 21 May 2015 17:19:17 +0100] rev 469
Oops. re-added classes lost during merge...
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 21 May 2015 15:49:26 +0100] rev 468
Indent by 4 spaces on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 21 May 2015 15:35:26 +0100] rev 467
Fixed code generation for deterministic choice w.r.t inlining
For PPCDeterministicChoiceNode generate code in form
if ()
else if ()
else if ()
else error
instead of sequence of ifs. The former is safe w.r.t inlining.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 21 May 2015 14:43:38 +0100] rev 466
Fixed MNU in PPCSpecializingVisitor>>visitTrimmingTokenNode: node
Set child of PPCTrimmingCharacterTokenNode before setting name
as child is used to compute meaningful name.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 21 May 2015 14:35:34 +0100] rev 465
Merge
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 21 May 2015 14:12:22 +0100] rev 464
Updated to PetitCompiler-JanKurs.118, PetitCompiler-Tests-JanKurs.46, PetitCompiler-Extras-Tests-JanKurs.11, and PetitCompiler-Benchmarks-JanKurs.11
Name: PetitCompiler-JanKurs.118
Author: JanKurs
Time: 13-05-2015, 03:59:01.292 PM
UUID: 4a8ccd94-3131-4cc7-9098-528f8e5ea0b5
Name: PetitCompiler-Tests-JanKurs.46
Author: JanKurs
Time: 04-05-2015, 04:25:06.162 PM
UUID: 9f4cf8b7-876e-4a13-9579-b833f016db66
Name: PetitCompiler-Extras-Tests-JanKurs.11
Author: JanKurs
Time: 13-05-2015, 04:27:27.940 PM
UUID: e9f30c31-fbd0-4e96-ad2a-868f88d20ea8
Name: PetitCompiler-Benchmarks-JanKurs.11
Author: JanKurs
Time: 13-05-2015, 02:21:49.932 PM
UUID: 6a23fd1e-a86f-46db-8221-cc41b778d32c
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 20 May 2015 16:47:52 +0100] rev 463
Small improvement in inlining: inline child of an action node.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 16 May 2015 19:21:00 +0100] rev 462
Added benchmark of a smalltalk parser with empty actions.
This is used to check the cost of compiled actions
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