Javascript Interpreter in Scratch!

Javascript Interpreter in Scratch!

by AArt1256

👁 755 ❤️ 74 ⭐ 70 🔄 2
Created: Aug 27, 2023 Last modified: Aug 27, 2023 Shared: Aug 27, 2023

Description

To get started click on the green flag and type something like 2+2 or console.log("hello") . You can basically type in any JavaScript that doesn't use ES6 and later and only uses text based output. here's another example project (the mandelbrot set): I CAN'T PUT IT HERE SO FIND IT FROM SEE INSIDE (it should be the blank sprite) tags: #programming #javascript #cool #techy #tech #technology #interpreter #riscv #rv32im

Instructions

MAKE SURE TO RUN THIS PROJECT ON turbowarp.org/886379428/ or else this project will run very slowly. Hey there, I haven't really posted any project over the past few months but that's because I worked on this project, a JavaScript interpreter 100% on Scratch! It works by emulating an RV32IM RISC-V CPU running DukTape (a JavaScript interpreter for embedded use) with a REPL. If you want a new feature to be added or just want to ask questions, write a comment I'll maybe answer it! - NOTE TO THE SCRATCH TEAM - This project just emulates a basic computer with a RISC-V CPU running a javascript interpreter, so don't worry this doesn't do anything bad. It all runs inside the Scratch Project

Project Details

Visibility
Visible
Comments
Enabled