Forth is a stack-based programming language originally developed in the 1970s by Charles H. Moore for controlling radiotelescopes.

learn more… | top users | synonyms

1
vote
0answers
10 views

Forth to the past - mergesort preps

Still oiling my Forth. Below are few essential algorithms for in-place merge. Please review. Some introductory comments: >swap< is not a cute smiley. I am ...
5
votes
0answers
15 views

Forth to the past - qsort

To make a long story short, I must revive my Forth. It is rusty; last time I did anything serious in Forth was 30 years ago (man, I am old). As an exercise, I translated an STL-like implementation of ...
14
votes
3answers
656 views

Reverse Polish Notation Compiler

Description A reverse polish notation based compiler. Very small subset of forth This is a proof of concept level compiler, no optimizations or over/underflow checking see the embedded POD for more ...
19
votes
1answer
392 views

FizzBuzz in Forth

There are quite a large number of existing implementatons of FizzBuzz but I awoke this morning in a cold sweat with the terrible revelation that Code Review had no FizzBuzz implementation in Forth! ...
5
votes
1answer
138 views

Toy Forth interpreter

I've been reading too many papers and writing too little code. These are my first 300 lines of Haskell: ...