PenguinMod / PenguinMod-Vm

PenguinMod Vm
https://penguinmod.github.io/
BSD 3-Clause "New" or "Revised" License
17 stars 39 forks source link

OOP in PenguinMod? (Object Oriented Programming) #22

Open lego7set opened 1 year ago

lego7set commented 1 year ago

I know that scratch is only designed to work with strings, numbers, and booleans, but wouldn't it be so cool if we could access all of the other javascript types? We could use actual objects instead of using JSON. We could create custom classes and use bigint, symbol, and all of these other javascript types. and all the normal blocks have a cast already, so would OOP in penguinmod be possible?

RedMan13 commented 1 year ago

I know that scratch is only designed to work with strings, numbers, and booleans, but wouldn't it be so cool if we could access all of the other javascript types? We could use actual objects instead of using JSON. We could create custom classes and use bigint, symbol, and all of these other javascript types. and all the normal blocks have a cast already, so would OOP in penguinmod be possible?

thought about doing it, never came to a decisions on it might add this into the development repo thingy

Treetrain1 commented 1 year ago

Only wonder how something like this would integrate with the project smoothly

would it potentially need a separate tab? Or would the block editor need to be majorly changed to support different formats alongside blocks Whatever the solution is, I would love to have this as a feature

lego7set commented 9 months ago

uhhh i made it myself

Ianyourgod commented 9 months ago

dude you made a suggestion you can’t just close it?

RedMan13 commented 9 months ago

dude you made a suggestion you can’t just close it?

yes they can