Mirror of CollapseOS
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

17 Zeilen
634B

  1. Compilation vs meta-compilation
  2. Compilation vs meta-compilation. When you compile a word with
  3. "[COMPILE] foo", its straightforward: It writes down to HERE
  4. wither the address of the word or a number literal.
  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?
  12. Meta-compile only works with real words, not number literals.