Share your repls and programming experiences

← Back to all posts
Prolog support on
Scoder12 (840)

Hey it me again back with another compilation. Today I compiled prolog to work on! All you have to do is fork the repl. When you run it you get a prolog shell. Enjoy!

theangryepicbanana (1688)

Ah, thanks for reminding me about adding Prolog to I had meant to try doing this a while back, but you seem to have beat me to it. Good job!

AmazingMech2418 (1041)

For some reason, this doesn't seem to be working for me. I tried running a script and it gave me an existence_error... I also tried using install-pkg gprolog and that is giving me instantiation_errors for some reason, although if I run my program in another interpreter online, it works. But I want to share it on, so do you know of any interpreters that would work?

WMeacham (0)

Hi, when I try to type [user]., I get an error. Both on this version and also on the version that I forked into one of my own repl's. It can do basic statements like
5 is 3 + 2.
Returns true. But if I try to consult a file or enter [user], it fails. What am I doing wrong. And thanks for diving into this.

Scoder12 (840)

@WMeacham sorry I don't know much about prolog but you can try looking at documentation and questions for GNU proglog specifically because I think there are differences between versions.

WMeacham (0)

@Scoder12 Not to worry. I appreciate you taking the first step. Now that I know it isn't an install issue, I'm pretty sure I have to modify the Path so it can find the executables. Those commands should work per the GNU Documentation. It just can't find them.

Thanks again! Only thing stopping me now is this old man remembering his Linux commands from a long time ago!