This is a mostly functional Javascript interpreter, written in Scratch. You have to edit the code inside beacuse well I didn't design a UI by setting a variable to the code that should be ran. 0 0 coords = top left, not center. Also strings are a thing of the past, use spaces ONLY at function name(){code} if a space is anywhere else then this breaks. All variables are global. Booleans are only usable in if statements, you cannot use AND and OR. Variables cannot be set to booleans. Variables and booleans cannot be set to return of a function. Functions do not have parameters. You can use sin?x? cos?y? while defining a variable: x = sin?5? y = cos?7? * x + 5 Yes its ? instead of () for performance reasons. Console isn't a thing. Error handling is so good that it parses thru your invalid syntax or whatever. Also you can now use data?index? to access the data list at INDEX, very useful for Bad Apple!! in Scratch. Also > and < are broken, idk why but its like that. Deal with it. (By doing >= and <= instead with it offset by one). FUNCTIONS: set_pixel(x,y,color) // Color can be a HEX value. clear_screen() //Clears the screen
Yeah I used Turbowarp and its debug features.