Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
511B

  1. : _ BEGIN LIT< ) WORD S= UNTIL ; IMMEDIATE
  2. 40 CURRENT @ 4 - C!
  3. ( Hello, hello, krkrkrkr... do you hear me?
  4. Ah, voice at last! Some lines above need comments
  5. BTW: Forth lines limited to 64 cols because of default
  6. input buffer size in Collapse OS
  7. 40 is ASCII for '('. We do this to simplify XPACK's task of
  8. not mistakenly consider '(' definition as a comment.
  9. LIT<: 34 == litWord
  10. LITA: 36 == addrWord
  11. COMPILE: Tough one. Get addr of caller word (example above
  12. (br)) and then call LITA on it. )