Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Finite State Machines in Forth (1994) (forth.org)
85 points by ofalkaed 1 day ago | hide | past | favorite | 3 comments
 help



Compare 'Lambda: the ultimate GOTO' https://www2.cs.sfu.ca/CourseCentral/383/havens/pubs/lambda-... which also uses state machines as its motivating example.

With TCO, a state transition is implemented just as a function call. I find it very elegant and see TCO as great bonus in programming languages.

I haven't thought about this in years! Julian Noble was one of my teachers back when I was an undergrad.



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

Search: