monkey

command module
v0.0.0-...-4b644a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 4 Imported by: 0

README

Writing an interpreter in Go

This repository contains my implementation of the Monkey interpreter as described in the book Writing an Interpreter in Go and the addition The Lost Chapter: A Macro System For Monkey.

Monkey is not an official language and has no official specification. It is a toy language that is used to teach the basics of writing an interpreter. You can read more about the Monkey language and see other implementations Monkey: The programming language that lives in books.

Installation

go install github.com/solbero/monkey@latest

Usage

$ go run main.go
Hello mrnugget! This is the Monkey programming language!
Feel free to type in commands
>> let answer = 6 * 7;
>> answer;
42

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL