News for hackers. Stuff that matters.
Re:My Life as a Forth Interpreter (1986) [pdf] by nocoment on Sunday March 16, 2014 @05:23PM (#7411362)
It looks like an introduction to FORTH via Kafka..

There is a nice browser interpreter here: http://forthfreak.net/jsforth80x25.html

you can start with: 1 1 + . (+ adds, . prints and this is clearly reverse polish notation)

FORTH is in essence an accumulator CPU like the 68000, except it has an easier abstraction to define new instructions (aka "Words") to act like the + or . above.

Re:My Life as a Forth Interpreter (1986) [pdf] by emeraldd on Sunday March 16, 2014 @07:05PM (#7411813)
Is that another term for a stack machine? I haven't heard of an accumulator cpu before ...
Re:My Life as a Forth Interpreter (1986) [pdf] by nocoment on Sunday March 16, 2014 @08:09PM (#7412057)
A CPU with an accumulator register (default locations that accepts the result for each instruction and is usually one of the operands in each new instruction.)

I guess that is a bit less capable than an actual stack machine like FORTH but sort of the starting point of this programming mentality (at least as I think of it.)