Skip to content

talz-a/interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monkeylang Interpreter

Monkeylang Interpreter is an interpreter for a JavaScript-like programming language written in Go. It features a lexer, abstract syntax tree (AST), parser, evaluator, and a REPL, supporting language features such as higher-order functions, closures, and various data structures. This project is designed to follow the principles outlined in Thorsten Ball's book "Writing an Interpreter in Go".

Run Locally

  1. Clone the repository

    git clone https://github.com/ta-02/c-like-interpreter.git
    cd c-like-interpreter
  2. Build the project

    go build -o monkeylang main.go
  3. Run the REPL

    ./monkeylang

About

Interpreter for monkey language.

Resources

Stars

Watchers

Forks

Contributors

Languages