ScrapScript — A tiny functional language for sharable software. It was shared on Show HN in 2023 and received 503 upvotes on Hacker News. The language itself forms merkle trees; VCS tools like git are optional. Every expression is independently version-controlled through the global namespace. expression-level versioning pair (spaceq/is-planet@2005 "pluto") (spaceq/is-planet@2006 "pluto") pair true false Every expression in the ecosystem can be independently spliced and “time-travelled”. send unevaluated sandboxed programs quang77/nth-digit-pi 420000000000 Scrapscript programs are safe to send around. “Contracts” are automatically inferred and enforced between clients, servers, and external APIs. serialization-free experience $ echo "@hucksternews/frontpage 3" | scrap platform task [ "https://ciechanow.ski/mechanical-watch" , "http://www.paulgraham.com/todo.html" , "https://sive.rs/hellyeah" ] Scrapscript automatically serializes and deserializes scraps across any API boundaries. The system doesn’t care whether you use IPC, HTTP, QUIC, email, etc. And if the API changes while the code is running, scrapscript offers a series of graceful handling options. optimized for AI & autocomplete f a b ; f = | x -> y -> x * y ; a = 1 ; b = 2 Scrapscript encourages wishful thinking . Declare your goal up-front, and let your tooling make educated guesses about how to get there. snippets on steroids $ echo "~~633b327df5e54bb626300a19a459b7bd81cce3ad13f72aa395df41e03f6a1577" \ | scrap save "my-key" Save your scraps in scrapbooks to privately sync across your devices. Introducing it on Hacker News, the author wrote: "I built a few compilers over the years to test out various ideas/implementations, and I think I'm finally happy with the overall design. Let me know if you have any questions or feedback :)"