-
Notifications
You must be signed in to change notification settings - Fork 40
Shell
Patrick Hammer edited this page Oct 15, 2020
·
5 revisions
The preferred way to interact with the system, both for humans and other computer systems. API usage is not recommended to be used since NARS only needs Narsese as input and returns answers and operator executions, which is true for all NARS implementations.
The shell is invoked by running
./NAR shell
It outputs all operator executions and question answers with the following format:
Answer: Narsese
^OPNAME executed with args ARG_PRODUCT
for operations, both which can be parsed easily by the application which invokes ONA as a subprocess.