Join Nostr
2026-01-08 12:21:08 UTC
in reply to

amen zwa, esq. on Nostr: Yeah, I had a series of points I wanted to make, but I was obliged to break it up, ...

Yeah, I had a series of points I wanted to make, but I was obliged to break it up, which unintentionally caused misunderstandings. It's difficult to conduct a long-form discourse on social media. Heck, it's difficult even to converse on social media, at all.😀

We all know that loads of people implement Scheme, especially the much simpler R4RS, using many different languages, including ML. But if I understood you right, you are considering using ML as the embedded macro processor for R7RS Scheme, yes?

Well, that's just brilliant! Indeed, ML was called "Meta Language" because it was born as such: an embedded, scripting language for the LCS theorem prover. So, you're using ML as it was originally intended, by employing it as a macro language.

The most popular ML implementations are SML/NJ (the gold standard), MLton (whole-programme optimiser), HaMLet, and Moscow ML. Of those, Moscow ML is perhaps the smallest, hence arguably the simplest. It compiles fast, but the generated code isn't fast. But that shouldn't detract from this particular use case. You will also be able to leverage MLlex and MLyacc.

Correct me, if my reading of your post was off.