News for hackers. Stuff that matters.

schsafe

Re:A Little Bit of Forth [video] on Friday June 05, 2015 @03:20PM (#9667513)
Some people compare FORTH with game GO or philosophy ZEN. Very simple rules. And you build an own universe. And all of this fits into a very small size. As you also mentioned.
Re:A Little Bit of Forth [video] on Friday June 05, 2015 @02:42PM (#9667218)
If you want to play with an online FORTH interpreter:

http://forthfreak.net/jsforth80x25.html

  ok
: fibo 1 dup 45 0 do . dup rot rot + dup loop ;

  ok
fibo

1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946 17711 2 8657 46368 75025 121393 196418 317811 514229 832040 1346269 2178309 3524578 5702 887 9227465 14930352 24157817 39088169 63245986 102334155 165580141 267914296 43 3494437 701408733 1134903170 ok..

The Fibonacci numbers :-)

Re:A Little Bit of Forth [video] on Thursday June 04, 2015 @12:15PM (#9660242)
FORTH is a very old and unique language. Different from all the others. You can find it even in the space-ships.

http://www.forth.org

Re:A Little Bit of Forth [video] on Thursday June 04, 2015 @12:04PM (#9660162)
I created a FORTH like language some years ago. Also fun.

/home/user/st> more fibonacci

1#[." "#@@+#a-;]10,

/home/user/st> st fibonacci 45

1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946 17711 28657 46368 75025 121393 196418 317811 514229 832040 1346269 2178309 3524578 5702887 9227465 14930352 24157817 39088169 63245986 102334155 165580141 267914296 433494437 701408733 1134903170

/home/user/st>