5.7 Data Language Parser Summary

Building Parsers with Java
By Steven  John  Metsker

Table of Contents
Chapter  5.   Parsing Data Languages


You should find that you can write a data language parser in a few days, if not a few hours. To create the parser, write a grammar that describes the language you want to match. Write assemblers that will build your target object, and generate the parser from the grammar, plugging in your assemblers.

Although parsers for data languages are among the simplest practical parsers, there is an even simpler approach: Do not write a parser at all. XML makes this possible by standardizing a way to write grammars and elements for data-oriented languages.


Building Parsers with Java
Building Parsers With Javaв„ў
ISBN: 0201719622
EAN: 2147483647
Year: 2000
Pages: 169

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net