interpreter

command module
v0.0.0-...-3a9f485 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 4 Imported by: 0

README

Interpreter

Interpreter for Monkey programming language.

Get Started

Just execute following command:

go run main.go

And you will see a REPL environment:

Hello {username}! This is the Monkey programming language!
Feel free to type in commands
>>

Developing and Testing

It's pretty interesting to add new features. This project is Test-Deiven. You should write test cases first, and then run those tests with:

go test -coverpkg=./... -cover -covermode=atomic -gcflags=all=-l ./... -coverprofile=coverage.txt

Now you should be able to see some error logs. Fix them with new features, and run the test again.

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