StationeersSlang JoeDiertay 0.1.0 Slang (Stationeers Language) is a high-level programming language that compiles directly into IC10 within the game. Features: - In-Game Compilation: Write C-style code directly in the IC editor. - Automatic Register Management: Define variables with 'let' (e.g., let x = 10) without managing r0-r15. - Standard Control Flow: Use if/else, while, loop, break, and continue. - Functions: Define and call functions with arguments. - Smart Editor: Real-time syntax highlighting and error checking (red text for errors). - Persistent Source: Your high-level source code is saved inside the chip data, so you can edit it later. - Constant Folding: Mathematical operations on constants are calculated at compile time to save instructions. - Device Aliasing: Easy device mapping (e.g., device sensor = "d0"). Installation: This is a StationeersLaunchPad Plugin Mod. It requires BepInEx to be installed. Usage: 1. Open any IC10 housing or editor. 2. Write Slang code. 3. Press Confirm to compile and run. Logic Scripting Code BepInEx StationeersLaunchPad Quality of Life Slang - High Level Language Compiler A modern programming experience for Stationeers. Write C-style code that compiles to MIPS assembly instantly. Features - In-Game Compilation: Write high-level logic directly in the chip editor. - Automatic Registers: Stop juggling r0-r15. Just use let variables. - Control Flow: Full support for if, else, while, and loop. - Smart Editor: Integrated syntax highlighting and real-time error checking. - Persistent Code: Your Slang source code is saved with the chip, so you never lose your work. - Optimization: The compiler automatically optimizes constant math (e.g., 1 + 2 becomes 3). Example Code device sensor = "d0"; const MAX_TEMP = 300k; loop { let temp = sensor.Temperature; if (temp > MAX_TEMP) { // Do logic here } yield(); } Installation This is a StationeersLaunchPad Plugin Mod. It requires BepInEx to be installed. See: https://github.com/StationeersLaunchPad/StationeersLaunchPad Source Code: https://github.com/dbidwell94/stationeers_lang ]]> IC10Editor IC10Editor