Update a bit
This commit is contained in:
parent
1b4823bebd
commit
6b3711ca45
7 changed files with 21 additions and 4 deletions
4
forth.md
4
forth.md
|
@ -4,7 +4,7 @@ Forth is a based [minimalist](minimalism.md) stack-based untyped programming lan
|
|||
|
||||
{ It's kinda like usable [brainfuck](brainfuck.md). ~drummyfish }
|
||||
|
||||
It is usually presented as [interpreted](interpreter.md) language but may as well be [compiled](compiler.md), in fact it maps pretty nicely to [assembly](assembly.md). It can nicely be made [multithreaded](multithreading.md).
|
||||
It is usually presented as [interpreted](interpreter.md) language but may as well be [compiled](compiler.md), in fact it maps pretty nicely to [assembly](assembly.md).
|
||||
|
||||
There are several Forth standard, most notably ANSI Forth from 1994.
|
||||
|
||||
|
@ -36,7 +36,7 @@ Built-in words include:
|
|||
GENERAL:
|
||||
|
||||
+ add a b -> (a + b)
|
||||
- substract a b -> (b . a)
|
||||
- substract a b -> (b - a)
|
||||
* multiply a b -> (a * b)
|
||||
/ divide a b -> (b / a)
|
||||
= equals a b -> (-1 if a = b else 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue