Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions documentation.frt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,48 @@ Drop the topmost element of the stack
( a b -- b a )
Swap two topmost elements of the stack
" doc-word

' cells g"
( a -- a * 8 )
Multiplies top of stack by 8
" doc-word

' cell% g"
( -- 8 )
Pushes 8
" doc-word

' >= g"
( y x -- [x >= y] )
Compares two number at the top of stack
" doc-word

' > g"
( y x -- [x > y] )
Compares two number at the top of stack
" doc-word

' <= g"
( y x -- [x <= y] )
Compares two number at the top of stack
" doc-word

' <> g"
( y x -- [x <> y] )
Compares two number at the top of stack
" doc-word

' 2dup g"
( a b -- a b a b )
Clones two elements at the top of stack
" doc-word

' over g"
( a b -- a b a )
Clones element before top of stack
" doc-word

' -rot g"
( a b c -- c a b )
Inversion of rot
" doc-word