[antlr-interest] ANTLR 3.1b1 released!

Anderson Lizardo anderson.lizardo at gmail.com
Sat May 24 08:40:05 PDT 2008


On Tue, May 20, 2008 at 10:25 PM, Terence Parr <parrt at cs.usfca.edu> wrote:
> Get it while it's hot:
>
> http://www.antlr.org/download/antlr-3.1b1.tar.gz

As a side note, I did run both unit and functional tests for the
Python target. It all went well, except for these four tests:

======================================================================
ERROR: testMalformedInput1 (t012lexerXML.t012lexerXML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/t012lexerXML.py", line 12, in setUp
    self.compileGrammar('t012lexerXMLLexer.g')
  File "tests/testbase.py", line 175, in compileGrammar
    grammar = open(grammarPath, 'r').read()
IOError: [Errno 2] No such file or directory:
'/home/lizardo/build/src/antlr/antlr-3.1b1/runtime/Python/tests/t012lexerXMLLexer.g'

======================================================================
ERROR: testMalformedInput2 (t012lexerXML.t012lexerXML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/t012lexerXML.py", line 12, in setUp
    self.compileGrammar('t012lexerXMLLexer.g')
  File "tests/testbase.py", line 175, in compileGrammar
    grammar = open(grammarPath, 'r').read()
IOError: [Errno 2] No such file or directory:
'/home/lizardo/build/src/antlr/antlr-3.1b1/runtime/Python/tests/t012lexerXMLLexer.g'

======================================================================
ERROR: testMalformedInput3 (t012lexerXML.t012lexerXML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/t012lexerXML.py", line 12, in setUp
    self.compileGrammar('t012lexerXMLLexer.g')
  File "tests/testbase.py", line 175, in compileGrammar
    grammar = open(grammarPath, 'r').read()
IOError: [Errno 2] No such file or directory:
'/home/lizardo/build/src/antlr/antlr-3.1b1/runtime/Python/tests/t012lexerXMLLexer.g'

======================================================================
ERROR: testValid (t012lexerXML.t012lexerXML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/t012lexerXML.py", line 12, in setUp
    self.compileGrammar('t012lexerXMLLexer.g')
  File "tests/testbase.py", line 175, in compileGrammar
    grammar = open(grammarPath, 'r').read()
IOError: [Errno 2] No such file or directory:
'/home/lizardo/build/src/antlr/antlr-3.1b1/runtime/Python/tests/t012lexerXMLLexer.g'

----------------------------------------------------------------------

It seems the "t012lexerXMLLexer.g" grammar file is missing on the tarball.

Regards,
-- 
Anderson Lizardo


More information about the antlr-interest mailing list