Code Editor for Layer X (Mostly just the compiler will be important.) Instructions: Up and Down arrows to go up and down lines. C to convert the program into something that can be run by LayerX. Space to edit the current Line. (Not like python, we end lines with ";") This language is used to interact with a giant list of cells, which can be a boolean, a number, or a string. There will be a counter, which is just a basic variable, more specifically an integer. These will be directly in the language: √ goto: Goes to the input. √ Cgoto: Sets cell cursor to the input. √ gotoifzero: If the cell currently selected is 0, goto the input. × [ (Loop): Defines the start of a loop which will stop when the counter equals 0. (Will be added in using LayerY editor) × ] (EndLoop): Defines the end of a loop which will stop when the counter equals 0. (Will be added in using LayerY editor) √ Sum: Sets the counter to the current cell + the cell at the input. √ Dif: Does the same as sum, but replace + with '-'. √ ++: Increments (increases by 1) the counter. √ AddProc: Adds a new actor with no name, runs code given. √ --: Decrements (decreases by 1) the counter. √ Set: Sets the cell to the counter. √ Get: Sets the counter to the cell. √ SetCount: Sets counter to input. These will be marked with a √ icon when implemented.
Released for testing.