pub(crate) type WordFunc<T> = fn(_: &mut Forth<T>) -> Result<(), Error>;
Expand description
WordFunc
represents a function that can be used as part of a dictionary word.
It takes the current “full context” (e.g. Fif
), as well as the CFA pointer
to the dictionary entry.