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

Материал из ПМК вики
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 21: Строка 21:
     the compilation address of DUP.
     the compilation address of DUP.
           COMPILE  [ 0 , ]  will copy zero.
           COMPILE  [ 0 , ]  will copy zero.
== COMPILE в fig-FORTH Release 1 glossary, май 1979 (англ.) ==
COMPILE                                        C2
        When the word containing COMPILE executes, the execution address of
        the word following COMPILE is copied (compiled) into the dictionary.
        This allows specific compilation situations to be handled in
        addition to simply compiling an execution address (which the
        interpreter already does).





Версия от 20:13, 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.


COMPILE в fig-FORTH Release 1 glossary, май 1979 (англ.)

COMPILE                                         C2
       When the word containing COMPILE executes, the execution address of
       the word following COMPILE is copied (compiled) into the dictionary.
       This allows specific compilation situations to be handled in
       addition to simply compiling an execution address (which the
       interpreter already does).


История

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


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


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