r/Forth•
jan_aloleo

Help on standard words

Hi! I'm new to Forth. (Actually I am revisiting it from yeeeeeears ago.) From other REPL languages I am used to some terse documentation on built-in commands I can call upon:

  • In Bash e.g. help echo
  • In Python e.g. help(dict)

I am using gForth, but couldn't find something like this. see gives the definition, but this might be VM(?) assembler: Try see dup.

Also I would like to read the stack comment of teh word and a short overview description what the word does. E.g. for over (from the simple forth tutorial):

OVER  ( x1 x2 -- x1 x2 x1 ) Copy x1 to top of stack

Is there possibly somewhere a library file I could load in for this?

Posted Jun 25, 2026, 6:57 AM UTC

515
Loading comments…