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
That's wildly cool.
This and Val Town [0] feel like they were made for each other. If you added them together with a nice front-end like mmm.page [1] I bet a million devs would sign up.
I'm working on something in a similar space that I'm hoping mihht develop into that [2]
It makes sense that the next step for the web is a more low-level social platform that works more like an agnostic API than a walled garden.
[0] https://www.val.town/
[1] https://build.mmm.page/
[2] https://hyperspace.so/
This is pretty much my plan for the next few years, with some added surprises :)
I really want to rekindle the days of geocities and flash. I call this "the cheap web" haha
I've also been working on open standards for authentication and payments within the ecosystem, but I'm not quite happy with the results yet. I don't like this world where we have to use companies like Auth0 and Stripe to build something worthwhile. I'm open to ideas!
[0] https://mastodon.ar.al/@aral
[1] https://mastodon.laurakalbag.com/@laura
[2] https://codeberg.org/kitten
[3] https://owncast.small-web.org/
Or maybe you can come up with something similar to a cryptocurrency that integrates with your data structure and has core things like digital signatures for secure transactions and public distributed ledger(s). It seems like there could be a way to adapt some underlying features of ScrapScript for this stuff. Maybe as part of the "lab" thing.
Just don't call it a cryptocurrency. Lol.
Continue this thread — 1 reply
Side note: I was just watching the val.town video and at the end he mentions that "you are an object" and other people can access your properties. It immediately made me think of playing hackmud. Not sure if that's a good thing or bad!
Excited to see where this project goes.
[1] https://paper.mmm.dev/
[2] https://twitter.com/xhfloz/status/1611094168981458981
The more I dig into mmm.page, the more I'm loving what you've built! I can't wait to play around with it next week. The design is gorgeous so far.
Somebody is giving a talk on "Print Inspired People-Computing" at my tech conference this August. You two would probably get along pretty well!
I'd love to have you in our community, so feel free to email me at taylor@outland.sh and I'll send you a free ticket :)
[1] https://outland.sh
The stuff there looks like a "MySpace 2.0".
And that's not a compliment.
I'm grown out of it.
Continue this thread — 1 reply
https://www.unison-lang.org/
> pre { overflow-x: scroll; }
`overflow: scroll` is very poorly named, and practically never the right tool. You want `overflow: auto` instead, which only renders scrollbars if they’re needed.
(Long ago, there were two potentially valid scenarios for it: for avoiding reflow when changing the document’s length, and for unbreaking viewport units so that 100vw includes the viewport’s vertical scrollbar. The former was only exceedingly rarely useful, and can be achieved better now on all but Safari with the scrollbar-gutter property. The latter only Firefox ever implemented, and no one else wanted to, so they eventually removed it from the spec and from Firefox, so now viewport units are just stupidly broken by design. I myself have not found a single place I wanted to use `overflow: scroll` or where it would have been reasonable in the past decade. Stylesheet linters should include a default rule that complains about `overflow: scroll` because it’s so temptingly-named but so thoroughly not what you want.)
All comments shown.
Couldn't load more comments. Check your connection and try again.