112
Prolog
planned
Activity
Newest
Oldest
Harmeet Singh Bhatia
planned
W
WMeacham
@Harmeet Singh Bhatia: Wanted to touch base and see if there is an approximate ETA for Prolog? The class I'm teaching starts on October 20th (Introduction to procedural (C/C++), applicative (LISP), and declarative (Prolog) languages. ) and I'm really hoping to use repl Teams for the class. Thx!!!
Haya
We hear you and we keep an eye on languages requests, we’ll try our best to support the languages you need, but sometimes we face some infrastructure challenges that doesn’t allow us to fully support certain languages. I hope you all understand that.
But that doesn’t mean we won’t try to support Prolog :)
f
flaviusgorgonio
@Haya: Me and the entire community of Prolog programmers are certainly hoping this will happen. Prolog is one of the few languages that represents the logical paradigm and there is no logical language on the Repl.it platform. So I ask you to consider this possibility with great fondness ... :)
ACleverDisguise
@Haya: OK, Repl.it supports a bunch of serious industry languages (C, C++, Java, etc.) and a bunch of popular scripting languages (JavaScript, Python, Ruby, etc.). Makes sense.
It has specialty project templates for important frameworks for the above too: Swing, Love2D, etc. Fair enough.
Then it starts getting into languages so fringe that I'd be shocked to hear there's more than a dozen active users: Roy, APL, etc.
Then it starts into the legacy languages that nobody seriously uses in projects anymore for all practical purposes: QBasic, APL (again), Forth.
Then it has at least one language with so many dialects that saying "we support it" is literally meaningless: Forth (again).
Then it has support for a half-dozen joke languages: LOLCODE, Brainfuck, Emoticon, Bloop, Unlambda, Rust. (OK, adding Rust to that list is a joke.)
And with all the support for these very obviously useless languages for any kind of serious work, PROLOG doesn't make the cut?!
Wow. Just ... wow.
J
JamesGelok
@flaviusgorgonio: It's my favorite logical language by far. really ought to be supported and I'm not sure if the low-level features needed to support it would be all that much more work than Brainfuck, Blopp, or LOLCODE.
f
flaviusgorgonio
@Haya: I sincerely hope that you also consider the issue of the logical paradigm. Prolog is not just another programming language, but a strong representative of a paradigm that until now has been ignored by the repl.it platform
l
leocomerford
@Haya: If technical or licensing reasons prevent repl.it from adding a Prolog implementation (really, any of them?) perhaps a different logic programming language could be added instead. In fact it looks as if the Python miniKanren library is already working in the Python repl. Maybe promote miniKanren-in-Python, or miniKanren in some other host language, to the menu of new repls? (miniKanren in Racket might be best https://repl.it/language-requests/p/racket ;) ) Another logic-programming language which might be considered is Mercury https://mercurylang.org/ .
(Obviously it would also be nice to have other logic programming languages in addition to a Prolog rather than instead of one.)
A
AmazingMech2418
@ACleverDisguise: With the "fringe languages" you mentioned, I agree with Roy which doesn't even have a complete documentation, but APL is actually a fairly well-known classic language, although not used often anymore.
With the "legacy languages", I actually would like to see more of them. I personally find QBasic and Forth especially as great languages to learn and to help learn the history of programming.
And, with Forth having a bunch of dialects, Gforth is the most common, so it is mostly based on that.
And the esolangs, while not practical, are fairly common in code golfing.
Though, there are a lot of languages it would be great to see Repl.it support, and Prolog is one of them. Others include Fortran, COBOL, Assembly, and PowerShell, among others. But, remember, it takes time for the Repl.it team to add languages. If you would like to add a language yourself try submitting a PR in https://github.com/replit/polygott.
ACleverDisguise
@AmazingMech2418: "...although not used often anymore" practically
defines
a fringe language.GForth is by no means the most common dialect of Forth. Most Forths are in places you have no idea have a Forth in them. They're in embedded systems and are typically purpose-made by the programmer for that system. Hence the old "ha ha only serious" joke: "If you learn one Forth you learn ... one ... Forth."
Forths up at the desktop level are so rarely used as to once again qualify as fringe.
W
WMeacham
Would like to add an additional comment. Many schools teach a survey class that covers the major programming paradigms. Procedural, Object Oriented, Functional and Declarative. To be able to teach the entire class using repl.it, we need Prolog. Was glad to see Scheme. C and C++ are a given. Thx!
x
xxpertHacker
Three years later, lol
ACleverDisguise
If you need a way to support different dialects AND Logtalk at the same time, the Textadept editor has lexer files (drawn up by yours truly) that show you how to pull it off.
0
0ADT
How many voters do you need?
Starbeamrainbowlabs
SWI-Prolog would be preferable here :D
Haya
if more people vote for it then we'll def going to add it
b
bramley
@Haya: Is 76 good enough?
W
Warhawk947
@bramley: we're way past 76 lol
J
JamesGelok
@Warhawk947: we're only 9 past 76 as of today
P
PatrickDonnelly
@Haya: Any progress on this?
Haya
@PatrickDonnelly: we need to do a languages hackathon and recap with the engineers. I hope we support it for you :)
P
PatrickDonnelly
@Haya: Please do. I'm designing a PL course, and the lack of Prolog may be a reason we don't use Repl.it as a core part of the course design. You have the other four languages we need, so I hope you can round it out with Prolog.
Alternately, if you'd install swi-prolog on the servers we could use python and the pyswip library.