Category "forth"

Skip over input stream in ATLAST forth

I'm trying to implement a kind of "conditional :" in ATLAST, the reasoning being I have a file that gets FLOADed multiple times to handle multiple steps of my p

Is it practical for a Forth implementation to use the system stack as the return stack?

A language like C uses the system stack for local variables and return addresses. Forth has the data stack and the return stack. Is there an implementation of F

What does "local variable" mean in the Forth programming language?

In C local variables exist inside of a function and contain the values like this: void main(){ int a = 5; int b = 9; } In Gforth Manual, they describe

Forth, interpreted or compiled?

Supposedly Forth programs can be "compiled" but I don't see how that is true if they have words that are only evaluated at runtime. For example, there is the wo

Get n-th element from stack in Forth

Is there a way to access an element of the stack by its index in Forth, without popping all the elements above it? For example, if I have the numbers 1 to 1000