Y
Hacker News
new
|
ask
|
show
|
jobs
by
Dewie
4443 days ago
Defining a number to be a procedure (or 'word' in the parlance) is simple in Forth.
> : a 2 ;
> : 2 3 ;
> a 2 =
> a 3 =
The two flags on the top of the stack are now equal.