c.preprocessor vocabulary
Factor handbook > Vocabulary index


Summary
c.preprocessor vocabulary

Meta-data
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
bad-include-line tupleline
header-file-missing tuplepath
include-nested-too-deeply tuple
preprocessor-state tuplelibrary-paths symbol-table include-nesting include-nesting-max processing-disabled? ifdef-nesting warnings errors pragmas include-nexts ifs elifs elses
unknown-c-preprocessor tuplesequence-parser name


Ordinary words
WordStack effect
(readlns)( -- )
<preprocessor-state>( -- preprocessor-state )
bad-include-line( line -- * )
check-nesting( preprocessor-state -- preprocessor-state )
handle-define( preprocessor-state sequence-parser -- )
handle-elif( preprocessor-state sequence-parser -- )
handle-else( preprocessor-state sequence-parser -- )
handle-endif( preprocessor-state sequence-parser -- )
handle-error( preprocessor-state sequence-parser -- )
handle-if( preprocessor-state sequence-parser -- )
handle-ifdef( preprocessor-state sequence-parser -- )
handle-ifndef( preprocessor-state sequence-parser -- )
handle-include( preprocessor-state sequence-parser -- )
handle-include-next( preprocessor-state sequence-parser -- )
handle-pragma( preprocessor-state sequence-parser -- )
handle-undef( preprocessor-state sequence-parser -- )
handle-warning( preprocessor-state sequence-parser -- )
header-file-missing( path -- * )
include-nested-too-deeply( -- * )
initial-library-paths( -- seq )
initial-symbol-table( -- hashtable )
parse-directive( preprocessor-state sequence-parser string -- )
parse-directive-line( preprocessor-state sequence-parser -- )
preprocess-file( preprocessor-state path -- )
preprocess-line( preprocessor-state sequence-parser -- )
preprocess-lines( preprocessor-state -- )
read-local-include( preprocessor-state path -- )
read-standard-include( preprocessor-state path -- )
readlns( -- string )
skip-whitespace/comments( sequence-parser -- sequence-parser )
start-preprocess-file( path -- preprocessor-state string )
take-define-identifier( sequence-parser -- string )
unknown-c-preprocessor( sequence-parser name -- * )


Class predicate words
WordStack effect
bad-include-line?( object -- ? )
header-file-missing?( object -- ? )
include-nested-too-deeply?( object -- ? )
preprocessor-state?( object -- ? )
unknown-c-preprocessor?( object -- ? )


Files