Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Scrapscript

< >

Scrapscript is a programming language created in 2023 by Taylor Troesh.

#2512on PLDB 1Years Old
Homepage

All programs are data, expressions are content-addressable "scraps".Scrapscript rejects traditional package-management. Instead, “scrapyards” combine features from Smalltalk, Hackage, IPFS, GitHub, and StackOverflow.


Example from the web:
greet <| person:ron 3 . greet :: person -> text = | :cowboy -> "howdy" | :ron n -> "hi " ++ a ++ "ron" , a = text/repeat n "a" | :parent :m -> "hey mom" | :parent :f -> "greetings father" | :friend n -> "yo" |> list/repeat n |> string/join " " | :stranger "felicia" -> "bye" | :stranger name -> "hello " ++ name . person = : cowboy : ron int : parent s , s = (: m : f) : friend int : stranger text

Language features

Feature Supported Example Token
Expressions

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0