COMPILE: различия между версиями

Материал из ПМК вики
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 12: Строка 12:
           typically immediate and <namex> is typically not immediate.
           typically immediate and <namex> is typically not immediate.
           See:  "compilation"
           See:  "compilation"
== COMPILE в стандарте Forth-79 (англ.) ==
COMPILE                                      C,146
    When  a  word containing COMPILE executes,  the  16-bit  value
    following  the  compilation  address  of  COMPILE  is  copied
    (compiled) into the dictionary.  i.e.,  COMPILE DUP will copy
    the compilation address of DUP.
          COMPILE  [ 0 , ]  will copy zero.





Версия от 15:05, 7 сентября 2015

COMPILE — стандартное слово Каллисто.

Компиляция 16-битного слова, следующего за оператором.


COMPILE в предыдущем стандарте Forth-83 (англ.)

     COMPILE      --                            C,83
          Typically used in the form:
                  : <name> ... COMPILE <namex> ... ;
          When <name> is executed, the compilation address compiled
          for <namex> is compiled and not executed.  <name> is
          typically immediate and <namex> is typically not immediate.
          See:  "compilation"


COMPILE в стандарте Forth-79 (англ.)

COMPILE                                      C,146
    When  a  word containing COMPILE executes,  the  16-bit  value
    following   the  compilation  address  of  COMPILE  is  copied
    (compiled) into the dictionary.   i.e.,  COMPILE DUP will copy
    the compilation address of DUP.
         COMPILE  [ 0 , ]   will copy zero.


История

Слово из стандарта Forth 83. Было исключено из стандарта ANS Forth в пользу слова POSTPONE.


  У этой статьи нет иллюстраций. Вы можете помочь проекту, добавив их.


  Это заготовка статьи. Вы можете помочь проекту, дополнив её.