Questions tagged [forth]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14 votes
3 answers
1k views

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
6k views

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,759
4 votes
1 answer
497 views

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,706
9 votes
2 answers
2k views

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
8 votes
1 answer
2k views

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,365