capuchin

Monkey programming language interpreter and compiler written in Crystal

Capuchin

The name is inspired by Crystal the Monkey.

Installation

TODO: Write installation instructions here

Usage

make
./out/capuchin

Example: ./out/capuchin example/example.monkey

Docker

docker build -t capuchin:latest .
docker run -it capuchin:latest

TODO

  • Fix Interpreter class: everything is static right now, refactor to use it as Interpreter.new(Environment)
  • Add basic CLI
  • Implement proper comparison for all AST, Statements, Expressions and Literals in spec/
  • Fix ameba errors (mostly coding convetion stuff)
  • Rename all statments to e.g. LetStmt (now: LetStatement)
  • Rename all occurences of Object (Crystal already has an Object class)
  • Rename all expression to e.g. CallExpr (now: CallExpression)
  • Rename TokenType to Type
Repository

capuchin

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 4
  • over 4 years ago
  • April 8, 2020
License

MIT License

Links
Synced at

Fri, 22 Nov 2024 09:20:54 GMT

Languages