Skip to content
Bushmills edited this page Dec 29, 2021 · 31 revisions
  • concepts:
    (optional) forward references
    not exactly a purely incremental compiler

  • specific words where deviating from ANS:
    <# (expects single, not double)
    query (actually not sure)
    evaluate (actually not sure)
    abort, ?abort (most likely somewhat different)
    quit (can't do a "real" warm start. It just - optionally - empties stacks, then nests to a new instance of quit. Not a problem as long as it loops in its infinite loop, but you may want to avoid tapping ctrl-c thousands of times).
    words (without user defined vocabularies, word can't display words in only the context vocabulary, as there is none. "context vocabularies" do exist, but not as named vocabularies, made context by executing them. Therefore will words just display words in all populated vocabularies (up to 4 exist), each vocabulary under a header displaying its purpose: stateless, interpret, compile and unresolved.

    r r> return stack is not actually used to hold return addresses. yoda won't complain if "return stack" is used in an unbalanced way.
    parse probably different, must check
    convert most likely different, must check.

Clone this wiki locally