I wanna know what type of parser is used in the gcc and turbo c++ compilers. whether a top-down or bottom-up parser is used..... ?
stevanity 4 Posting Whiz in Training
Recommended Answers
Jump to Postparsers start at the top of the program (line 1) and work themselves down. The bottom up approach would be a little like you trying to read a book backwards.
Jump to PostI wanna know what type of parser is used in the gcc and turbo c++ compilers. whether a top-down or bottom-up parser is used..... ?
GCC uses a hand written recursive descent parser (ie. it's top-down). I wouldn't be surprised if Turbo C++ worked the same way, though it might …
All 5 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
stevanity 4 Posting Whiz in Training
Narue 5,707 Bad Cop Team Colleague
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
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.