A baseline scrapscript compiler (bernsteinbear.com)
from armchair_progamer@programming.dev to programming_languages@programming.dev on 03 Jun 2024 06:26
https://programming.dev/post/15005911

Scrapscript is a small, pure, functional, content-addressable, network-first programming language.

fact 5
. fact =
  | 0 -> 1
  | n -> n * fact (n - 1)

My previous post introduced the language a bit and then talked about the interpreter that Chris and I built. This post is about the compiler that Chris and I built.

#programming_languages

threaded - newest

demesisx@infosec.pub on 03 Jun 2024 08:12 collapse

Looks to be heavily influenced by Unison. Personally, if this language can be a lightweight Haskell that has Unison-like features and can be used anywhere I’d have used Purescript, I’m really excited to see this gain popularity because Purescript has had major issues lately and I’m looking for something that can offer similar features without that headache.