[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[ANN] RelaxNGCC Ver.1.0

  • To: xml-dev@l...
  • Subject: [ANN] RelaxNGCC Ver.1.0
  • From: Kohsuke Kawaguchi <kk@k...>
  • Date: Tue, 25 Jun 2002 10:22:38 -0400

relaxngcc

I am pleased to announce a new version of RelaxNGCC, a compiler compiler
for XML by using RELAX NG.

RelaxNGCC allows you to quickly write a code to read XML documents into
your application-specific data structure or to process them in a stream
fashion. IOW, RelaxNGCC is a data-binding tool specialized to read XML
documents.

The tool is available under the GPL at:

  http://sourceforge.net/projects/relaxngcc/

Code generated by RelaxNGCC is all yours and we don't place any
restriction on how it's going to be used.

The documents are available at:

  http://relaxngcc.sourceforge.net/workspace/relaxngcc/htdocs/en/index.htm


Let me explain a bit about how RelaxNGCC is useful.

Writing code to parse XML into an application-specific object model is a
pain in the neck, especially with SAX. This is why a lot of people use
DOM. But DOM is not quite a solution. You lose all the source location
information, pays a performance penalty, and worst of all, you still
need to work with untyped bare tree. That reminds me of old days when
we've processed files as a byte stream.

RelaxNGCC solves these problems. It solves these problems in a way very
much like how yacc/bison/JavaCC/ANTLR solves those problem for arbitrary
file format. With those compiler-compilers, you write a grammar in the
context free grammar, you add your code, and the compiler turns them
into an efficient parser. With RelaxNGCC, you write a grammar in RELAX
NG, you add your code, and the compiler turns them into an efficient
ContentHandler that processes SAX events.


Enjoy, and let us know how you think of it.

regards,
----------------------
Kohsuke Kawaguchi
E-Mail: kk@k...


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.