TURBOWARP: https://turbowarp.org/1075070358?hqpen&fps=60&offscreen CONTROLS: press "run" to run the project The controls for this are as close to any other text editor as i could manage to make it arrow keys to move through text enter to create new line backspace to delete letter extra features: syntax highlighting auto-scroll based on cursor cursor remembers what letter it was on previously, idk how to explain it but you notice it when its not there error messages that include simple reason and the line it occurred on
This is a small coding language I made I think more work was put into the text editor and highlighting than making the actual coding language CODING LANGUAGE DOCS: Comments: anything after a # (doesn't count if the # is in a string) will become a comment Symbols: add: "+" subtract: "-" divide: "/" multiply: "*" modulus: "%" Tokens: <syntax> a command <string> text placed between " " or ' ' <int> any number or decimal <variable> any already defined variable <bool> a true or false value <label> a marker that can be jumped to <any> a token that means you can use any value listen below Usable tokens for <any> value: String: text placed between " " or ' ' Int: any number or decimal Variable: any already defined variable Bool: true or false Syntax: print <any> Use: logs whatever value given to the console Syntax: init <variable> Use: initiates a variable with the given name Syntax: set <variable> <any> Use: sets a variable to any value Syntax: math <any> <symbol> <any> <variable> Use: performs a mathematical equation and sets the given variable to the outcome Syntax: compare <any> <any> Use: compares to values together, sets inner "Compare" variable to result, this value is used by the "jump" command Syntax: label <label> Use: creates a jumpable spot, in the jump command you can reference a label and it will run the code starting from that label Syntax: jump <bool> <label> Use: checks the result of the compare value, if the <bool> token is true; it will jump if the result is true, if the token is false; it will jump if the result is false. Syntax: join <string> <string> <var> Use: combine 2 strings into one P.S. you can use a variable in replace of any token as long as the value of the variable is the same as the needed token