Original Parser

version 1 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2 - Control

    To decide whether (v - a word value) is not currently blank: (- ({v}) -).
    To decide whether (v - a word value) is currently blank: (- (~~({v})) -).
    To save (v - a value): (- @push {v}; -).
    To restore (v - a value): (- @pull {v}; -).

    To decide what object is the compass: (- compass -).
    To decide what object is the ur-darkness: (- thedark -).
    To decide what number is the virtual machine's wordsize: (- WORDSIZE -).
    To decide what number is the maximum number of things understood at once: (- MATCH_LIST_WORDS -). [Use maximum things understood at once of at least 100]