Interactive help: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Raku}}: Updated, probably could use some more fleshing out) |
(Add Factor) |
||
Line 53: | Line 53: | ||
gawk -F: '{ print $1 }' /etc/passwd |
gawk -F: '{ print $1 }' /etc/passwd |
||
</pre> |
</pre> |
||
=={{header|Factor}}== |
|||
<code>$ factor -h</code> |
|||
{{out}} |
|||
<pre> |
|||
Usage: factor.com [Factor arguments] [script] [script arguments] |
|||
Factor arguments: |
|||
-help print this message and exit |
|||
-version print the Factor version and exit |
|||
-i=<image> load Factor image file <image> (default factor.image) |
|||
-run=<vocab> run the MAIN: entry point of <vocab> |
|||
-run=listener run terminal listener |
|||
-run=ui.tools run Factor development UI |
|||
-e=<code> evaluate <code> |
|||
-no-user-init suppress loading of .factor-rc |
|||
-datastack=<int> datastack size in KiB |
|||
-retainstack=<int> retainstack size in KiB |
|||
-callstack=<int> callstack size in KiB |
|||
-callbacks=<int> callback heap size in KiB |
|||
-young=<int> young gc generation 0 size in MiB |
|||
-aging=<int> aging gc generation 1 size in MiB |
|||
-tenured=<int> tenured gc generation 2 size in MiB |
|||
-codeheap=<int> codeheap size in MiB |
|||
-pic=<int> max pic size |
|||
-fep enter fep mode immediately |
|||
-no-signals turn off OS signal handling |
|||
-console open console if possible |
|||
-roots=<paths> a list of ";"-delimited extra vocab roots |
|||
Enter |
|||
"command-line" help |
|||
from within Factor for more information. |
|||
</pre> |
|||
Additionally, by pressing <code>F1</code> in the listener, you can access the help browser, an offline version of [https://docs.factorcode.org/content/article-handbook.html Factor's documentation]. Factor's help browser interfaces with the listener in various ways. For example, pressing <code>ctrl+h</code> while the cursor is over a word will take you to that word's documentation. Running <code>"sequences" about</code> in the listener will take you to the documentation for the <code>sequences</code> vocabulary. |
|||
=={{header|Go}}== |
=={{header|Go}}== |