Discuss Scratch

BarefootComputing
Scratcher
6 posts

Machine code for scratch commands

Hi, I am an educationalist in the UK and am writing a document to help teachers learn about computational thinking concepts.

I am writing about abstraction and am using, as an example, programming languages such as scratch to illustrate how the complexity of how programming languages work is hidden from programmers - so is an abstraction.

It would be great if I could somehow lift the lid of the black box of scratch to show how a simple command such as move 10 steps is implemented - how it works.

Is there any way to view the source code or machine code that is generated for scratch program?
PullJosh
Scratcher
1000+ posts

Machine code for scratch commands

This is the complete source code for the offline editor.
The interpreter is found in /src/interpreter/, if that's what you're looking for.

I hope that helps!
Mrcomputer1
Scratcher
500+ posts

Machine code for scratch commands

PullJosh wrote:

This is the complete source code for the offline editor.
The interpreter is found in /src/interpreter/, if that's what you're looking for.

I hope that helps!
no the source code is https://githib.com/llk/scratch-flash

My Profile / My User Page / My Talk Page
——————–
Progress bar to 1000+ Posts - Image might not be up to date

——————–
My browser / operating system: Windows NT 10.0 (Windows 11 - 22H2), Firefox 122.0b4
——————–
My ScratchX Extensions——–If you like this post, give me an internet!——–Sharp Scratch Mod
nathanprocks
Scratcher
1000+ posts

Machine code for scratch commands

Mrcomputer1 wrote:

PullJosh wrote:

This is the complete source code for the offline editor.
The interpreter is found in /src/interpreter/, if that's what you're looking for.

I hope that helps!
no the source code is https://githib.com/llk/scratch-flash
Actually, it is https://github.com/llk/scratch-flash


My browser / operating system: Macrosoft Winding XO, Internet Exploder 6.0, Angel Player ver.:1.2.5
;
PullJosh
Scratcher
1000+ posts

Machine code for scratch commands

nathanprocks wrote:

Mrcomputer1 wrote:

PullJosh wrote:

This is the complete source code for the offline editor.
The interpreter is found in /src/interpreter/, if that's what you're looking for.

I hope that helps!
no the source code is https://githib.com/llk/scratch-flash
Actually, it is https://github.com/llk/scratch-flash
Whoops! Was that just Nathan's branch?

Powered by DjangoBB