New multi-paradigm programming language
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A new multi-paradigm programming language. Right now it is being coded in Python using llvmlite.

This project is super early in development.

Some examples of the code for Mythril can be seen in the file. That is where I have been placing bits of test code as I work on various features.


  • Learn about compilers, LLVM, language design
  • Create a Python like syntax and mix in a whole lot of new language features and ideas
  • Use LLVM to make it more performant than Python but make sure it is just as easy to use
  • Focus on designs that will reduce possible errors
  • Choose defaults that are simple, easy and work despite possible performance overhead but make optimization easy. Example: use dynamic arrays by default but allow creation of fixed size arrays with a bit more notation

Planned Features:

  • Type Infrencing
  • Pattern Matching
  • First Class Functions
  • Closures
  • Classes
  • Actors
  • Default to an accurate Decimal type and offer Floating Point as an option
  • Default parameter values to functions
  • Keyword arguments
  • Design by Contract
  • Builtin Testing
  • Builtin Documentation
  • Array programming
  • Generators
  • Comprehensions
  • Context Managers
  • Anonymous (multi statement) Functions
  • Decorators
  • Type Aliasing
  • Slicing
  • Multiple Dispatch


  • Refactor, refactor, refactor
  • Make a super cool logo
  • Keyword arguments
  • Parameter default values
  • Variable number of arguments (varargs) {Partialy done}
  • Variable number of keyword arguments
  • Signed Integers
  • Nested Functions
  • Structs
  • Classes
  • Multiple Inheritance (for both classes and structs! Considering alternatives)
  • A more robust Type System would most likely be good to have
  • Enums
  • Actors
  • Single quotes for Interpolated strings and Double quotes for literal strings
  • Tests built in ('test')
  • Contracts built in ('require' and 'ensure')
  • Exceptions (Looking at alternatives)
  • Yielding
  • Context Manager ('with' and 'as')
  • Modules (importing with 'import' and 'from')
  • Closures
  • Anonymous (multi statement) functions
  • Assigning functions to variables
  • Properties ('getter' and 'setter')
  • Decorators
  • Delete things ('del')
  • Type Aliasing
  • Bytes type
  • Binary operators
  • Complex number type
  • Arrays {working in basic form}
  • Lists
  • Slices
  • Iterator unpacking
  • Allow for double calling as in immediatly calling a function returned by a function ex: returns_function()()
  • More Collection types (set, hashmap, linked list, trees, etc.)
  • Pattern matching ('match')
  • Throw away variable using a single underscore character (be able to use it multiple times)
  • Call C and/or Python functions from within Mythril Example
  • Automatic integer(or number) promotion on overflow
  • Support Unicode (UTF-8) by default
  • Multiple dispatch
  • Ignore underscores in numbers (as separators to increase readability)
  • Add hexidecimal, octal, and binary literal representations of numbers
  • Javadocs like documentation built in
  • DO NOT add a Null type
  • Use an Option type instead of Null for sentinal values
  • Implement Exhaustive Pattern Matching to help reduce potential errors


  • Python
  • Javascript
  • Java
  • Julia
  • Go
  • Pony
  • F#
  • Cobra
  • SQL