Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate Scratchblocks #24

Open
DogeisCut opened this issue Oct 1, 2023 · 2 comments
Open

Evaluate Scratchblocks #24

DogeisCut opened this issue Oct 1, 2023 · 2 comments

Comments

@DogeisCut
Copy link

DogeisCut commented Oct 1, 2023

Another possibly dumb idea, scratchblocks eval blocks.

msedge_xj85EsLdnp
msedge_SYCxaBsM8v
msedge_lt2KWgdNJo
msedge_A50zTRLK1w

Basically it'd run the blocks you type into the input. With the reporter well, reporting, and the command, running the command blocks. It would also have access to variables and such.

Could be renamed to evaluate stack and evaluate reporter leaving out the boolean too

@lego7set
Copy link

lego7set commented Oct 2, 2023

you might wanna use the regular scratch categories from Scratch.vm.runtime.ext_scratch3_? and the question mark can be replaced with control, data, event, looks, motion, operators, procedures (custom blocks idk why you need this), sensing, and sound. do your own parsing with your own custom extensions. maybe the devs could add a built in extension for this? idk.

@RedMan13
Copy link

RedMan13 commented Oct 2, 2023

you might wanna use the regular scratch categories from Scratch.vm.runtime.ext_scratch3_? and the question mark can be replaced with control, data, event, looks, motion, operators, procedures (custom blocks idk why you need this), sensing, and sound. do your own parsing with your own custom extensions. maybe the devs could add a built in extension for this? idk.

it would be significantly easier and more compatible to just make it parse the scratchblocks code into the compiler sudo code and compile that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants