Custom ADT Library (Remade)

I made this library for the upcoming abstract data type (ADT) feature in Snap! v12.

v11: Snap! ADT Library (Remake)
v12 (unstable): Snap! ADT Library (Unstable v12 version)

I remade this library because the old one was too confusing to use. I added help screens to the blocks and removed the unnecessary details. This is the older version of the project.

to be truly honest, I am making an ADT library too, and I don’t understand the purpose of the json block and the expand block. Could you please explain them? The other blocks are great though!

To be honest, in my opinion of course - if you’re making a personal project and you want a library to help with ADTs (when Snap 12 comes out), that’s perfectly fine. But for libraries its best to just do it raw with _morph and _type, to prevent extra blocks

JSON is self explantory, its the JSON of the struct! The expand allows you to do inheritance with the “…” syntax thats been out for a while now.

of course I know what it is, I just don’t understand why you need it :D
What does it accomplish?

For saving. Lets say you want a save system where it saves your save (of course) using the “db_” extensions. Then, you can simply use that JSON block to save the data! Of course you could do with the builtin JSON support, but its there for people who want it all be under ADT.

I don’t see anything that has to do with ADTs though?

Eh, not my library, so I don’t know :~) (bh emoticons in the wild)

offtopic, but i’ve seen @ego-lay_atman-bay randomly on various mario kart soundtrack videos, so if you ever see a :~) there is a real possibility it is bh.