You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following question, whether there is a swipl.js that provides
a command line interface (CLI) has not yet been resolved. node is
the nodeJS interpreter, and swipl.js is the SWI-Prolog CLI driver:
Creating a separate ticket with this feature request and/or clarification
focus only, to not pollute another ticket which reported another issue.
Mostlikely it will use process.argv somewhere. To grab the command
line arguments. Or some library that does that for you. So hardcoding
main() isn't a solution, because it lacks the parameter passing. Also
traditionally the argv should land in the Prolog flag argv, which
exists in SWI-Prolog. The polluted ticket was this here:
The text was updated successfully, but these errors were encountered:
Jean-Luc-Picard-2021
changed the title
The big question is there a Command Line Interface (CLI) ?
Is there a Command Line Interface (CLI) ?
Dec 6, 2023
The following question, whether there is a
swipl.js
that providesa command line interface (CLI) has not yet been resolved.
node
isthe nodeJS interpreter, and
swipl.js
is the SWI-Prolog CLI driver:Creating a separate ticket with this feature request and/or clarification
focus only, to not pollute another ticket which reported another issue.
Mostlikely it will use
process.argv
somewhere. To grab the commandline arguments. Or some library that does that for you. So hardcoding
main() isn't a solution, because it lacks the parameter passing. Also
traditionally the argv should land in the Prolog flag argv, which
exists in SWI-Prolog. The polluted ticket was this here:
Audit failed, problems with node-static
#431
The text was updated successfully, but these errors were encountered: