Skip to content
Sten edited this page Oct 6, 2023 · 2 revisions

File Structure

Stenguage doesn't have a very complicated file structure. There is a libs folder where you can have Stenguage or dll files which can be accessed globally by any script you make.

Stenguage
├─libs
│ └─StdLib.dll
├─Stenguage.dll
├─Stenguage.exe
└─Stenguage.runtimeconfig.json

When you compile from source there will be a Stenguage.deps.json file generated, if you have a library that's made in C# and requires external libraries to function you will have to delete the json file. You can also change it so that it contains the required dependency, but it's not required.

Compiling from source

Stenguage is made in C# so you will need to use Visual Studio to compile it.

First clone the GitHub repo and open the .sln file in Visual Studio.

git clone https://github.com/sten-code/Stenguage.git

Click on Build > Build Solution in order to compile Stenguage. The StdLib should automatically be compiled and added to the libs folder of Stenguage.

You can add the folder to your environment variables in order to use the stenguage command everywhere.

This is what the file structure will look like when compiling.

Stenguage
├─libs
│ └─StdLib.dll
├─Stenguage.deps.json
├─Stenguage.dll
├─Stenguage.exe
├─Stenguage.pdb
└─Stenguage.runtimeconfig.json

There will be a Stenguage.deps.json file generated, if you have a library that's made in C# and requires external libraries to function you will have to delete the json file. You can also change it so that it contains the required dependency, but it's not required.

The Stenguage.pdb is also not required because it contains debug symbols for Visual Studio and isn't required to run Stenguage.

Clone this wiki locally