

If you need to go source the best option is typically to install the dependencies from Macports or brew and then just compile from the git sources. That is similar to what I did when using MS Visual Studio and MSVC on Wndows: I used VS for the final steps while I used Emacs for bulk editing. You might still want to use the native editor for browsing around and fixing minor issues as the highlighting and context menus on predicates, calls, files, etc. Ultimately I hope the LSP protocol will allow for a good user experience on any IDE of the user’s preference … The native IDE works well, but it is a bit unconventional and multiple IDEs for different tasks is a burden. That also allows to profile suspect threads for a while to see what it is doing. Prolog/View threads can come handy to see a dynamic chart of the resource usage if your program takes long.

This allows editing while the program runs.

Note that the editor runs in its own Prolog thread. You can also compile from the PceEmacs editor.
UNIVERSAL TYPE CLIENT MAC CATALINA UPDATE
in the Prolog console to update the compiled image and try again. See Install SWI on Catalina? - #10 by janĪfter editing sources I normally type ?- make. ?- edit(file:line).Įdit If you use terminator. Typically only use the plain file name, i.e. Note that the commandline also allows for editing a file+line. That works nicely with git grep as well as to copy paste locations of error messages for editing. Now, if the Prolog editor is open you can run from any terminal edit file:line Just compile that using cc -o xpce-client client.c should work on most machines. I install that in my ~/bin and install a PceEmacs client from. Then there is a script edit in the customize directory of the release. To find stuff anywhere in the project I split the terminal and use git grep (always have my source under git). To edit anything else that has a name (predicates, modules, files, …), use ?- edit(Name). Just run Prolog in a terminal ( terminator), normally starting it as swipl There is also an experimental LSP (Language Server Protocol) that should allow using any editor of choice that supports LSP. There are many options, such as the native tools, GNU-Emacs, PDT (for Eclipse), a VSC plugin and most likely more. Just wondering, what do you use as an IDE?
