Hacker News new | past | comments | ask | show | jobs | submit login

The other thing you can't do (straightforwardly at least) is push a word onto a stack or apply it against some kind of compound structure.

That's what I mean by Forth words not really being functions, they're subroutines for sure, and you can do some surprisingly powerful metaprogramming given that what you have is a glorified linked list, something a little more powerful than GOSUB, and two stacks, but functions?

When you compare it with a visually similar concatenative language like Factor or Joy, which inarguably have functions, Forth words look pretty different.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: