On 10/23/10 16:39 CDT, Nick Sabalausky wrote:
"Andrei Alexandrescu"<seewebsiteforem...@erdani.org> wrote in message news:i9v8vq$2gv...@digitalmars.com... What's wrong with regexes? That's pretty typical for lexers.
I mentioned that using regexes is possible but would make it much more difficult to generate good quality lexers.
Besides, regexen are IMHO quite awkward at expressing certain things that can be easily parsed by hand, such as comments or recursive comments.
Andrei