Forth & Co: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
|||
(3 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
Forth hat den Ruf eine write only Sprache zu sein, also in etwa so wie Brainfuck, aber damit will ich es dann doch nicht vergleichen, weil Forth 100% besser lesbarer ist als Brainfuck. | Forth hat den Ruf eine write only Sprache zu sein, also in etwa so wie Brainfuck, aber damit will ich es dann doch nicht vergleichen, weil Forth 100% besser lesbarer ist als Brainfuck. | ||
Ein Beispiel für HelloWorld in Brainfuck: | |||
++++++++++[>+++++++>++++++++++>+++>+<<<<- | ++++++++++[>+++++++>++++++++++>+++>+<<<<- | ||
Zeile 9: | Zeile 10: | ||
>.+++.------.-------.>+.>. | >.+++.------.-------.>+.>. | ||
Und hier das ganze in Forth: | |||
." HelloWorld" cr | ." HelloWorld" cr | ||
Zeile 27: | Zeile 27: | ||
Projekte wären fein, aber zur Zeit nichts am laufen. | Projekte wären fein, aber zur Zeit nichts am laufen. | ||
== Forth Dialekte == | |||
* [http://www.factorcode.org Factor], eine Mischung aus Common Lisp,Joy,Slate und Forth | == Code == | ||
[[99 Bottles of Beers]] | |||
== Forth Systeme und Dialekte == | |||
* [http://www.factorcode.org Factor], eine Mischung aus Common Lisp,Joy,Slate und Forth, also eine ganz neue Sprache | |||
* [http://www.retroforth.org Retroforth], ein einfaches in FASM geschriebenes nicht ANS konformes Forth System, welches ein paar nette Forks aufweist | |||
* gforth, ein ANS konformes GNU Forth System, welches in C geschrieben wurde | |||
== Interessenten == | == Interessenten == | ||
* [[User:Phantasus|Phantasus]] | * [[User:Phantasus|Phantasus]] | ||
[[Kategorie:Interessensgebiete]] |