ANTLR 2.7.5
Sponsored Links
ANTLR 2.7.5 Ranking & Summary
File size:
0.88 MB
Platform:
Any Platform
License:
Public Domain
Price:
Downloads:
1678
Date added:
2005-04-22
Publisher:
Terence Parr
ANTLR 2.7.5 description
ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions.
ANTLR provides excellent support for tree construction, tree walking, and translation. There are currently about 5,000 ANTLR source downloads a month.
Enhancements:
Java CHANGES
- moved consume(); consumeUntil(...) to recover() method you can override in parsers only. New method signature: public void recover(BitSet tokenSet) throws TokenStreamException;
- CommonASTWithHiddenTokens fixed tree builders copy hidden tokens
- ASTFactory; added overloaded method public void setASTNodeClass(Class c);
- default charVocabulary is 0..127 for ASCII range. ~n, for example, gave really wacky results since charVocabulary had no defined range.
- BaseAST.equals() didnt work when node text was null.
- LLkParser.consume now throws TokenStreamException as Parser.consume does.
C++ changes:
- Added TokenStreamRewriteEngine C++ port + example.
- Fixes for sign extension problems that sneaked in 2.7.4.
- Fixes for some quoting bugs in C++ codegeneration.
- Fixes for some wrong extensions in generated docbook and HTML files (for -html/-docbook commandline options).
- Made codegenerator more unicode friendly.
- Tweaks for preliminary UTF8 support. Includes an example that is capable of parsing UTF8 input (more proof of concept than what is to be). (Using a custom InputBuffer and CharScanner). *Feedback on this is appreciated.*
- Fixed codegeneration bug (a..z!) would trigger generation of invalid C++ code.
- Added missing warning for redefinition of AST types for nodes. (Thanks to Sergey Bogdanov)
- Bugfix for AST factory initialization code.
- Fixed default argument mangling for generated rule methods.
- Fixed sign extension problem in error messages in support lib (triggered by MSVC)
- Fixed type generated for saveIndex and _begin variables. Thanks to Brad Schick for the patch.
- getFilename/Line/Column methods added to TokenStreamRecognitionException (thanks to Heinz Beckers)
- Added lexer states to the flex lexer example. It now seems to parse the same set of java as the other antlr java parsers.
- Small tweaks to include files.
- Doc tweaks.
- Revised configure/makefiles by Wolfgang Haefelinger.
C# Changes
Changes for C# support (by Anthony Oguntimehin, Kunle Odutola & Micheal Jordan):
- Factored out IToken and IHiddenStreamToken interfaces.
- ASTPair now supports a protocol for reusing instances. Generated C# code creates far fewer ASTPair instances.
- The values of LA(1) and LA(2) are now cached in lexers
- ASTArray creation/usage replaced with C# variable length parameter lists. ASTArray remains for backwards compatibility only.
- Several bugfixes in antlr.debug to better support ParseView-style tools [Suggested by Eric Taucher.]
- Updated the C# code generator to generate code that uses use cached LA(x) values, reuses ASTPair instances, and uses the new IToken and IHiddenStreamToken interfaces
- Re-organised the ANTLR runtime library for the .NET platform. Library is now packages as two assemblies:
- antlr.runtime.dll - required, core library types and functionality
- antlr.astframe.dll - optional, types and functionality for displaying astframes
- The upshot of all this is that projects that dont need the ASTFrame functionality arent forced to load the System.Drawing and System.Windows.Forms assemblies that it depends on.
- C# VS.NET solution and project files & names have been updated to 2.7.5. Also new project file for the astframe assembly.
- Updated the NAnt build file(s) to support building the new two-assembly runtime.
- Incorporated latest fixes for the java grammar into the C# java example project
- Updated runtime documentation to accomodate the new two-assembly C# runtime.
ANTLR provides excellent support for tree construction, tree walking, and translation. There are currently about 5,000 ANTLR source downloads a month.
Enhancements:
Java CHANGES
- moved consume(); consumeUntil(...) to recover() method you can override in parsers only. New method signature: public void recover(BitSet tokenSet) throws TokenStreamException;
- CommonASTWithHiddenTokens fixed tree builders copy hidden tokens
- ASTFactory; added overloaded method public void setASTNodeClass(Class c);
- default charVocabulary is 0..127 for ASCII range. ~n, for example, gave really wacky results since charVocabulary had no defined range.
- BaseAST.equals() didnt work when node text was null.
- LLkParser.consume now throws TokenStreamException as Parser.consume does.
C++ changes:
- Added TokenStreamRewriteEngine C++ port + example.
- Fixes for sign extension problems that sneaked in 2.7.4.
- Fixes for some quoting bugs in C++ codegeneration.
- Fixes for some wrong extensions in generated docbook and HTML files (for -html/-docbook commandline options).
- Made codegenerator more unicode friendly.
- Tweaks for preliminary UTF8 support. Includes an example that is capable of parsing UTF8 input (more proof of concept than what is to be). (Using a custom InputBuffer and CharScanner). *Feedback on this is appreciated.*
- Fixed codegeneration bug (a..z!) would trigger generation of invalid C++ code.
- Added missing warning for redefinition of AST types for nodes. (Thanks to Sergey Bogdanov)
- Bugfix for AST factory initialization code.
- Fixed default argument mangling for generated rule methods.
- Fixed sign extension problem in error messages in support lib (triggered by MSVC)
- Fixed type generated for saveIndex and _begin variables. Thanks to Brad Schick for the patch.
- getFilename/Line/Column methods added to TokenStreamRecognitionException (thanks to Heinz Beckers)
- Added lexer states to the flex lexer example. It now seems to parse the same set of java as the other antlr java parsers.
- Small tweaks to include files.
- Doc tweaks.
- Revised configure/makefiles by Wolfgang Haefelinger.
C# Changes
Changes for C# support (by Anthony Oguntimehin, Kunle Odutola & Micheal Jordan):
- Factored out IToken and IHiddenStreamToken interfaces.
- ASTPair now supports a protocol for reusing instances. Generated C# code creates far fewer ASTPair instances.
- The values of LA(1) and LA(2) are now cached in lexers
- ASTArray creation/usage replaced with C# variable length parameter lists. ASTArray remains for backwards compatibility only.
- Several bugfixes in antlr.debug to better support ParseView-style tools [Suggested by Eric Taucher.]
- Updated the C# code generator to generate code that uses use cached LA(x) values, reuses ASTPair instances, and uses the new IToken and IHiddenStreamToken interfaces
- Re-organised the ANTLR runtime library for the .NET platform. Library is now packages as two assemblies:
- antlr.runtime.dll - required, core library types and functionality
- antlr.astframe.dll - optional, types and functionality for displaying astframes
- The upshot of all this is that projects that dont need the ASTFrame functionality arent forced to load the System.Drawing and System.Windows.Forms assemblies that it depends on.
- C# VS.NET solution and project files & names have been updated to 2.7.5. Also new project file for the astframe assembly.
- Updated the NAnt build file(s) to support building the new two-assembly runtime.
- Incorporated latest fixes for the java grammar into the C# java example project
- Updated runtime documentation to accomodate the new two-assembly C# runtime.
ANTLR 2.7.5 Screenshot
ANTLR 2.7.5 Keywords
ANTLR
ANTLR 2.7.5
LA
ASTPair
C#
support
new
added
fixed
java
ANTLR 2.7.5
Code Generators
Programming
Bookmark ANTLR 2.7.5
ANTLR 2.7.5 Copyright
WareSeeker periodically updates pricing and software information of ANTLR 2.7.5 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of ANTLR 2.7.5 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Rant is a flexible build tool. Free Download
Sarien project is a Sierra AGI interpreter for games like Kings Quest and Space Quest. Free Download
Aften is a simple, open-source, A/52 (AC-3) audio encoder. Free Download
Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL). Free Download
Teddy is an OpenGL-based 3D graphics library written in C++. Free Download
TARIFA aims to provide the atomic keyword to C/C++ for better support of concurrency programming. Free Download
DeadFTP is a graphical FTP client for GNOME featuring transfers resuming, a transfers queue, drap-n-drop, and proxy support. Free Download
eCorrei is a webmail system. Free Download
Latest Software
Popular Software
Favourite Software