Expand description
Built-in word signatures for Seq
Defines the stack effects for all runtime built-in operations.
Uses declarative macros to minimize boilerplate. The builtin! macro
supports a Forth-like notation: (a Type1 Type2 -- a Type3) where:
ais the row variable (representing “rest of stack”)- Concrete types:
Int,String,Float - Type variables: single uppercase letters like
T,U,V
Functions§
- builtin_
doc - Get documentation for a built-in word
- builtin_
docs - Get all built-in word documentation (cached with LazyLock for performance)
- builtin_
signature - Get the stack effect signature for a built-in word
- builtin_
signatures - Get all built-in word signatures