An Interpreter / REPL written in C#. Get the grammar definition here
Sigma >
-
Math Operations (Associativity Implemented)
- Addition
- Subtraction
- Multiplication
- Division
- Bracket Operations
-
Bitwise Operators
- OR
- AND
- XOR
- Left Shift
- Right Shift
-
Data Types
- Floats, Ints & UInts(8-> 64)
- Strings
- Boolean
- Char
- Byte
- Lists
- Maps
-
Variables
- Local Variables
- Global Variables
-
Logical Operators
- OR
- AND
- Less Than
- Greater Than
- Less Than Or Equal To
- Greater Than or Equal To
-
Statements
- Return
- IF statements
- For Loops
-
Functions
- Functions
- Arrow Functions
-
Types
- Type Declaration
You'll need:
- DotNet Runtime >=
2.1
The Set up is pretty simple;
- Clone this repository
git clone https://github.com/j0nimost/sigma.git
- Open the folder containing the
.csproj
file - From the Command Line/Terminal Run:
dotnet restore
dotnet run
A lot of breaking changes
John Nyingi
Fork and Purge