[go: up one dir, main page]

Skip to content

xlxs4/MysticMenagerie.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.