Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For what it's worth, in my little corner of the world, all of the recursive descent parsers I've seen and worked with have separate lexers. I can't recall seeing a single recursive descent parser in industry that didn't separate lexing.

However, I do often see a little fudging the two together for funny corners of the language. Often that just means handling ">>" as right-shift in some contexts and nested generics in others.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: