1.2 Installation Steps for Other Languages
In general, to use the Machine Query Interface with any programming language:
- Install SWI Prolog itself on the machine the application will run on.
- Ensure that the system path includes a path to the
swipl
executable from that installation. - Check if your SWI Prolog version includes the MQI by running‘swipl mqi --help`
- Make sure the application (really the user that launches the application) has permission to launch the SWI Prolog process. Unless your system is unusually locked down, this should be allowed by default. If not, you'll need to set the appropriate permissions to allow this.
- Install (or write!) the library you'll be using to access the MQI in your language of choice.