compat
Portable (mostly standard) implementations of some Gforth features
- raw README
- raw anslocal.fs
- raw assert.fs
- raw caseext.fs
- raw control.fs
- raw defer.fs
- raw exception.fs
- raw execute-parsing.fs
- raw loops.fs
- raw macros.fs
- raw package.4th
- raw required.fs
- raw strcomp.fs
- raw struct.fs
- raw vocabulary.fs
- raw xlocals.fs
\ vocabulary
\ This file is in the public domain. NO WARRANTY.
\ The program uses the following words
\ from CORE :
\ : Create , DOES> @ >r dup 0= and r> swap ;
\ from CORE-EXT :
\ nip
\ from BLOCK-EXT :
\ \
\ from EXCEPTION :
\ throw
\ from FILE :
\ (
\ from SEARCH :
\ wordlist get-order set-order
: vocabulary ( -- )
wordlist create ,
does> ( -- )
\ replaces the wordlist on the top of the search list with the
\ vocabulary's wordlist
@ >r
get-order dup 0= -50 and throw \ search-order underflow
nip r> swap
set-order ;
by AntonErtl
Versions
Tags
forth-94, forth-2012, strings, gforth, locals, assertions, control-structures, macros
Dependencies
None
Dependents
None