Skip to content

alexanderluettig/csharp-monkeylang-interpreter

Repository files navigation

CSharp Interpreter for Monkey Language

Following the book Writing an Interpreter in Go by Thorsten Ball.

Monkey Language

  • C-like syntax
  • variable bindings
  • integers and booleans
  • arithmetic expressions
  • built-in functions
  • first-class and higher-order functions
  • closures
  • a string data structure
  • an array data structure
  • a hash data structure

Notes

Major Interpreter Components

  • Lexer
  • Parser
  • Abstract Syntax Tree (AST)
  • Internal Object System
  • Evaluator

Possible Improvements

  • Add Support for floating point numbers or decimals

Ressources

About

My Implementation of Monkey Lang Interpreter in C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages