I noticed this project, macros v0.1 by @bh in the Snap!Con 2021 section of the Snap! home page, and I was wondering how it works. Also, when I go to the project, a few blocks in it are [scratchblocks] (Undefined! :: red reporter[/scratchblocks]:
The reason for the Undefined blocks is that you have to load it into the dev version.
At this point, the MAKE ORDINALS block is the only working macro. This was just a proof-of-concept to let people know what I'm working on (when I manage to squeeze it in...). I've mostly been trying to get backquote (or maybe read this one) to work. That's a bit of a digression, because if/when I do macros correctly users won't need backquote to build one, but it's useful anyway because I'm learning how the syntactic differences between Snap! and Scheme make trouble. (In particular, in Scheme a procedure definition is just a list, whereas in Snap! lists and blocks are completely different animals. So I need conversion functions between scripts (made of blocks) and syntax trees (made of lists).
Yes, 7-dev. Are you saying you got undefineds in 7-dev? Oops, yes, there are indeed undefineds in that file. It's because I loaded a bunch of different people's projects to start, but I'm only using a few of their blocks, so it works despite the undefineds. Sorry for misleading you.
They have the same name because they're both for developers (i.e., Jens).