A typed language that compiles into Scratch files, providing young learners with a bridge between visual block programming and a typed coding environment.
- NOTE: This project is still in a very early stage of development. It is currently unfinished and does not work. Please do not use until this message goes away.
- Download or clone the repository via
git clone https://github.com/piano-miles/blockscript.git
. - Install the necessary dependencies by running
pip install -r requirements.txt
in your command line.
- Write your Blockscript code in the
main.bs3
file. - Compile the Blockscript code into Scratch code by running
main.py
- The compiled Scratch code will be saved as an
sb3
file. - Open Scratch and import the
sb3
file.
Blockscript files end in .bs3
but can be raw text as well. The Blockscript compiler will compile the project to a .sb3
Scratch file.
The syntax is detailed in the syntax files
in the examples folder.
There are currently no examples. The examples will be made available in examples
.
Blockscript is licensed under the BSD 3-Clause “New” or “Revised” License. See the LICENSE file for more details.