Skip to content

jiekun/interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

monkey interpreter written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages