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.
Requirements:
- Visual Studio 2022 Community 17.13.6 or later - Download
- Must use this to build Oly with the appropriate F# version.
- .NET 8 - Download
This will build everything except for the VSCode extension.
Open Oly.sln in Visual Studio and build it there.
Note: Some tests are expected to fail as this project is in active development.
Use Visual Studio's Test Explorer to run the tests.
SPIR-V: Currently experimental. Requires the Evergreen repository to be located in the same directory next to the Oly repository. You must also build Evergreen\src\managed\Engine\gpu_test.olyx before running the SPIR-V tests.
Requires the Evergreen repository to be located in the same directory next to the Oly repository
Use Visual Studio to launch the Oly.Benchmarks project.
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.fsprojhas been built. - Open up the
vscodedirectory in VSCode. - Navigate to
src/extension.tsand open it. - Press F5.