A fork of Albert van der Horst's yourforth project converted to use the Shavian alphabet.
Note: this is a work in progress.
Install fasm (the flat assembler) and rlwrap.
For example, in Arch linux:
sudo pacman -S fasm
sudo pacman -S rlwrap
Then:
fasm yourforth.fas
./run
- Press
Enterto see the ๐ด๐๐ฑ prompt. - Type ๐ข๐ป๐๐
Enterto see the list of supported words.
rlwrap is used to show previous commands while in yourforth (press CursorUp).
Only one example program has so far been converted to Shavian: bench.fs, which contains the definition of the word ๐๐ต-๐๐ฎ๐ฒ๐ฅ-๐ฒ๐๐ด. To add the word to the yourforth dictionary:
๐ฆ๐ฏ๐๐ค๐ต๐ ./examples/bench.fs
Then run the word:
๐๐ต-๐๐ฎ๐ฒ๐ฅ-๐ฒ๐๐ด
A list of prime numbers up to 101 should be displayed. The word ๐๐ต-๐๐ฎ๐ฒ๐ฅ-๐ฒ๐๐ด puts the number of primes found on the stack. Remove the top value on the stack and display it using the word .:
.
The value 26 should be displayed.
Running yourforth and executing the word ๐ข๐ป๐๐:


