xref: /aosp_15_r20/external/antlr/runtime/Python/ChangeLog (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1*16467b97STreehugger Robot2007-11-03  Benjamin Niemann  <[email protected]>
2*16467b97STreehugger Robot
3*16467b97STreehugger Robot	* PythonTarget.java, dfa.py, exceptions.py, recognizer.py, streams.py:
4*16467b97STreehugger Robot	ANTLRStringStream.LA() now returns the character's ordinal and
5*16467b97STreehugger Robot	generated lexers operate on integers. Also made various performance
6*16467b97STreehugger Robot	tunings.
7*16467b97STreehugger Robot
8*16467b97STreehugger Robot2007-10-07  Benjamin Niemann  <[email protected]>
9*16467b97STreehugger Robot
10*16467b97STreehugger Robot	* main.py, Python.stg (outputFile): Added simple __main__ section to
11*16467b97STreehugger Robot	generated code, so (simple) grammars can be executed as standalone
12*16467b97STreehugger Robot	script.
13*16467b97STreehugger Robot
14*16467b97STreehugger Robot	* tree.py (RecognitionException.extractInformationFromTreeNodeStream),
15*16467b97STreehugger Robot	exceptions.py (CommonTree): Small bugfixes.
16*16467b97STreehugger Robot
17*16467b97STreehugger Robot2007-09-30  Benjamin Niemann  <[email protected]>
18*16467b97STreehugger Robot
19*16467b97STreehugger Robot	* recognizers.py (TokenSource): Added iterator interface to TokenSource
20*16467b97STreehugger Robot	class - and thus to Lexer.
21*16467b97STreehugger Robot
22*16467b97STreehugger Robot2007-06-27  Benjamin Niemann  <[email protected]>
23*16467b97STreehugger Robot
24*16467b97STreehugger Robot	* Python.stg (genericParser, parser, treeParser): Use correct @init
25*16467b97STreehugger Robot	action block for tree parsers.
26*16467b97STreehugger Robot
27*16467b97STreehugger Robot2007-05-24  Benjamin Niemann  <[email protected]>
28*16467b97STreehugger Robot
29*16467b97STreehugger Robot	* Python.stg (rule): Added support for @decorate {...} action for
30*16467b97STreehugger Robot	parser rules to add decorators to the rule method.
31*16467b97STreehugger Robot
32*16467b97STreehugger Robot2007-05-18  Benjamin Niemann  <[email protected]>
33*16467b97STreehugger Robot
34*16467b97STreehugger Robot	* Python.stg (isolatedLookaheadRangeTest, lookaheadRangeTest):
35*16467b97STreehugger Robot	Minor improvement of generated code (use '<lower> <= <LA> <= <upper>'
36*16467b97STreehugger Robot	instead of '<LA> >= <lower> and <LA> <= <upper>').
37*16467b97STreehugger Robot
38*16467b97STreehugger Robot
39