forked from bonzini/smalltalk
/
ChangeLog
1092 lines (706 loc) · 32.6 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2012-10-02 Holger Freyther <holger@freyther.de>
* GSTParser.st: Change GSTFileInParser>>#parseClassTag to parse
more complicated pragmas.
2012-09-29 Holger Freyther <holger@freyther.de>
* RBParser.st: Add RBScanner>>#digitValue:.
* SqueakParser.st: Reimplement SqueakFileInScanner>>#digitValue:,
SqueakFileInScanner>>#isDigit:base:. Parsing of 16rff is now
possible.
2012-09-09 Holger Freyther <holger@freyther.de>
* STLoaderObjs.st: Add LoadedBehavior>>#article.
2011-11-10 Gwenael Casaccio <mrgwen@gmail.com>
Paolo Bonzini <bonzini@gnu.org>
* STSymTable.st: Use #scopeDictionary.
2011-09-26 Paolo Bonzini <bonzini@gnu.org>
* GSTParser.st: Do not shortcut evaluation of class tags to
#evaluateMessageOn:selector:arguments:.
2011-09-24 Holger Hans Peter Freyther <holger@freyther.de>
* STCompiler.st: Do not attempt inlining of #to:do: if the
block argument is not a literal.
2011-09-24 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Do not attempt inlining of boolean methods if
the arguments are not literal blocks. Reported by Holger
Freyther.
2011-04-21 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Compile nil, true and false using short sequences.
This also avoids that nil is entered in the literals table,
for example when compiling "x := nil".
2011-04-21 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Fix detection of return at the end of a "then"
branch.
2011-04-21 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Fix and extract inlining of #repeat.
* STCompLit.st: Enable it.
2011-04-21 Paolo Bonzini <bonzini@gnu.org>
* STSymTable.st: Add and use LiteralDictionary.
2011-02-06 Holger Hans Peter Freyther <holger@freyther.de>
* STLoader.st: Look through the return statement.
2010-12-13 Paolo Bonzini <bonzini@gnu.org>
* STFileParser.st: Add return tag to doits, thus fixing
Behavior>>#evaluate: when using the STInST compiler.
* GSTParser.st: Look beyond return tag.
* SIFParser.st: Look beyond return tag.
* SqueakParser.st: Look beyond return tag.
2010-12-04 Paolo Bonzini <bonzini@gnu.org>
* package.xml: Remove now superfluous <file> tags.
2010-10-16 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: Add UndefinedClassWarning and use it to return
a (not quite) reasonable value from UndefinedClass>>#superclass.
2010-09-13 Holger Hans Peter Freyther <zecke@selfish.org>
* GSTParser.st: GSTFileInParser>>parseClassTag pass the argument
as a Smalltalk object.
2010-08-26 Paolo Bonzini <bonzini@gnu.org>
* STLoader.st: Resolve PPFailure classSide properly. #classSide was
added in to Squeak in 2004 and is used in packages like PetitParser
and Magritte.
2010-08-26 Holger Hans Peter Freyther <zecke@selfish.org>
* SqueakParser.st: Handle binary selector with more than two
charachters. This is required for ANSI Smalltalk and will allow
to import PetitParser.
2010-06-22 Gwenael Casaccio <mrgwen@gmail.com>
* RBParser.st: Accept non-decimal floats.
2010-06-22 Paolo Bonzini <bonzini@gnu.org>
* STEvaluationDriver.st: New, moved from Compiler package.
2010-06-17 Paolo Bonzini <bonzini@gnu.org>
* RBToken.st: Add #isValue.
* RBParser.st: Use it.
2010-03-01 Gwenael Casaccio <mrgwen@gmail.com>
* STDecompiler.st: Fix some errors.
2010-01-01 Paolo Bonzini <bonzini@gnu.org>
* Update copyright years.
2009-10-27 Lee Duhem <lee.duhem@gmail.com>
Paolo Bonzini <bonzini@gnu.org>
* Extensions.st: Add #formattedSourceStringAt:ifAbsent:.
2009-10-02 Paolo Bonzini <bonzini@gnu.org>
* OldSyntaxExporter.st: Fix emission of nil categories.
2009-09-13 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: Implement #inheritShape and #kindOfSubclass.
Implement #shape for proxy classes, default it to nil.
2009-09-10 Paolo Bonzini <bonzini@gnu.org>
* OldSyntaxExporter.st: Remove category pragmas.
2009-09-10 Paolo Bonzini <bonzini@gnu.org>
* SqueakExporter.st: Fix filing out uncommented classes.
2009-09-10 Paolo Bonzini <bonzini@gnu.org>
* NewSyntaxExporter.st: Remove #fileOutHeader calls.
* OldSyntaxExporter.st: Remove #fileOutHeader calls.
2009-09-07 Paolo Bonzini <bonzini@gnu.org>
* Extensions.st: Fix pasto.
2009-09-07 Paolo Bonzini <bonzini@gnu.org>
* Exporter.st: Remove #fileOutHeader.
* Extensions.st: Place the header here.
2009-09-07 Paolo Bonzini <bonzini@gnu.org>
* NewSyntaxExporter.st: Do not write useless shape pragmas.
2009-07-27 Paolo Bonzini <bonzini@gnu.org>
* SqueakExporter.st: New.
2009-07-27 Paolo Bonzini <bonzini@gnu.org>
* OldSyntaxExporter.st: Group methods by category.
2009-07-27 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: Implement #isOldSyntax.
2009-07-27 Paolo Bonzini <bonzini@gnu.org>
* NewSyntaxExporter.st: Do not disable #initialize in
FormattingExporter.
2009-07-27 Paolo Bonzini <bonzini@gnu.org>
* OldSyntaxExporter.st: New.
2009-07-27 Paolo Bonzini <bonzini@gnu.org>
* Exporter.st: Extract parts to...
* NewSyntaxExporter.st: ... here
* Extensions.st: ... and here.
* package.xml: Update.
2009-07-07 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Fix new syntax categories, reported by Stefan
Schmiedl.
2009-06-07 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Send #asSourceCode to the method's source code.
* STFileParser.st: Define a MappedSourceCode class and use it instead
of MappedCollection. Define #segmentFrom:to: for Stream.
Define #asSourceCode for any object.
* STLoaderObjs.st: Remove #methodSourceString hack involving
MappedCollection.
2009-06-07 Paolo Bonzini <bonzini@gnu.org>
* GSTParser.st: Fix compilation of class variables.
2009-06-07 Paolo Bonzini <bonzini@gnu.org>
* GSTParser.st: Accept no period at end of class variable if before ].
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: Add more functionality to UndefinedMetaclass.
2008-07-28 Paolo Bonzini <bonzini@gnu.org>
* RBParser.st: Parse negative numbers as unary minus + number.
Simplify RBScanner>>#scanNumberValue; fix bugs in ScaledDecimals.
2008-05-18 Stephen Compall <scompall@nocandysw.com>
* GSTParser.st: Support namespace pragmas.
2008-05-17 Stephen Compall <scompall@nocandysw.com>
* PoolResolutionTests.st: Test for namespace shared pools.
2008-04-27 Stephen Compall <scompall@nocandysw.com>
* STSymTable.st: Create VariableBindings directly to add to
Undeclared; don't rely on it to convert plain Associations.
2008-04-25 Paolo Bonzini <bonzini@gnu.org>
* STFileParser.st: Create FileSegments with Files in it.
2008-04-25 Stephen Compall <scompall@nocandysw.com>
* PoolResolutionTests.st: Test the importation of shared pools and
class pools from superclasses, as well as that only the direct
superclass's namespaces are eliminated from the namespace walk.
* STSymTable.st: Factor pool binding search into a separate class
hierarchy, allowing global and class-by-class setting. By
default, use newly-created semantics for pool search.
* PoolResolutionTests.st: New file, testing the above.
2008-02-08 Stephen Compall <scompall@nocandysw.com>
* GSTParser.st: Always reverse a #methodsFor: with an
#endMethodList when compiling new-syntax methods.
2008-02-05 Paolo Bonzini <bonzini@gnu.org>
* SqueakParser.st: Fix parsing of binary message at end of chunk.
2008-02-05 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: Add missing method #methodFormattedSourceString
for polymorphism with CompiledMethod.
2008-01-27 Stephen Compall <scompall@nocandysw.com>
* Exporter.st: Comment or private-ize uncommented methods.
2008-01-18 Paolo Bonzini <bonzini@gnu.org>
* GSTParser.st: Don't add an existing namespace when parsing
"Namespace current: ... [ ]".
2008-01-18 Paolo Bonzini <bonzini@gnu.org>
* STLoader.st: Add #fullyDefinedLoadedClasses.
* STLoaderObjs.st: Add #fullyDefinedLoadedClasses.
2007-10-21 Paolo Bonzini <bonzini@gnu.org>
* Exporter.st: Add #methodFormattedSourceString and use it.
Add #parserClass.
* GSTParser.st: Support adding more instance variables to a class.
* RBParser.st: Add RBBracketedMethodParser.
* SIFParser.st: Send #noteOldSyntax to compiled methods.
* STFileParser.st: Return compiled methods from #compile:. Add
#resolveClass:. Send #noteOldSyntax to compiled methods.
* STLoader.st: Return compiled methods from #compile:.
* STLoaderObjs.st: Add dummy #noteOldSyntax method to LoadedMethod.
2007-10-13 Paolo Bonzini <bonzini@gnu.org>
* GSTParser.st: Invert true/false in previous checkin.
* STLoaderObjs.st: Extract category from parsed methods.
2007-10-12 Paolo Bonzini <bonzini@gnu.org>
* GSTParser.st: Don't replace instance variables except
in the first declaration inside a subclass declaration.
2007-10-08 Paolo Bonzini <bonzini@gnu.org>
* STFileParser.st: Look for EOF in #parseSmalltalk.
* GSTParser.st: Use #parseDoits instead of #parseSmalltalk. Leave
#parseDoits if looking at a close bracket.
2007-10-08 Paolo Bonzini <bonzini@gnu.org>
* GSTParser.st: Look for class extensions before "Namespace" blocks.
2007-10-05 Paolo Bonzini <bonzini@gnu.org>
* STLoader.st: Add no-category class creation methods.
* STLoaderObjs.st: Fix override of non-existent method in
UndefinedClass. Add no-category class creation methods.
2007-09-02 Stephen Compall <scompall@nocandysw.com>
* STCompiler.st: Jump past #true bytes after ifFalse: branch in
#ifFalse:ifTrue:, not #false bytes.
2007-08-20 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: User store+pop+push sequence for pushing literal
variables.
2007-08-13 Paolo Bonzini <bonzini@gnu.org>
* STLoader.st: Create undefined namespaces.
* STLoaderObjs.st: Support creating undefined classes in arbitrary
namespaces.
2007-08-13 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: Add one more #classPragmas implementation.
2007-08-12 Paolo Bonzini <bonzini@gnu.org>
* Exporter.st: Use #classPragmas to emit class metadata.
* RBFormatter.st: Use #storeLiteralOn:.
* STLoader.st: Support the CStruct creation method.
* STLoaderObjs.st: Likewise, and add #classPragmas.
2007-08-10 Paolo Bonzini <bonzini@gnu.org>
* RBParser.st: Convert to FloatD if there is no exponent.
2007-08-09 Paolo Bonzini <bonzini@gnu.org>
* STFileParser.st: Change #parseDoit: to #parseDoit, change
#parseStatements to include only the block it had inside, localize
MappedCollection hack in a single place.
* SIFParser.st: Change #parseStatements to #parseDoit.
* GSTParser.st: Override #evaluate: to include comments. Don't
create MappedCollection here. Split part of #parseStatements into
a #parseDoit override.
2007-08-08 Daniele Sciascia <daniele.sciascia@lu.unisi.ch>
* RBParser.st: Add #parseMethodInto:.
* STFileParser.st: Support "self evaluate: nil". Only skip "!"
after evaluating. Add #currentNamespace.
* STLoader.st: Handle #addClassVarName:value:.
* STLoaderObjs.st: Add #collectCategories.
* GSTParser.st: New.
2007-08-08 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: Override #isMetaclass together with #isClass.
2007-08-06 Paolo Bonzini <bonzini@gnu.org>
* STLoader.st: Accept a non-proxy namespace in #currentNamespace:.
Add #loadedClasses.
* STLoaderObjs.st: Ensure #nameIn: returns a string.
2007-07-18 Stephen Compall <scompall@nocandysw.com>
* STCompiler.st: Rename #compileString: et al to #primCompile:,
and change uses accordingly.
2007-07-17 Stephen Compall <scompall@nocandysw.com>
* STCompiler.st: Add #canCompile: to STCompiler class.
(#compileBoolean:) Don't put receiver's bytecodes if refusing to
optimize the given message send.
(#compileTimesRepeat:, #compileLoop:): Likewise.
2007-07-13 Paolo Bonzini <bonzini@gnu.org>
* STFileParser.st: Don't call #step before evaluating.
* SqueakParser.st: Refine ! parsing.
* STLoaderObjs.st: Add more methods required by converter.
2007-07-13 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: Fix PseudoBehavior>>#subclasses.
2007-07-12 Paolo Bonzini <bonzini@gnu.org>
* Exporter.st: Do not call #environment when not filing out the
complete class. Indentation fixes.
* STLoader.st: Create an UndefinedClass object if there is no
namespace and the class is not found in the current namespace.
* STLoaderObjs.st: Move methods variable up to PseudoBehavior.
Make metaclass of ProxyClass a ProxyClass itself. Add
UndefinedClass and UndefinedMetaclass. Turn subclasses of
PseudoBehavior into an OrderedCollection.
2007-07-12 Paolo Bonzini <bonzini@gnu.org>
* SqueakParser.st: Fix parsing of comments.
2007-06-27 Paolo Bonzini <bonzini@gnu.org>
* SIFParser.st: New.
* SqueakParser.st: Use super.
* STFileParser.st: Split part of #parseMethodDefinitionList
into a separate method.
* Exporter.st: Fix indentation of class-instance variables.
Don't emit form feed character.
2007-06-25 Paolo Bonzini <bonzini@gnu.org>
* STFileParser.st: Use #%.
2007-06-23 Stephen Compall <scompall@nocandysw.com>
* RBParseNodes.st (RBMethodNode>>#primitiveSources):
Handle MappedCollections as source instead of FileSegments.
* StartCompiler.st (STParserScanner): New class. Use it
to allow other parsers to rescan tokens from some parser.
(STEvaluationDriver>>#methodsFor:parsingWith:compiler:class:): Add
parsingWith: argument and handle separation of evaluate:/compile:
driver and parser.
(Behavior>>#methodsFor:ifTrue:): Send to the driver, not the parser.
2007-06-20 Paolo Bonzini <bonzini@gnu.org>
* STFileParser.st: Refactor part of #parseDoits into the
superclass.
2007-06-09 Paolo Bonzini <bonzini@gnu.org>
* Exporter.st: Use #parseNodeAt: to access the method
parse tree. Define it for Behavior and #methodParseNode for
CompiledMethod.
* STFileParser.st: Use MappedCollection trick for method
source too. Look at the token type to distinguish '!' from other
tokens.
* STLoaderObjs.st: Store an RBMethodNode in LoadedMethod
objects.
* STLoaer.st: Adjust for above change to LoadedMethod.
* SqueakParser.st: New.
2007-06-08 Paolo Bonzini <bonzini@gnu.org>
* RBParser.st: Move file-in related stuff...
* STFileParser.st: ... here. Add STParsingDriver hierarchy.
* STLoader.st: Make STInterpreter an STParsingDriver.
* StartCompiler.st: Rename STFileInParser to STEvaluationDriver
and make it a subclass of STParsingDriver.
2007-06-08 Paolo Bonzini <bonzini@gnu.org>
* Exporter.st: emit superclass name relative to namespace
of the current class.
* STLoader.st: track defaultNamespace as a proxy which is
set up at the *beginning* of the processing.
* STLoaderObjs.st: redefine PseudoBehavior>>#nameIn: as it is
done for PseudoNamespace.
2007-06-07 Paolo Bonzini <bonzini@gnu.org>
* RBParser.st: Really fix doit parsing.
2007-06-07 Paolo Bonzini <bonzini@gnu.org>
* RBFormatter.st: Add #formatAll:.
* RBParser.st: Fixes to doit parsing.
2007-05-25 Paolo Bonzini <bonzini@gnu.org>
* Exporter.st: Fix output spacing.
2007-05-25 Daniele Sciascia <sciascid@lu.unisi.ch>
* Exporter.st: New.
* STLoaderObjs.st: Eliminate file-out code.
2007-05-25 Daniele Sciascia <sciascid@lu.unisi.ch>
* RBFormatter.st: fix various bugs. Reformat method comments.
Support varying the overall indentation.
* RBParseNodes.st: store category in RBMethodNode.
* RBParser.st: support storing a method category. Rewrite
parseDoits to deal with comments correctly (almost).
* RBToken.st: fix bug in handling of #{...}.
* STLoader.st: Replace #unknownTo:selector:arguments:
with #unknown:. Store a proxy for the nil superclass. Add various
methods used by the converter.
* STLoaderObjs.st: Add ProxyNilClass. Store selector in
LoadedMethod. Add various #copyEmpty: methods.
2007-05-24 Paolo Bonzini <bonzini@gnu.org>
* ParseTreeSearcher.st: Add #capacity to RBSmallDictionary.
2007-05-24 Paolo Bonzini <bonzini@gnu.org>
* RBParseNodes.st: Wasn't thinking straight when I made
the last change.
2007-05-23 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: Don't use TokenStream.
2007-05-23 Paolo Bonzini <bonzini@gnu.org>
* RBParseNodes.st: Add #deepCopy. Our #copy is as deep
as it needs to be.
2007-05-22 Stephen Compall <scompall@nocandysw.com>
Paolo Bonzini <bonzini@gnu.org>
* RewriteTests.st: New.
* ParseTreeSearcher.st: Fix two bugs.
2007-05-14 Paolo Bonzini <bonzini@gnu.org>
* STLoader.st: Update for class shapes, add new methods.
* STLoaderObjs.st: Update for class shapes, add new methods.
2007-04-16 Stephen Compall <scompall@nocandysw.com>
Paolo Bonzini <bonzini@gnu.org>
* OrderedSet.st: Added (by Stephen Compall).
* STSymTable.st: Use it.
2007-04-08 Stephen Compall <scompall@nocandysw.com>
* STSymTable.st: Add superclass environments and shared
pools to global variable search.
* RBParser.st: Reset `tags' instance variable before each
method parse in a method definition list.
2007-03-19 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Remove unused class variable.
* STLoader.st: Likewise.
* STSymTable.st: Likewise.
2007-02-18 Stephen Compall <scompall@nocandysw.com>
* RBParseNodes.st: Fix off-by-one in
RBMethodNode>>#primitiveSources when source is a FileSegment.
2007-01-31 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Avoid that #compileAttribute: shadows
an instance variable with a temporary.
2007-01-12 Stephen Compall <scompall@nocandysw.com>
* ParseTreeSearcher.st: Use the visit*:onMatch: variants
of visit*: in accept*Node: methods of ParseTreeRewriter. Add
visitNode:onMatch:.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* ParseTreeSearcher.st: Refine the previous refactoring.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
Stephen Compall <s11@member.fsf.org>
* ParseTreeSearcher.st: Refactor in order to not modify
the parse trees when nothing changes.
2007-01-10 Paolo Bonzini <bonzini@gnu.org>
* ParseTreeSearcher.st: Port RBSmallDictionary to GNU
Smalltalk. #copy and causing the dictionary to grow failed.
Reported by Stephen Compall.
2007-01-02 Paolo Bonzini <bonzini@gnu.org>
Stephen Compall <s11@member.fsf.org>
* RBParseNodes.st: Fix for stream-based compilation, where
a method's start offset is >1.
* RBParser.st: Add #currentToken accessor, and
the #parseBinaryMessageNoGreater hack.
* STCompiler.st: Compile method attributes.
2007-01-02 Stephen Compall <s11@member.fsf.org>
* STSymTable.st: Warn for shadowing variable, fix
"duplicate variable name" warning and turn it into an error.
2006-12-31 Paolo Bonzini <bonzini@gnu.org>
Stephen Compall <s11@member.fsf.org>
* STSymTable.st: Handle undeclared variables without a
path. Fix order of instance variables.
* STCompiler.st: Fix off-by-one error in compiling
RBArrayConstructorNodes.
* ParseTreeSearcher.st: Rename acceptArrayNode: to
acceptArrayConstructorNode:.
* RBFormatter.st: Likewise.
* RBParseNodes.st: Likewise.
2006-12-31 Paolo Bonzini <bonzini@gnu.org>
* STCompLit.st: Don't use "nil" slots from VMSpecialMethods.
* STCompiler.st: Remove dupReceiver. Adjust for above change.
Compile receiver in compileTimesRepeat: and compileLoop:, test for
receiver being a block in compileWhileLoop:. Extract part of
acceptMessageNode: to compileMessage:. Compile receiver in
acceptCascadeNode: and call compileMessage: to avoid compiling the
receiver of a cascaded message repeatedly (reported by Stephen Compall).
2006-12-05 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.3 released.
2006-12-05 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Pass current environment in evaluate:parser:,
add #compile:asMethodOf:classified:parser:environment: and don't inline
its functionality elsewhere.
* STParser.st: Parse leading _ as assignment.
* StartCompiler.st: Pass current environment when compiling
doits.
2006-09-15 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Rethink previous change.
2006-09-13 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: Adapt for new super send.
* StartCompiler.st: Support streams in #compile:
* STDecompiler: Don't use dead method nextByteCodeIndex:,
add new hook #lineNo:with:, rewrite #merge:, support #timesRepeat:
decompilation, fix case where return bytecodes leave the previous
sdtatement on the stack. Last but not least, adapt for new
super send.
2006-07-20 Paolo Bonzini <bonzini@gnu.org>
* StartCompiler.st: define #fileIn in Stream.
2006-07-17 Paolo Bonzini <bonzini@gnu.org>
* RBParser.st: support $<123> syntax.
2006-07-10 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: new class OverlayDictionary
allows to add extensions and redefinitions to base classes.
2003-09-24 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: adapt to new bytecode set.
Fix bugs and refactor the code along the way.
2003-09-13 Paolo Bonzini <bonzini@gnu.org>
* STDecompiler.st: remove unused callbacks for
disassembling bytecodes.
2003-06-22 Paolo Bonzini <bonzini@gnu.org>
* STSymTable.st: use STVariables to store instance
variables.
* STCompiler.st: check whether storing is allowed
for every variable.
2003-06-05 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: compile blocks by pushing
the CompiledBlock directly.
2003-05-09 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.1.2 released.
2003-04-17 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.1.1 (stable) released.
2003-04-12 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.1 (stable) released.
2003-01-04 Paolo Bonzini <bonzini@gnu.org>
* RBParser.st: provide default implementation
for #evaluate:
2002-11-15 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: compile RBOptimizedNodes
2002-10-08 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: adapt to recent changes
in the layout of Namespace.
2002-09-21 Paolo Bonzini <bonzini@gnu.org>
* STDecompiler.st: new file
2002-09-13 Paolo Bonzini <bonzini@gnu.org>
*** Versions 2.0c (development) and 2.0.6 (stable) released
* STSymTable.st: added namespace syntax support.
* STCompiler.st: pass `self' along to the
symbol table.
* test.st: test namespace syntax
2002-09-13 Paolo Bonzini <bonzini@gnu.org>
* RBParser.st: added namespace syntax support.
* STLoader.st: support namespace syntax.
2002-09-06 Paolo Bonzini <bonzini@gnu.org>
* RBTests.st: new file
2002-08-19 Paolo Bonzini <bonzini@gnu.org>
* STLoader.st: separate into a superclass,
STInterpreter, and a subclass (the old STClassLoader)
2002-08-14 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.0.5 (stable) released
2002-08-12 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.0b (development) released
2002-08-07 Paolo Bonzini <bonzini@gnu.org>
*** Versions 2.0a (development) and 2.0.4 (stable) released
2002-07-17 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.0.3 released
2002-07-15 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: rewritten as a RBProgramNodeVisitor
* STLoader.st: modified to use RBProgramNodes
* RBFormatter.st: added hacks to print #{...}
* RBToken.st: added hacks to resolve #{...} at
compile-time
* RBParseNodes.st: added hacks to resolve #{...} at
compile-time
2002-07-14 Paolo Bonzini <bonzini@gnu.org>
* RBParser.st: ported
* RBParseNodes.st: ported
* RBFormatter.st: ported
* ParseTreeSearcher.st: ported
* RBToken.st: ported
* STParser.st: part deleted, part moved to StartCompiler.st
* STParseNodes.st: deleted
* STTok.st: deleted
* STToken.st: deleted
* STFormatter.st: deleted
* STVisitor.st: deleted
2002-07-11 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.0.2 released
2002-07-03 Paolo Bonzini <bonzini@gnu.org>
* STTok.st: parse scaled decimal literals correctly.
2002-06-28 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.0.1 released
2002-06-25 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.0 released
2002-05-11 Paolo Bonzini <bonzini@gnu.org>
*** Version 1.96.6 released
2002-04-14 Paolo Bonzini <bonzini@gnu.org>
*** Version 1.96.5 released
2002-03-12 Paolo Bonzini <bonzini@gnu.org>
*** Version 1.96.4 released
2002-01-29 Paolo Bonzini <bonzini@gnu.org>
*** Version 1.96.3 released.
2002-01-04 Paolo Bonzini <bonzini@gnu.org>
*** Version 1.96.2 released
2002-01-02 Paolo Bonzini <bonzini@gnu.org>
* Load.st: put everything in the STInST namespace
* StartCompiler.st: use the STInST namespace
2001-12-11 Paolo Bonzini <bonzini@gnu.org>
* STLoaderObjs.st: implement #= and #hash for ProxyClass
and ProxyNamespace.
* STParser.st: compile correctly { a. b. } (with
a dot before the closed brace).
2001-12-01 Paolo Bonzini <bonzini@gnu.org>
* STParser.st: compute FileSegments correctly
(include the first token in the selector and don't include
the bang)
2001-11-29 Paolo Bonzini <bonzini@gnu.org>
* STParser.st: parse arrays according to the ANSI
standard.
* STLoader.st: new file
* STLoaderObjs.st: new file
2001-11-20 Paolo Bonzini <bonzini@gnu.org>
*** Version 1.96.1 released
* test.st: moved from unsupported/misc/Compiler.st
2001-11-13 Paolo Bonzini <bonzini@gnu.org>
* STFormatter.st: prefixed # to symbols in arrays
* STTok.st: prefixed # to symbols in arrays
* STToken.st: prefixed # to symbols in arrays
2001-02-23 Paolo Bonzini <bonzini@gnu.org>
*** Released version 1.95.3
2001-02-19 Paolo Bonzini <bonzini@gnu.org>
* STParser.st: use the ability of #perform: &
friends to receive a CompiledMethod as their first parameter.
* STCompiler.st: added #compiled:asMethodOf:classified:parser:
which does not install the new CompiledMethod in the Behavior
specified in the second parameter.
* STCompiler.st: fixed a few compilation bugs
(cascades, #whileTrue:, outer temporaries).
* STCompLit.st: StoreVariable and PopStoreVariable
were inverted.
* StartCompiler.st: support pluggable parser &
compiler classes
* STParser.st: support pluggable parser &
compiler classes
2001-01-31 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: compile STBindingNodes.
* STParseNodes.st: defined STBindingNode.
* STParser.st: generate STBindingNode.
* STVisitor.st: defined #variableBinding: visiting method.
* STFormatter.st: defined #variableBinding: visiting method.
2001-01-30 Paolo Bonzini <bonzini@gnu.org>
*** Released version 1.95.1
2000-11-01 Paolo Bonzini <bonzini@gnu.org>
* STToken.st: added STOpenBraceTok and STCloseBraceTok.
* STTok.st: recognize STOpenBraceTok and STCloseBraceTok.
* STParser.st: generate STArrayNodes.
* STParseNodes.st: defined STArrayNode.
* STCompiler.st: compile STArrayNodes.
* STVisitor.st: defined #braceArray: visiting method.
* STFormatter.st: defined #braceArray: visiting method.
2000-08-08 Paolo Bonzini <bonzini@gnu.org>
* STParseNodes.st: refactored STBlockNode and STMethodBodyNode
to have a common superclass, STCompoundNode.
Implemented STCompundNode.
* STCompiler.st: modified compilation of conditionals to
please the JIT compiler (see libgst/ChangeLog).
2000-07-02 Paolo Bonzini <bonzini@gnu.org>
* STTok.st: parse scaled decimal correctly
2000-06-17 Paolo Bonzini <bonzini@gnu.org>
*** Released versions 1.95 (development) and 1.7.5 (stable)
2000-04-12 Paolo Bonzini (bonzini@gnu.org)
* STVisitor.st: added support for comments
2000-04-10 Paolo Bonzini (bonzini@gnu.org)
* STFormatter.st: created
* STVisitor.st: added STVisitingParser
1999-12-31 Paolo Bonzini <bonzini@gnu.org>
* STFileInParser.st: split between STParser.st and
StartCompiler.st (so that the class itself is loaded together with
the Parser package, even though it is not activated).
* STSymTable.st: use an IdentitySet for storing pool
dictionaries.
1999-12-27 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: new way of compiling blocks.
1999-12-21 Paolo Bonzini <bonzini@gnu@org>
* STParser.st: added STPluggableParser, derivated from
the syntax highlighter.
1999-12-05 Paolo Bonzini <bonzini@gnu.org>
* STTok.st: parse stuff like 1.0d53 and 1.0q212 correctly
even though FloatD/FloatE/FloatQ is not supported yet.
1999-11-11 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: added another delegation method for warnings.
* STParser.st: added warnings (nothing is done with them yet,
but the methods are there).
* STSymTable.st: duplicate var names produce a warning.
1999-10-30 Paolo Bonzini <bonzini@gnu.org>
* STParser.st: save the last STParseNode that was generated
* STParseNode.st: added the `comments' variable
1999-10-22 Paolo Bonzini <bonzini@gnu.org>
* STSymTable.st: fixed bug with undeclared variables (error
when the undeclared variable's name had not been interned as a symbol)
* STVisitor.st: created
* Load.st: load STVisitor.st
1999-10-13 Paolo Bonzini <bonzini@gnu.org>
* STParser.st: added ability to read comment tokens and
removed methods that test for particular kinds of tokens
(#isBinaryOperator: and #isSymbolId:)
* STTok.st: now passes comment tokens to STParser
* STToken.st: reworked token hierarchy to add polymorphic
methods that replace STParser's old #isBinaryOperator: and
#isSymbolId:. Hope to get not only elegance, but also a bit of
speed.
1999-10-11 Paolo Bonzini <bonzini@gnu.org>
* STSymTable.st: added code to handle `Undeclared'.
* STFileInParser.st: tell STSymbolTable to recognize
`Undeclared' inside file-ins.
1999-09-11 Paolo Bonzini <bonzini@gnu.org>
* STSymTable.st: implementation of namespaces
1999-09-02 Paolo Bonzini <bonzini@gnu.org>
* STParser.st: added support for [ :a :b || temp1 temp2 | ].
1999-05-13 Paolo Bonzini <bonzini@gnu.org>
* STCompLit.st: First changes to support loop optimization
* STCompiler.st: First changes to support loop optimization
* STParseNodes.st: First changes to support loop optimization
1999-04-22 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: modified to support recent changes in the
bytecode set.
* STCompLit.st: same as above.
1999-03-03 Paolo Bonzini <bonzini@gnu.org>
* STCompiler.st: added stack depth tracing.
1999-02-16 Paolo Bonzini <bonzini@gnu.org>
* STCompLit.st: added support for > 64 literals
(BigLiteral)
* STCompiler.st: added support for > 64 literals
(compileBigLiteral:)
1999-02-14 Paolo Bonzini <bonzini@gnu.org>