hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

8.9K
active users

systemd-jaded

i have come to the realization that developers seem to be *way* more on their bullshit than 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.

metalevel.at/prolog seems to be a good prolog book if you are also doing this

www.metalevel.atThe Power of PrologIntroduction to modern Prolog

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 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

@puckipedia @leftpaddotpy prolog is honestly the kind of language that is both cursed and just amazing to use