Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented words #296

Open
burnsauce opened this issue Nov 5, 2020 · 5 comments
Open

Undocumented words #296

burnsauce opened this issue Nov 5, 2020 · 5 comments

Comments

@burnsauce
Copy link
Contributor

burnsauce commented Nov 5, 2020

Several words remain undocumented:

  • rvs
  • >dfa
  • openw
  • closew

These words are probably "private" but unable to be hidden due to dependencies:

format.fs:

  • curr
  • end
    asm.fs:
  • 1mi
  • 2mi
  • 3mi
  • 23mi

The following words deserve documentation. CREATE/DOES> should probably be fleshed out in the tutorial so that the code of DODOES can be explained in the Word Anatomy section of the manual.

BRANCH and 0BRANCH are useful for debugging purposes (SEE) and should also be demonstrated in the Word Anatomy section with an appropriate example.

base.fs / asm:

  • branch
  • 0branch
  • dodoes
@jkotlinski
Copy link
Owner

Fixed RVS, OPENW, CLOSEW, >DFA

@jkotlinski
Copy link
Owner

Fixed 1MI 2MI 23MI 3MI

@jkotlinski
Copy link
Owner

Fixed CURR, END

@jkotlinski
Copy link
Owner

About DODOES, BRANCH, 0BRANCH, I think it makes sense to keep those visible. DODOES for debugging purposes (SEE). BRANCH, 0BRANCH have potential reuse value.

The task to document these words remains. Also CREATE + DOES> deserve much more thorough explanation, right now it just defers to Starting Forth. It would make sense if CREATE/DOES>/DODOES words had a section in "Word Anatomy" chapter.

@jkotlinski
Copy link
Owner

jkotlinski commented Jan 8, 2022

OK, SEE is now removed and so it makes more sense to hide DODOES -- done in c156dac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants