Raze is a Compiled, Object Oriented, Statically & Strictly typed programming language that combines all the intuitive features from languages such as C, C#, and Python into a neat syntax, while also offering access to lower level programming.
Raze's syntax resembles other C-Family languages such as C and C#.
Example:
# Hello-World in Razefunction Main()
{
Print("Hello, World!");
}For a more formal writeup of Raze, see the CFG here
See all the code examples here
Please refer to the Raze Language Support repo for instructions on adding syntax highlighting in Raze.
Download the latest version of the Raze compiler from the Releases Page and add the executable's location to PATH (or run the raze/raze.exe program in the unzipped folder directly)
Feel free to familiarize yourself with the language with the examples
Requires .NET 8.0 or greater
Clone the repository:
git clone https://github.com/Ezlanding1/Raze.git
cd RazeRestore dependencies and build:
dotnet restore
dotnet publish -c ReleaseThe compiled binary will be located at Raze-Driver/bin/Release/net8.0/raze
Add this directory to your PATH to use Raze globally.
Create a file ending with .rz, or use raze init to create a sample program.
Run the Raze program with
raze run Program.rzAlternatively, use the compile option to compile the file to a standalone executable without running it
raze compile Program.rz| Operating System | Support | Notes |
|---|---|---|
| Windows | ✅ | |
| Linux | ✅ | |
| MacOS | ❌ | Planned support |
| Operating System | Support | Notes |
|---|---|---|
| x86-64 | ✅ | |
| arm64 | ❌ | Planned support |
| webassembly | ❌ | Planned support |
| riscv64 | ❌ |
To compile a Raze program for another platform, use the --sysinfo-osabi=Platform and --sysinfo-architecture=Architecture flags. For instance, I could compile Program.rz for a x86-64 Windows machine with
raze compile --sysinfo-osabi=Windows Program.rzand the compiler will generate an output.exe file for Windows
See the complete TODO List
Raze Compiler ALPHA V0.0.0 - MM/DD/YY
