Open KoolenDasheppi opened 8 years ago
Universal-transpiler is compatible with SWI-Prolog. Which Prolog interpreter are you using?
Oh, I was using the javascript version, I'll try the Prolog version now though. :|
EDIT: SWI-Prolog gives me this error:
Warning: c:/users/coolj/documents/universal-transpiler-master/universal-transpiler-master/universal-transpiler.pl:25: Initialization goal failed
The latest version works correctly on Windows and Ubuntu. Which operating system are you using?
I am using Windows 10 currently.
I am using the latest version on Windows 10 and it runs correctly. Is input.txt saved in the same folder as universal-transpiler.pl on your machine?
Yes it is saved in the same directory... Maybe it's because I am on the Fast ring of the Insider Program???
EDIT: I am looking back at that error and it looks like it says there error is on line 25, which is "initialization"? I don't know anything about Prolog... so yeah.
You might be using an outdated version of universal-transpiler. Try using the latest version: when you open universal-transpiler.pl
it should show a prompt like this one:
Edit the source code in input.txt, type the name of the the input language, and press Enter:
That's exactly what it says, and I just downloaded the day I submitted this issue... :\
EDIT: I just downloaded latest version, and now it just freezes when I give it the output language... How long does it take usually?
I made another update to the system now; the latest version will print the output in several languages after the console is opened.
I just redownloaded it, and now it's back to the initialization goal failed error.
You need to extract the folder in order to use universal-transpiler. Did you extract the files before opening universal-transpiler.pl
?
Yes, it's extracted. I think my computer is just really crappy or something... :\
It's in the title, help please? This looks really cool, and I really want to try it!