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