Skip to content

Mango is a minimal expression parser and interpreter written in go

License

Notifications You must be signed in to change notification settings

eugenioenko/mango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mango

Mango is a minimal expression parser and interpreter

Usage

mango [options] [file]

    --version	prints mango version
    --help		prints this message

Example: mango ./example.mgo

Building

go build

Adding Expressions and Statement

  • Update AST definitions in ./tools/ast.js
  • Run node ./tools/ast.js to generate syntactical nodes definitions
  • Update parser.go to parse the new node
  • Update interpreter.go to interpret the new node

About

Mango is a minimal expression parser and interpreter written in go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published