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

The parsing of C-style comments is a sort of standard example to demonstrate some additional features you have available when your lexer-generator is implemented using regular expression derivatives.

See section 5 of "Regular Expression Derivatives, Re-examined" for details: http://www.mpi-sws.org/~turon/re-deriv.pdf



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

Search: