Handbook
Glossary
BUILTIN:
Vocabulary
syntax
Syntax
BUILTIN: class slots ... ;
Inputs
None
Outputs
None
Word description
A representation of a builtin class from the VM. This word cannot define new builtins but is meant to provide a paper trail to which vocabularies define the builtins. To define new builtins requires adding them to the VM.
Definition
USING:
classes
classes.builtin
classes.tuple.parser
kernel
parser
vocabs.parser
words
;
IN:
syntax
SYNTAX:
BUILTIN:
scan-word-name
current-vocab
lookup-word
(parse-tuple-definition)
2drop
builtin-class
check-instance
drop
;