Show HN: ScrapScript – A tiny functional language for sharable software (opens in a new tab)scrapscript.org
503 pointsHi friends,
I started casually working on scrapscript in 2015. 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.
The code is not public yet. Email me at hello@taylor.town if you're interested in joining the core team later this year.
Let me know if you have any questions or feedback :)
Comments (135) 41 threads
Show all comments
Showing thread 5 of 41
By default, using a name like `janedoe91/fibonacci` pulls the latest version of that particular scrap from the scrapyard. But all of its references are baked-in unless the author updates them.
The way around this is that consumers are empowered to use whatever forcing upgrade strategies they want. All scraps are transparent, so you can pipe everything through an "upgrader" scrap before execution, which replaces dependencies all the way down the stack with their latest versions. I'm sure many of these upgraders will exist depending on what types of tradeoffs you're looking for.
MVS is a nice and easy algo: https://research.swtch.com/vgo-mvs
All scraps are transparent, so you can create your own tools to manually tweak/replace dependencies before execution:
Why opt out of proper dependency management?
Continue this thread — 4 replies