Home | History | Annotate | Download | only in Python3
      1 2012-06-26  Benjamin S Wolf  <jokeserver+antlr3 (a] 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 
     21 2007-11-03  Benjamin Niemann  <pink (a] 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 
     28 2007-10-07  Benjamin Niemann  <pink (a] 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 
     37 2007-09-30  Benjamin Niemann  <pink (a] odahoda.de>
     38 
     39 	* recognizers.py (TokenSource): Added iterator interface to TokenSource
     40 	class - and thus to Lexer.
     41 
     42 2007-06-27  Benjamin Niemann  <pink (a] odahoda.de>
     43 
     44 	* Python.stg (genericParser, parser, treeParser): Use correct @init
     45 	action block for tree parsers.
     46 
     47 2007-05-24  Benjamin Niemann  <pink (a] odahoda.de>
     48 
     49 	* Python.stg (rule): Added support for @decorate {...} action for
     50 	parser rules to add decorators to the rule method.
     51 
     52 2007-05-18  Benjamin Niemann  <pink (a] 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