yasuyk / monkey-kotlin

An interpreter for the Monkey programming language written in Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

monkey-kotlin

An interpreter for the Monkey programming language written in Kotlin

Build Status codecov

What’s Monkey?

Monkey has a C-like syntax, supports variable bindings, prefix and infix operators, has first-class and higher-order functions, can handle closures with ease and has integers, booleans, arrays and hashes built-in.

There is a book about learning how to make an interpreter: Writing An Interpreter In Go. This is where the Monkey programming language come from.

Instruction

Test

$ ./gradlew test

Running the REPL

$ ./gradlew -q run

Running the Interpreter

$ ./gradlew -q run -PappArgs=example/helloworld.mk

License

Apache-2.0

About

An interpreter for the Monkey programming language written in Kotlin

License:Apache License 2.0


Languages

Language:Kotlin 98.9%Language:Makefile 1.1%