Sandbox for development and testing of the Rux compiler.
Tests/
├── Pass/ # packages expected to compile and run successfully
└── Fails/ # packages expected to fail compilation
| Test | Description |
|---|---|
| Arithmetic | Basic arithmetic operations |
| Assert | Runtime assertions |
| Bool | Boolean types and logic |
| Calc | Complex calculations |
| Enum | Enumeration types |
| Fatal | Fatal error handling |
| For | For loops |
| Format | String formatting |
| Functions | Function definitions and overloading |
| If | Conditional statements |
| Import | Package imports |
| Int | Integer types |
| Interface | Interface declarations |
| Loop | Loop constructs |
| Memory | Memory management |
| Pointers | Pointer types and operations |
| Standard output | |
| SizeOf | Size-of operator |
| Slice | Slice types |
| String | String types and operations |
| Struct | Struct types |
| Tuple | Tuple types |
| Union | Union types |
| Var | Variable declarations |
| Variadic | Variadic functions |
| While | While loops |
| Test | Expected Error |
|---|---|
| Const | Reassignment of a constant |
| Empty | Package with no source files |
| Let | Reassignment of an immutable let binding |
Build a package from its directory:
rux buildRun the compiled executable:
rux run