brain-flak vocabulary
Factor handbook ยป Vocabulary index


Documentation
Introduction to brain-flak

Metadata
Tags:languages, parsing, syntax
Authors:Aleksander Sabak


Words

Tuple classes
ClassSuperclassSlots
brain-flak tupleactive inactive total
leftover-program-after-compilation tupleprogram leftover
mismatched-brain-flak-brackets tupleprogram
unclosed-brain-flak-expression tupleprogram


Parsing words
WordSyntax
b-f"b-f"({}[]){<>()}"


Ordinary words
WordStack effect
<brain-flak>( seq -- state )
compile-brain-flak( string -- quote: ( state -- state' ) )
leftover-program-after-compilation( program leftover -- * )
mismatched-brain-flak-brackets( program -- * )
unclosed-brain-flak-expression( program -- * )
with-brain-flak( ..A seq q: ( ..A s -- ..B s' ) -- ..B seq' )


Class predicate words
WordStack effect
brain-flak?( object -- ? )
leftover-program-after-compilation?( object -- ? )
mismatched-brain-flak-brackets?( object -- ? )
unclosed-brain-flak-expression?( object -- ? )


Files


Metadata files