Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » ScratchScript — a new text based Scratch language
- Scratch-Bytes
-
Scratcher
15 posts
ScratchScript — a new text based Scratch language
If you are not using a library to parse the code, I would suggest implementing a lisp syntax.I'd love to see this too.(whenFlagClicked
(set variableName 0))
- redspacecat
-
Scratcher
1000+ posts
ScratchScript — a new text based Scratch language
Why, what's wrong with this version?If you are not using a library to parse the code, I would suggest implementing a lisp syntax.I'd love to see this too.(whenFlagClicked
(set variableName 0))
- ILOVETRAINS24100
-
Scratcher
43 posts
ScratchScript — a new text based Scratch language
How do you define a new block? And why not make it do scratch to scratchscript?
- redspacecat
-
Scratcher
1000+ posts
ScratchScript — a new text based Scratch language
How do you define a new block? And why not make it do scratch to scratchscript?Custom blocks are not currently supported.
Scratch to scratchscript would be an entire different project since it would require writing a parser for scratch projects.
- BADFELLA
-
Scratcher
2 posts
ScratchScript — a new text based Scratch language
We need to create a new, easy scripting language similar to Scratch, specifically for building games and applications in general. The goal is to enable users to easily create 3D games and comprehensive applications. I believe the easiest and most adaptable approach is to use AI to develop this language. For example, we could start by utilizing Claude AI code to build the language, test it, and then use Replit to refine it to achieve the desired results. This could potentially create a revamped version of Scratch that is better suited for a modern audience.
- mtnif
-
Scratcher
1000+ posts
ScratchScript — a new text based Scratch language
the code could be ambiguous, maybe you could do
also add an sb3 to scratchscript converter
whenGreenFlagClicked() sayForSecs("Hello, world!", 2)
whenGreenFlagClicked {
sayForSecs("Hello, world!", 2)
}also add an sb3 to scratchscript converter
- mtnif
-
Scratcher
1000+ posts
ScratchScript — a new text based Scratch language
also, for custom blocks, you can do
//No inputs function exampleBlock() { //code } //Reporter inputs function exampleBlock((reporter: reporter1), (reporter: reporter2)) { //code } //Boolean inputs function exampleBlock((boolean: boolean1), (boolean: boolean2)) { //code }
- Discussion Forums
- » Advanced Topics
-
» ScratchScript — a new text based Scratch language