initialization/1, what about shutdown/1Jan 1 121 Dear All The initialization/1 directive is supposed to define goals that are to be executed after a file has been loaded. How about a directive for ...
Grammar - get next possible tokensJoeDuncan 4 126 Hi, I'm writing a grammar for generating expressions in a scripting language with a scheme like pre-fixing syntax. So, for example an expression in ...
Adding a new Operator in SWI-Prologn.barthwal 5 135 To improve code readability, I want to all a new Operator := Suppose I have a query goal(?Y,+X1,+X2,+X3,+X4,...,+Xn) Here Y is free and All X's are...
Prolog portability quest 3ulrich 0 126 Start up your Prolog, issue the directive op(1105,xfy,'|') and type in the following query: writeq((a-->b,c|d)). This should be a syntax error accor...
Prolog parser for command line options and arguments ?Marcus 3 119 Dear all, I assume that a lot of people like me need to pass arguments on the command line to their programs. I am rather new to Prolog, but I am sur...