Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.58 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.58 KB

MysticMenagerie

Stable Dev Build Status Coverage SciML Code Style

A C-style programming language with a tree-walker Pratt-parsing interpreter. Made with the Julia programming language. It's inspired from monkeylang by Thorsten Ball.

Primate Palooza, Magical Monkeys, Arcane Apes, Sorcerer Sanctorum.

Main features:

  • C-like syntax
  • variable bindings
  • integers and booleans
  • arithmetic expressions
  • built-in functions
  • first-class and higher-order functions
  • closures
  • a string data structure
  • an array data structure
  • a hash data structure

Major parts:

  • lexer/tokenizer
  • Pratt parser
  • Abstract Syntax Tree (AST)
  • internal object system
  • evaluator

Go to the root of the repository and run:

using JuliaFormatter, MysticMenagerie
format(joinpath(dirname(pathof(MysticMenagerie)), ".."))

to format the package automatically.