Mirror of CollapseOS
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

15 wiersze
540B

  1. Compilation vs meta-compilation
  2. Compilation vs meta-compilation. When you compile a word with
  3. "[COMPILE] foo", it's straightforward: It writes the address
  4. of word foo to HERE.
  5. When you *meta* compile, it's a bit more mind blowing. It
  6. fetches the address of the word specified by the caller, then
  7. writes that number as a literal, followed by a reference to
  8. ",".
  9. Example: ": foo [COMPILE] bar;" is the equivalent of ": foo bar
  10. ;" if bar is not an immediate. However, ": foo COMPILE bar ;"
  11. is the equivalent of ": foo ['] bar , ;". Got it?