[ How to grab users input in prolog ]
I want to grab users input and operate on it. How can I do it? I will appreciate recommendations of good tutorials too, preferred online.
If you want to read prolog terms/clauses, check this SWI Prolog section.
To read arbitrary text use the I/O predicates form here.
You might also use DCGs to operate on users input.
Also check some other answers from this site for some good prolog references.