* JavaCC Home Page- The Java Compiler Compiler
Formally known as Jack. A LL(k) parser generator from SunTest labs for generating recursive descent parsers and compilers that runs on both JDK 1.0.2 and JDK 1.1.
Comes with a bunch of grammars including both Java 1.0.2 and Java 1.1 as well as a couple of HTML grammars.
* JavaCUP Parser Generator
A "Java based Constructor of Useful Parsers (CUP for short)" for generating LALR parsers from simple specifications, similar to YACC.
* Java-Lex: A Lexical Analyzer Generator for Java
Based upon the Lex lexical analyzer generator model. Java-Lex takes a specification file similar to that accepted by Lex, then creates a Java source file for the corresponding lexical analyzer.
* Free Java Language Tools
A listing of several free tools for Java parsing, source and byte-code manipulation, including several grammers for the Java language itself.
* C2J - a C++ to Java translator
by Chris Laffra. "Translates roughly about 85-95 percent of our code correctly", so you will still need to do some checking / editing yourself, but it does a lot of the hard slog for you.
* How to build an interpreter in Java - Part 1
An article by Chuck McManis on using Java to create an interpreter for a scripting language with a generic interpreter class, making it easy to add scripting ability to any Java application.
* OROMatcher regular expression package
A comprehensive regular expression package for Java from ORO Inc. Compatible with Perl5 regular expressions, supports the processing of InputStreams, and free for most uses. They also have TextTools, AwkTools and PerlTools Java libraries to provide added-value on top of the OROMatcher library.
* Microsoft XML Parser in Java
The Microsoft XML Parser is a validating XML parser written in Java. The parser checks for well-formed documents and optionally permits checking of the documents' validity, then the XML document is exposed as a tree through a simple set of Java methods. These methods support reading and/or writing XML structures, such as the Channel Definition Format (CDF) or other text formats based on XML, and thereby enable building applications using XML.
* NXP - Norbert's XML Parser
A (validating) XML parser written in Java. Being used as the basis for DataChannel's DXME product (see below)
* DataChannel XML Development Environment (DXDE)
DXDE is a collection of XML tools including parsers, viewers, and APIs. Includes source code for Xapi-J - a standardized XML API in Java.
* ANTLR
A highly regarded and frequently recommended parser generator, ANTLR (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C, C++, or Java actions.
* ChannelWorld
ChannelWorld is DataChannel's research collection, covering core topics like XML, DSSSL, Java, IP multicasting and all the people and organizations that contribute to these subjects.
* Roll a New Data Format with XML
An article from JavaPro magazine giving an introduction to XML use in Java, including sample application using Microsoft's XML Parser.
* HtmlStreamTokenizer
A HTML parser written in Java by Arthur Do that is similar to the StreamTokenizer class but is specialized for HTML streams. Generally free for non-commercial use.
* Free-DOM
FREE-DOM is an implementation by Don Park of the W3C Document Object Model (DOM) API in Java.
* SAX : The Simple API for XML
SAX is a Java API package for event-based XML parsing (ie. "callback" based, rather than "parse tree" based), developed collaboratively by the members of the XML-DEV mailing list. SAX is free for both commercial and non-commercial use, and is already being used by a wide range of products and applications.
* XML and Java Tutorial, Part I
A tutorial from the Bean Factory showing how Java can be used to display information in XML documents using a graphical Swing interface and an HTML based interface.
* BCEL - Byte Code Engineering Library
The Byte Code Engineering Library (formerly known as JavaClass) is intended to give users a convenient possibility to analyze, create, and manipulate (binary) Java class files (those ending with .class). Classes are represented by objects which contain all the symbolic information of the given class: methods, fields and byte code instructions, in particular. Such objects can be read from an existing file, be transformed by a program (e.g. a class loader at run-time) and dumped to a file again. An even more interesting application is the creation of classes from scratch at run-time.
* QDox
QDox is a high speed, small footprint parser for extracting class/interface/method definitions from source files complete with JavaDoc @tags. It is designed to be used by active code generators or documentation tools.
* Regular expressions simplify pattern-matching code
Text processing often involves matching text against a pattern. Although Java's character and assorted string classes offer low-level pattern-matching support, that support commonly leads to complex code. To help you write simpler pattern-matching code, Java provides regular expressions. After introducing you to terminology and the java.util.regex package, Jeff Friesen explores many regular expression constructs supported by that package's Pattern class. Then he examines Pattern's methods and the additional java.util.regex classes. In conclusion, he presents a practical application of regular expressions.

 

출처

http://www.swtech.com/java/parser/

'java core' 카테고리의 다른 글

[펌] 간단한 Java Native Interface 예제  (0) 2005.11.05
[펌] 로드 존슨의 J2EE Development Without EJB 정리 컬럼  (0) 2005.10.28
자바 ftp client 라이브러리.  (0) 2005.10.13
이벤트 모델  (0) 2005.09.16
[펌] JVM 관련  (0) 2005.09.15
Posted by '김용환'
,