classes.tuple.parser vocabulary
Factor handbook > Vocabulary index


Summary
Utilities for tuple-defining parsing words

Words

Tuple classes
ClassSuperclassSlots
bad-literal-tuple tuple
bad-slot-name tupleclass slot
duplicate-slot-names tuplenames
invalid-slot-name tuplename


Generic words
WordStack effect
boa>object( class slots -- tuple )


Ordinary words
WordStack effect
(parse-slot-values)( class slots -- )
(parse-tuple-definition)( word -- class superclass slots )
assoc>object( class slots values -- tuple )
bad-literal-tuple( -- * )
bad-slot-name( class slot -- * )
check-duplicate-slots( slots -- )
check-slot-exists( class initials slot-spec/f index/f name -- class initials slot-spec index )
check-slot-name( class slots name -- name )
check-slot-shadowing( class superclass slots -- )
duplicate-slot-names( names -- * )
invalid-slot-name( name -- * )
parse-long-slot-name( -- spec )
parse-slot-name( string/f -- ? )
parse-slot-name-delim( end-delim string/f -- ? )
parse-slot-value( class slots -- )
parse-slot-values( class slots -- values )
parse-tuple-definition( -- class superclass slots )
parse-tuple-hash-literal( -- tuple )
parse-tuple-hash-literal-slots( class slots -- tuple )
parse-tuple-literal( -- tuple )
parse-tuple-literal-slots( class slots -- tuple )
parse-tuple-slots( -- )
parse-tuple-slots-delim( end-delim -- )
shadowed-slots( superclass slots -- shadowed )
slot-named-checked( class initials name slots -- class initials slot-spec )
slot-names( slots -- seq )


Class predicate words
WordStack effect
bad-literal-tuple?( object -- ? )
bad-slot-name?( object -- ? )
duplicate-slot-names?( object -- ? )
invalid-slot-name?( object -- ? )


Files