i have come to the realization that #prolog developers seem to be *way* more on their bullshit than #haskell developers, *and* they seem to have gotten a shocking amount done in their nearly boundless hubris in a more cursed and less-used language
you can write a Web site in this thing! what on earth. i mean i got paid to write website code in haskell, twice, but, this feels way less like it should be possible.
https://www.metalevel.at/prolog seems to be a good prolog book if you are also doing this
also: i wrote a cute parser/evaluator in a group project for school and i am unreasonably proud of it. it's !!! 180 lines !!! of this language and has functions, booleans, recursion, and numbers!! what on earth!
it's very haskelly but for people who are doing even more drugs and it is excellently terse
```
cpsc312/group2 » cat test-exprs/fib
let fib = n: if n == 1 then 1 else (if n == 2 then 1 else fib (n - 1) + fib (n - 2)); in fib 15
cpsc312/group2 » ./eval_main.pl test-exprs/fib
n(610)
```
jade are you reimplementing nix in prolog?
no. i needed a grammar and i write too much of this cursed language anyway, so i just took the nix grammar and picked a minimal subset.
@leftpaddotpy oh, no, that idea (as well as writing a redo implementation) is all mine.....
we have been pondering picking prolog back up for cursed reasons
@leftpaddotpy seems like you might enjoy https://www.curry-language.org/: basically Haskell syntax with Prolog semantics. the version I used a couple decades ago actually compiled to Prolog. I don't know what that community has been up to since then, but at a quick glance it looks like folks have been doing both GUI programming and web development in that language too
@jamey oooh cool!
@leftpaddotpy fucking love prolog imo
@puckipedia @leftpaddotpy prolog is honestly the kind of language that is both cursed and just amazing to use