ok, that makes sense.
nice, also https://snap-block.github.io/ is not working
That's because that's the wrong url, it's https://snap-blocks.github.io/. Thanks for telling me about it.
edit: I fixed the link in the first post.
well heres the thing: perfect block label parsing doesnt need to be done on primitives, since they are primitives and so there shouldnt be a label issue (there wont be primitives that dont work with the current block label parsing). but on custom blocks, you can just use the microworld block anyway (here it is, so that you dont have to import a new library: ) for the blockspec. So yeah that solves another problem! Right now I am working on getting block variables.
also for some reason the help text is showing here:
Actually, the code input (multiline monospace), can't be detected without javascript, since it's the same slot number as the regular multiline input, and the code imput is used in the javascript function block.
That's cause I made it add the comment on the block, and if there's no comment text attacked to a block, it will grab the comment from the definition (this is snap's behavior, not mine).
For primitives, you already know which have the code input (i think its also in the codification). But for custom blocks, I’m going to try to figure out the xml parsing.
Here is the project link for the block with block var support and custom category colors, JS-less:Snap! Build Your Own Blocks
which becomes
{(+ times this block is reported + :: lists)} \ block variables ((number)) @delInput @addInput :: define change [number V] by (1) report (number)
right now working on the code inputs.
{(+ snapblocks category + ((block λ)) + :: rgb(3,192,60))} :: define /* Get the category name of a block. If the block is in a custom category, it will be "other". However, if javascript is enabled, it will get the custom category color \(as "rgb\(r,g,b\)"\). */ report (if <([[category] V] of block (block)) > [10] @delInput @verticalEllipsis @addInput> then (color of block (block) :: operators) else (item ([[category] V] of block (block)) of (my [[categories] V])))
btw heres a block that detects conditions:

@ego-lay_atman-bay why arent the snapblocks comments working like shown above?