Questions tagged [forth]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14 votes
3 answers

Why does Forth's flexibility make a grammar inappropriate for it?

I've recently undertaken the task of writing a stack-based programming language. Before I started designing my language however, I thought it'd be a good idea to read and experiment with existing ...
Christian Dean's user avatar
7 votes
3 answers

Forth: How do CREATE and DOES> work exactly?

I am in the process of creating my own concatenative language, heavily based on Forth. I am having a little trouble understanding how the compiling words CREATE and DOES> work, and how they are ...
Qqwy's user avatar
  • 4,789
4 votes
1 answer

Self-compilation in Forth

What is Self-compilation (a.k.a. Meta-compilation) in Forth? How it works and why is it useful? Does it have any practical usage and is it still used in modern systems?
53777A's user avatar
  • 1,716
9 votes
2 answers

Which are the fundamental stack manipulation operations?

I'm creating a stack oriented virtual machine, and so I started learning Forth for a general understanding about how it would work. Then I shortlisted the essential stack manipulation operations I ...
Aadit M Shah's user avatar
  • 1,618
9 votes
1 answer

Status of stack based languages

I have recently become curious about Factor, which, as far as I understand, is the most practical stack-based language around. Forth seems not to be used much these days - I think it is because it was ...
Andrea's user avatar
  • 5,375