monkey

command module
v0.0.0-...-2c0d7dd Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

README

Monkey Language

Implementation of Monkey Programming Language from Thorsten Ball's Writing An Interpreter In Go and Writing A Compiler In Go Books.

Performance Results

Hardware Overview:
Model Name:	MacBook Air
Model Identifier:	MacBookAir10,1
Chip:	Apple M1
Total Number of Cores:	8 (4 performance and 4 efficiency)
Memory:	8 GB
Results
➜  monkey git:(main) ✗ go build -o bench benchmark/main.go 
➜  monkey git:(main) ✗ ./bench -engine=eval 
engine=eval, result=9227465, duration=12.911341834s
➜  monkey git:(main) ✗ ./bench -engine=vm  
engine=vm, result=9227465, duration=4.276731125s

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