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

Converting to RPN is, roughly speaking, the easiest way to generate code for either register or stack architectures.

Once you have a parse tree, visiting it in post order (left tree, right tree, operation) produces the RPN.





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

Search: