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
bibanez1 reply#
I haven't fully understood this. Is this a way to share code? Where are the functions executed?
surprisetalk#
It's a way to share code in multiple ways:

- the language is like JSON, so you can send programs (and custom types) between computers
- you can store code in public "scrapyards", and send references to the scraps for others to download later and reuse
Code is executed on your machine, just like python, JS, etc.

lionkor1 reply#
Would you mind publishing a EBNF or similar grammar spec? That would make the syntax clearer.
surprisetalk#
I'll be aiming for basic documentation and specs next.

I first wanted to see if there was any community interest before dumping a ton of work into this project. I honestly didn't expect this much excitement :)

acchow1 reply#
Would love to see more of the type system described.

If each scrap carries its own versions of its dependencies, then even the "same type" could actually be a "different type" because of version mismatches?

surprisetalk#
The version isn’t considered when comparing types. If the types structurally fits into the spot, you’re good to go.

I’m planning on publishing more of these kinds of details in the next month or two

snthpy#
I like the high level ideas and goals. I still have to get my head around the syntax and how it works in practice but will definitely keep an eye on this!

Load more comments