A tool that translates (compiles) a high-level language program to an IC10 assembly for the Stationeers game.
The language features a C-like syntax and supports basic instructions, including if/then/else, while loops, function calls, and return values.
Use the Wiki for the ic11 language reference.
Follow instructions in the vscode extension README.
This also works in Cursor. Use the examples for context.
ic11.exe <path> [-w]
Provide a path to the source code as a first argument.
If the path is a file, then this file will be compiled.
If the path is a directory, then all *.ic11 files in this directory will be compiled.
The optional second argument -w will write compiled code to new *.ic10 files next to the sources.
ic11.exe source.ic11
ic11.exe ./examples
ic11.exe source.ic11 -w
ic11.exe ./examples -wThe compiled code is provided in the Stdout.
Download/update dependencies:
dotnet restoreBuild binaries:
dotnet build src/ic11/ic11.csproj -c Release --no-restoreBuild a single exe:
dotnet publish src/ic11/ic11.csproj -c Release -r win-x64 --self-contained -p:PublishSingleFile=true -o ./publish