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

> it includes instructions for stack manipulation, binary operations

Your example contains some integer arithmetic, I'm curious if you've implemented any other Python data types like floats/strings/tuples yet. If you have, how does your ISA handle binary operations for two different types like `1 + 1.0`, is there some sort of dispatch table based on the types on the stack?



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

Search: