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

I'm not familiar with the way syntax highlighting and code indentation logic in text editors is implemented, but using regular expressions to try and parse a CFG like the Go programming language seems like a phenomenally bad idea.

Maybe everyone does it and everybody is happy with it working only in 90% of cases, but it just seems like the wrong approach to me.



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

Search: