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

Yeah little weird since regexes can’t parse context free languages. I suppose most so-called regexes aren’t actually regular expressions, but it still feels like driving screws with a hammer.


Mal uses a regex for lexing/tokenizing. I didn't want people to get hung up on the lexing step (my university compilers class spent 1/3rd of the semester just on lexing). It's certainly a worthwhile area to study but not the focus of mal/make-a-lisp.




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

Search: