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

Handling arithmetic expressions in a simple parser is difficult. The approach here seems limited in the usual way. e.g the following is parsed as two statements (separated by the +)

    print 2*3 + 4


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

Search: