Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 877 Bytes

README.md

File metadata and controls

62 lines (47 loc) · 877 Bytes

Rinha Compiler

Tree-Walking Interpreter implemented in CSharp using Doubly Linked List (why not?!)

Nuget

Build and Run

  • build
docker build -t rinha .
  • fib
docker run -it rinha files/fib.json
  • sum
docker run -it rinha files/sum.json
  • combination
docker run -it rinha files/combination.json
  • helloworld
docker run -it rinha files/helloworld.json

How to use

You don't need to download the source code to run this Interpreter, you can install it in your machine using the dotnet tool.

dotnet tool install -g Rinha

You can run the command

rinha <your file>

Interpreter Language Features

  • Call
  • Function
  • Let
  • Var
  • Int
  • Str
  • Binary
  • If
  • Print
  • First
  • Second
  • Bool
  • Tuple