V 2.0 coming eventually run in turbo mode turbowarp link: https://turbowarp.org/1375574586 turbowarp - 27 seconds scratch - 572 seconds turbowarp ~ 21.19x faster conclusion: run in turbowarp the code here is rendering a dirt block with text code which means because it has to interpret uncompiled code in real time, it is very slow. you can remix it and optimize it if you have the skill Scratch language ultimate edition features 20 different functions for code with syntax's being: line.call (line) line.call can include math. line.call requires return to not fill return stack line.return line.goto (line) line.goto can include math if.if = (value) if.if can include math if.else if.end var.set [var:(variable)] = (value) var.set can include math list.add {list:(list)} (value) list.replace {list:(list)} (item) (value) list.delete {list:(list)} (position) list.insert {list:(list)} (position) (value) draw.set_pixel_colour (x) (y) (colour) (thickness) draw.line_draw (x1) (y1) (x2) (y2) (colour) (thickness) var.constant [var:variable] (add/remove) makes variable last after green flag clicked, cannot be read but can be set, only works by setting other variables when green flag clicked, useful if you want to have variables that are reset-able or controllable list.constant {list:list} (add/remove) makes list constant after green flag clicked, it can be changed but not read, only works by setting other lists when green flag clicked, useful for textures or images input.keyboard (keyboard input) [var:variable] must be assigned to variable input.mouse (mouse_x, mouse_y or mouse_pressed) [var:variable] must be assigned to variable input.time (mode) [var:variable] must be assigned to variable, modes come from scratch timer and current time and days since 2000 input.username [var:variable] must be assigned to variable # can be used for descriptions of code without returning errors as for math operators there is 26 being: 11 functions with one effected number immediately after it with a space: abs (also known as absolute value of), round (rounds to nearest full number), floor (rounds down), ceiling (rounds up), sin (trig function), cos (trig function), tan (trig function), asin (trig function), acos (trig function), atan (trig function), not (binary function, 1 to 0, 0 to 1) and there are 15 functions that use 2 numbers (or letters for letter of and join) which are: +, -, *, /, ^, log (requires base, e.g. 10 log 100), root (requires base, e.g. 2 root 16), mod, >, <, =, or (binary comparative function), and (binary comparative function), join (like scratch join block but formatted as number 1 join number 2) letter_of (like scratch letter of block but formatted as 1 letter_of 32 being 3) all math functions must have stuff separated, an example of an equation is var.set [var:equation] = 1 + 8 ^ ( 3 mod 7 ) brackets must have a space first and space after as well as any mathematical operation. brackets can only be present in functions that do mathematical operations variables and lists cannot have any spaces in their name as whenever there is a space it is treated as a different part of a function, use _ instead. variables can be retrieved for math operations as [var:(variable name)] and lists items can be retrieved as {list:(list name),(item that can be a number or [var:(variable name)]) anytime there is colour you must spell it as colour not color, sorry for anyone who didn't read this far and got mad the code didn't work. and the most important thing with this code is running it in Turbowarp, scratch is much too slow for most things. if you want to actually code with this you will have to press the purple "See inside" button and open the code list. if you want to import lists for textures then you need to open the lists of list constant name, list constant size and list constant values. the things you want to import should be put into the list constant value list and a name will need to be given to it, and a size. press the green flag and the imported stuff will load, same goes for the variable constant lists
I spent way too long on this, I have used my mathematical interpreter in this languages code. if you want to use it you can (I cannot really stop you anyway, scratch doesn't allow it anyway) if I lose the new scratcher title I will add cloud variables to this project #computinglanguage #computing_language #computerlanguage #computer_language #codinglanguage #coding_language