Authors: | Joe Groff |
Class | Superclass |
variant-class | mixin-class |
Word | Syntax |
VARIANT-MEMBER: | |
VARIANT: | VARIANT: class-name singleton singleton tuple: { slot slot slot ... } . . . ; |
Word | Stack effect |
(match-branch) | ( class quot -- class quot' ) |
Word | Stack effect |
match | ( branches -- quot ) |
unboa | ( class -- quot ) |
Word | Stack effect |
?class | ( object -- class ) |
define-tuple-class-and-boa-word | ( class superclass slots -- ) |
define-variant-class | ( class -- ) |
define-variant-class-member | ( class member -- ) |
define-variant-class-members | ( class members -- ) |
define-variant-member | ( member -- class ) |
parse-variant-member | ( name -- member ) |
parse-variant-members | ( -- members ) |
parse-variant-tuple-member | ( name -- member ) |
Word | Stack effect |
variant-class? | ( object -- ? ) |