Skip to content

trumank/ScratchCafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Scratch Café

A JS -> Scratch compiler

Example

// program.js
function add(n1, n2) {
    return n1 + n2;
}

function substring(string, start, end) {
    var result = '';
    for (var i = start; i < end; i++) {
        result += string[i];
    }
    return result;
}

var string = substring('hello world', 6, 11);

Usage:

Clone this repo:

git clone https://github.com/MathWizz/ScratchCafe.git

Install acorn:

npm install acorn

Run:

node index.js

About

JS -> Scratch 2.0

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors