Oly Language Compiler and Runtime
A side project to understand programming languages and compilers in all stages.
Note: At the moment, documentation is in progress on building the project and language specification. It will come eventually.
Requirements:
- .NET 8 - Download
This will build everything except for the VSCode extension.
In the command-line at the root of the repository, run command:
dotnet build
You can also open Oly.sln
in Visual Studio and build it there.
Note: Some tests are expected to fail.
In the command-line at the root of the repository, run command:
dotnet test
You can also run the tests in Visual Studio's Test Explorer.
Requirements:
- VSCode 1.64.0 or newer
- Node.js and NPM
In the command-line at the vscode
folder, run commands:
npm install
npm run compile
After building it once:
- Make sure
src/LanguageServer/Oly.LanguageServer/Oly.LanguageServer.fsproj
has been built. - Open up the
vscode
directory in VSCode. - Navigate to
src/extension.ts
and open it. - Press F5.