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

True. Strictly speaking, that means it isn't context-free in the usual sense (right?), but it's a practical extension.

Matt Might uses Python's indentation as a lexing/parsing example in his ongoing "Scripting Language Design and Implementation" course (http://matt.might.net/teaching/scripting-languages/spring-20...), which is worth following if you're reading this thread.



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

Search: