Transpiles a C# subset to non .NET languages. (Powered by Roslyn)
NOTE: IL2X will be for CPU targets
This project will focus on transpiling a C# subset with a modified type system for writing GPU programs.
- HLSL (DirectX Shader Assembly Language) [D3D9.0c +]
- ALS (DirectX Shader Assembly Language) [D3D8.0 - D3D9.0c]
- GLSL (OpenGL shading language) [OpenGL2.0 / GLES2 +]
- ARB (ARB assembly language) [legacy / homebrew systems]
- CG (Cg programming language) [PSVita, Nvidia / other]
- PSSL (PlayStation Shader Language) [PS4]
- MSL (Metal Shading Language) [macOS / iOS]
- AGAL (Adobe Graphics Assembly Language)
- Custom, etc
- CS2X.Core: .NET transpiler lib
- CS2X.CLI: CLI interface for CS2X.Core
- CS2X.Analyzer: C# syntax analyzer to limit unsuported features.
- CS2X.CoreLib: Portable CoreLib subset
NOTE: To clone repo you will need the Git Large File Storage
- Prerequisites
- VS 2022, vscode, Rider, etc
- .NET 8
No still experimental.