"C-preprocessor declaration syntax"

cdecl
some words that mimic partial behaviour of a C compiler
especially it's preprocessor.
Tektronix CTE %version: bln_mpt1!1.8 % GNU LGPL
FORTH
* #ELSE ( -- )

The implementation of #ELSE is done in C for speed and
being less error prone. Better use the ANSI-compatible
[IF] [ELSE] [THEN] construct.

cdecl immediate primitive

* #ENDIF ( -- )

end of #IF #IFDEF #IFNOTDEF and #ELSE contructs
   (a dummy word that does actually nothing, but #ELSE may look for it)

cdecl immediate primitive

* #IF ( -- )
        ( -- state-save mfth-if-magic )
prepares for a following #IS_TRUE or #IS_FALSE,
does basically switch off compile-mode for the enclosed
code.

better use the ANSI style [IF] [ELSE] [THEN] construct.

cdecl immediate primitive

* #IFDEF ( "word" -- )

better use [DEFINED] word [IF] - the word [IF]
is ANSI-conform.

cdecl immediate primitive

FORTH #IFNDEF

no special info, see general notes

cdecl immediate primitive

* #IFNOTDEF ( "word" -- )

better use [DEFINED] word [NOT] [IF] - the word [IF]
and [ELSE] are ANSI-conform, while #IFDEF #ELSE are not.

cdecl immediate primitive

* #IS_TRUE ( flag -- )
              ( state-save mfth-if-magic flag -- )
checks the condition on the CS-STACK.

Pairs with #IF

better use the ANSI style [IF] [ELSE] [THEN] construct.

cdecl immediate primitive

* #IS_FALSE ( flag -- )
              ( state-save mfth-if-magic flag -- )
checks the condition on the CS-STACK.

Pairs with #IF

better use the ANSI style [IF] [ELSE] [THEN] construct.

cdecl immediate primitive

* // ( [...] -- )

a line-comment

cdecl immediate synonym

FORTH #DEFINE

no special info, see general notes

cdecl ordinary primitive

FORTH #PRAGMA

no special info, see general notes

cdecl ordinary primitive