mirror of https://github.com/dirtbags/tanks.git
Give credit where credit is due
This commit is contained in:
parent
89da05fad9
commit
af21d38986
|
@ -33,7 +33,7 @@ that something like Forth would be a better language. I added some code
|
||||||
to accept a scaled-down version of PostScript. The IRC channel we
|
to accept a scaled-down version of PostScript. The IRC channel we
|
||||||
frequent collectively agreed to give this new language the derisive name
|
frequent collectively agreed to give this new language the derisive name
|
||||||
"Forf", which should ideally be followed by punching someone after it is
|
"Forf", which should ideally be followed by punching someone after it is
|
||||||
spoken aloud.
|
spoken aloud.
|
||||||
|
|
||||||
I decided to take Tanks to Def Con in July 2010, and just for bragging
|
I decided to take Tanks to Def Con in July 2010, and just for bragging
|
||||||
rights, to have it run on an Asus WL-500gU. This is a $50 device with a
|
rights, to have it run on an Asus WL-500gU. This is a $50 device with a
|
||||||
|
|
|
@ -108,7 +108,8 @@ that something like Forth would be a better language. I added some code
|
||||||
to accept a scaled-down version of PostScript. The IRC channel we
|
to accept a scaled-down version of PostScript. The IRC channel we
|
||||||
frequent collectively agreed to give this new language the derisive name
|
frequent collectively agreed to give this new language the derisive name
|
||||||
"Forf", which should ideally be followed by punching someone after it is
|
"Forf", which should ideally be followed by punching someone after it is
|
||||||
spoken aloud.
|
spoken aloud. I wrote a Python implementation of Forf, which was slow,
|
||||||
|
and then Adam Glasgall wrote a C implementation, which was quick.
|
||||||
|
|
||||||
I decided to take Tanks to Def Con in July 2010, and just for bragging
|
I decided to take Tanks to Def Con in July 2010, and just for bragging
|
||||||
rights, to have it run on an Asus WL-500gU. This is a $50 device with a
|
rights, to have it run on an Asus WL-500gU. This is a $50 device with a
|
||||||
|
|
7
forf.txt
7
forf.txt
|
@ -73,6 +73,13 @@ The following will result in 58 on the top of the stack:
|
||||||
5 8 < { 50 8 + } { 50 8 - } ifelse
|
5 8 < { 50 8 + } { 50 8 - } ifelse
|
||||||
|
|
||||||
|
|
||||||
|
Comments
|
||||||
|
--------
|
||||||
|
|
||||||
|
Anything inside parenthesis is ignored by the forf interpreter.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Built-in Procedures
|
Built-in Procedures
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue