This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes Parser libraries Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Parser libraries" Watch "Parser libraries" New topic
Author

Parser libraries

Sid Scud
Ranch Hand

Joined: Mar 13, 2001
Posts: 32
Hi All ,
I am searching for some libraries/parsers which I can use to parse a code in XPL and write my own converter to convert teh XPL code into Java.
Thanks in advance ,
-Siddhath
Ed Tidwell
Greenhorn

Joined: Oct 22, 2002
Posts: 18
Sid,
I had to do something like this for work but it was more of a meta language on top of a custom file format for our embedded applications.
Anyway, I would recomend taking a peek at Metsker's book on 'Building Parsers with Java'. After I finished building my tokens my manager told me I had two weeks to wrap it up and ship our product.
Since I work for a pay check I put the parser stuff on the shelf and converted the stuff in and out of XML.
I basically combined special comments with a INI data file to put a dynamic GUI editor on a cryptic protocol configuration file.
Works very well but if you need a smart compiler you should read the Metsker book.
The book by Andrew W. Appel on modern compiler implementation in Java as a great book as well. The second edition just came out and you might want to give it a look as well.
Hope this helps.
Sincerely,
Ed
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Parser libraries
 
Similar Threads
Unreported Exeception Error
Pie Charts inJSP
Reading multiple CSV files
Sorting an ArrayList<MyObject> by a member of said MyObject
Including Ext JS libraries in your code