I wanna know what type of parser is used in the javac compiler. whether a top-down or bottom-up parser is used..... ?
stevanity 4 Posting Whiz in Training
Recommended Answers
Jump to PostAccording to http://compilers.iecc.com/comparch/article/01-03-037 it's LL(1), recursive descent
Jump to PostTo be fair, top-down isn't a very descriptive name for the category of grammars.
If we're using http://java.sun.com/docs/books/jls/second_edition/html/syntax.doc.html without any modification, then this grammar is probably not suitable for LL(1).
The …
All 6 Replies
zeroliken 79 Nearly a Posting Virtuoso
stevanity 4 Posting Whiz in Training
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
leegao 0 Newbie Poster

hfx642
stevanity 4 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.