www.delorie.com/gnu/docs/gforth/gforth_116.html   search  
 
Buy GNU books!


Gforth Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.12 Compiling words

In contrast to most other languages, Forth has no strict boundary between compilation and run-time. E.g., you can run arbitrary code between defining words (or for computing data used by defining words like constant). Moreover, Immediate (see section 5.10 Interpretation and Compilation Semantics and [...] (see below) allow running arbitrary code while compiling a colon definition (exception: you must not allot dictionary space).

5.12.1 Literals  Compiling data values
5.12.2 Macros  Compiling words


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003