• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
12012-06-26  Benjamin S Wolf  <jokeserver+antlr3@gmail.com>
2
3	Initial Python3 target, branched from the Python target by Benjamin
4	Niemann, with lots of code cleanup and minor refactoring.
5
6	* CodeGenerator.java, Python3.stg:
7	Generated code now uses set notation for setTest, rather than long
8	conditionals like "a == FOO or a == BAR or 10 <= a <= 12". This is
9	a (slight) performance improvement.
10
11	* tokens.py:
12	Token objects no longer have get/set methods for their attributes as I
13	switched them to use @property instead. The attributes should be accessed
14	directly.
15
16	* tokens.py, Python3.stg:
17	Fix a circular dependency in generated parsers, and give Token objects the
18	ability to return their typeName when asked for it. (The generated
19	recognizer gives Token the mapping from token type to type name.)
20
212007-11-03  Benjamin Niemann  <pink@odahoda.de>
22
23	* PythonTarget.java, dfa.py, exceptions.py, recognizer.py, streams.py:
24	ANTLRStringStream.LA() now returns the character's ordinal and
25	generated lexers operate on integers. Also made various performance
26	tunings.
27
282007-10-07  Benjamin Niemann  <pink@odahoda.de>
29
30	* main.py, Python.stg (outputFile): Added simple __main__ section to
31	generated code, so (simple) grammars can be executed as standalone
32	script.
33
34	* tree.py (RecognitionException.extractInformationFromTreeNodeStream),
35	exceptions.py (CommonTree): Small bugfixes.
36
372007-09-30  Benjamin Niemann  <pink@odahoda.de>
38
39	* recognizers.py (TokenSource): Added iterator interface to TokenSource
40	class - and thus to Lexer.
41
422007-06-27  Benjamin Niemann  <pink@odahoda.de>
43
44	* Python.stg (genericParser, parser, treeParser): Use correct @init
45	action block for tree parsers.
46
472007-05-24  Benjamin Niemann  <pink@odahoda.de>
48
49	* Python.stg (rule): Added support for @decorate {...} action for
50	parser rules to add decorators to the rule method.
51
522007-05-18  Benjamin Niemann  <pink@odahoda.de>
53
54	* Python.stg (isolatedLookaheadRangeTest, lookaheadRangeTest):
55	Minor improvement of generated code (use '<lower> <= <LA> <= <upper>'
56	instead of '<LA> >= <lower> and <LA> <= <upper>').
57
58
59