YaK:: FORTH Archive [Changes]   [Calendar]   [Search]   [Index]   [PhotoTags]   
[mega_changes]
[photos]

FORTH Archive

The most useful documents I've found for understanding how to build a FORTH:

Archive:

  • fig-FORTH_Manuals_May79.pdf
  • thinking-forth-color.pdf
  • unithorpe-2004-11-30.tgz
  • sysguidefig.pdf
  • jonesforth-AlexandreAbreu-clone.tgz
  • Build-Your-Own-FORTH---The-Heart-Of-FORTH.tgz
  • forth-rc2.pdf

    
    : tri recursive dup 2 < if else dup 1 - tri + then ; redefined tri   ok
    5 tri . 15  ok
    6 tri . 21  ok
    10 tri . 55  ok
    : fib recursive dup 2 < if else dup 1 - fib swap 2 - fib + then ;   ok
    5 fib . 5  ok
    10 fib . 55  ok
    11 fib . 89  ok
    12 fib . 144  ok
    
    1 fib . 2 fib . 3 fib . 4 fib . 5 fib .  1 1 2 3 5  ok
    1 tri . 2 tri . 3 tri . 4 tri . 5 tri .  1 3 6 10 15  ok
      ok
      ok
    : foo 0 do i . loop ;  redefined foo   ok
    10 foo 0 1 2 3 4 5 6 7 8 9  ok
    
    : boo 0 do i 1 + 0 do i . j . 999 . loop loop ;   ok
    8 boo 0 0 999 0 1 999 1 1 999 0 2 999 1 2 999 2 2 999 0 3 999 1 3 999 2 3 999 3 3 999 0 4 999 1 4 999 2 4 999 3 4 999 4 4 999 0 5 999 1 5 999 2 5 999 3 5 999 4 5 999 5 5 999 0 6 999 1 6 999 2 6 999 3 6 999 4 6 999 5 6 999 6 6 999 0 7 999 1 7 999 2 7 999 3 7 999 4 7 999 5 7 999 6 7 999 7 7 999  ok
    
    
    
    
  • (unless otherwise marked) Copyright 2002-2014 YakPeople. All rights reserved.
    (last modified 2016-06-24)       [Login]
    (No back references.)