Lurker News
Hi 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

Earlier comments
azubinski#
This is perhaps too bright for the gloom of recent months here.

Thanks to the author, this is a very exciting thing.
Of course, ligatures without the "disable ligature under a cursor" extension are slightly weird, but it even adds charm, we're on a site "for hackers" (laughing).
So, well, what kind of a ChatGPT can come up with something like that? :)

zephraph#
This is incredible. I’ve been thinking a lot about personal software systems and a hypothesis that I have is that simpler code sharing/versioning mechanisms is key to greater agency in programming environments. I’m already a huge fan of unison (we had Rúnar on devtoolsfm) so I’m eager to explore scrap further.
ivoras4 replies#
Neat but... Someone will make a crummier version of this in a language which doesn't feature parts looking like Unicode white noise and the original authors will be frustrated why the crummier vetsion took off and their project didn't.

Not every idea deserves to have an esoteric language attached to it to work.

fernmyth4 replies#
The funny Unicode symbols are actually ASCII `->` and `|>` rendered in a font with ligatures. I agree it's a bit jarring to see, but you wouldn't need a special keyboard.
andyferris#
Ohh… totally missed that!
surprisetalk#
The font is Fira Code for anybody interested!
beeburrt#
JetBrains Mono does that ligature `|>` in my Elixir code. I like it :)
detrites#
This really should be mentioned on the page. My first impression was: "well, however cool this is, I will never use it because I can't just type it in any terminal without creating some stupid bespoke environment for it".

EDIT: I just copied and pasted a code example into a text window and the raw typed text is exposed. Maybe something like a suggestion to do that could be included for anyone flummoxed by the symbols?

unwind#
Yeah, the language and ideas are so cool they're nearly a whoosh for my old brain. But I will never understand why anyone would go out of their way to present a programming language while obscuring how you actually type it.

I had to copy-paste the "weird-looking play-symbol" (|>) into a text editor to see if it really was what I thought it was [1], after noticing that selecting it with the mouse split it in half. That is highly distracting from the message, at least to me.
[1]: It was.

alwillis#
I’ve been using fonts with ligatures for esoteric languages like CSS and HTML for years. ;-)

Seriously, fonts that coders tend to use have included ligatures for quite a few years. For me, it’s less visual noise and a cleaner look.
I use Vim/Neovim and WezTerm but there are many combinations of editors and terminal emulators that support ligatures.
And many programmers fonts: https://github.com/ryanoasis/nerd-fonts

runlaszlorun#
I’ve been working on a crummier version. So crummy it will likely never make it to a v0.1… :)
haolez1 reply#
Looks fun, but doesn't look like it will be open source. That's a shame, since it considerably raises the risk of adopting such a platform.

EDIT: the author claims that it will be open sourced soon :)

surprisetalk5 replies#
Author here! It will be open sourced soon, but I’m embarrassed about my messy code :)

Email me at hello@taylor.town if you’re interested in joining the team

Bjartr#
A rule of thumb is that if you're not embarrassed when you launch, you've waited too long.
elbear1 reply#
What are you building it in?
surprisetalk5 replies#
My latest iteration uses a bootstrapped compiler written in scrapscript :)

The bootstrapper was written in Elm, because its parsing combinator library is by far the nicest to use.
I wrote a rust bootstrapper in ~2019, but it was much too heavy for my experimentation phase. I think rust would be a good candidate going forward for the bootstrapper going forward though.
I'm open to suggestions!

Continue this thread — 5 replies

teaearlgraycold#
Fuck It Ship It
crowdhailer1 reply#
What is the plan for 2024 and what are the goals for the core team right now. I would potentially be interested in joining.
surprisetalk#
My next step is to release an airtight spec and roadmap to all the people that are interested in contributing. I'm receiving a ton of emails from devs who want to contribute but don't have experience in compilers, so I'd like to find a way to evolve the system in a way that works for everybody.

I think first steps with the core team would be to source feedback on some of my design and architecture decisions. It'll be much easier to build everything if everybody shares the same vision and we're aware of all the tradeoffs.

quickthrower2#
No one really checks out old commits though. And any employee who cares about anything open source being “bad” isn’t worth working for.

Load more comments