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

Take a look at the Shunting Yard algorithm -- this will go from standard (infix) to Postfix notation. And Postfix (RPN) is actually easier to interpret than Prefix (the main loop is about a half dozen lines or so).


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

Search: