The Artima Developer Community
Sponsored Link

Java Answers Forum
Choosing a Parser

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Steve Schooler

Posts: 17
Nickname: zugzwang
Registered: Aug, 2004

Choosing a Parser Posted: Aug 28, 2006 12:58 AM
Reply to this message Reply
Advertisement
As hobby, I'm coding my own download manager in java, which needs Html parsing and node functionality. Also, the idea of parsing software seems powerful, so I'm generally interested in becoming moderately fluent with one. I'm trying to choose which free software to invest my energy in. I believe in the bandwagon approach: predict which software has a future and jump on board. Googling, I found Javacc and Javacc Html Parser

https://javacc.dev.java.net/
http://www.quiotix.com/downloads/html-parser/

This combination makes it routine for me to extract all links from a Html page without learning Javacc. However I still have to parse the links and build the desired tree of nodes. The Javacc documentation is difficult to digest. I haven't been able to find any "ground up" comprehensive tutorials, which suggests that Sun (and the programming community) are not bandwagoning around Javacc.

Superficially, Antlr (www.antlr.org/) seems to have put more recent effort into their documentation. I was intrigued by a June 27, 2004 weblog on ANTLR vs. JavaCC.

http://beust.com/weblog/archives/000145.html

Request opinions for newbie choosing between the two. Will Antlr be easier to learn? Is Javacc more powerful? Is a lexer based on DFA (Javacc) rather than LL (Antlr) (whatever DFA and LL mean) superior (whatever that means)?

Topic: File Binding Previous Topic   Next Topic Topic: Framework & Technology

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use