FINALLY! Reverse Codification!

untitled script pic - 2021-12-19T034415.735

In other words, I can do it.

I've updated it.

What did you change?

Look at the Reverse Codification cat, and the MAP SNAP BLOCKS block.

Woops:

Edit: Fixed:

Edit 2: Well this is a bug in Snap!:

You didn't have to do all of that...

I know, I just wanted to finish it. You can do the regular codification if you want. I'll set up a base for you to follow.

Edit: Done. See my project.

BTW Why do you keep going through colors? First magenta, then green, then cyanish light blue, and now hot pink!

I'm already doing it.

IDK IM JUST MESSING WITH CUSTOM CATS

I'm sticking with #3F1F00 brown.

Edit: Really it should be 64-1/4ε,32-1/8ε,0+0ε, but colors don't have infinitesimals.

?
Also, this is kind of more of a text based Snap language instead of reverse codification (which would be more like a parser combinator or library like lex/yacc), not to say that it's not useful.

It is reverse codification, I'm working on the codification part right now.

@warped_wart_wars Just need to make codification for the Operators, Variables, Lists, and Other.
EDIT: I now need to finish Variables, Lists, and Other.
EDIT2: I now need to finish Lists and Other.

This is very cool! Now I've got an extra challenge @joecooldoo!

Try to make it so that you can convert Snap! blocks to the text syntax that you are using.

Thats what I'm doing.

If so, then why is the syntax for blocks predefined and not custom?

Epsilon means the base infinitesimal here. See this Wikipedia article for more information.

. <1sec> . <1sec> .

Do you mean, e.g., what parentheses and apostrophes are being used for not being able to be user-defined?

I knew that, but where did the infinitesimals come from?

From what I see, you can only use parentheses for inputs and apostrophes for values. I don't see anywhere where you can customize it. I should be able to use backslashes or colons to surround values if I want to. I'm also not sure how to add a new mapping