keyword inconsistencies

35 views
Skip to first unread message

Eric John Sargeant

unread,
Nov 12, 2025, 7:34:04 AMNov 12
to fo...@jsoftware.com
Explain how it's known which to use; quoted else not so?
e.g. 'install' jpkg vs install 'full'.

Leopold

unread,
Nov 12, 2025, 9:40:03 AMNov 12
to forum, Eric John Sargeant
Keywords are part of a language. Your example does not contain any.
All of J's keywords can be found at <https://code.jsoftware.com/wiki/NuVoc>

Strings (=text) are single-quoted. `'install'` and`'full'` are strings.

Verbs (=functions) take a right argument and sometimes an additional left one.
`'install' jpkg` is not a complete instruction, as it only gives a left argument

The verb `install` is essentially a wrapper for jpkg, only requiring a right arg.
Reply all
Reply to author
Forward
0 new messages