Skip to content

Pedagogical Python compiler & interpreter written in .NET

License

Notifications You must be signed in to change notification settings

zifro-playground/compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZIFRO Mellis compiler

CircleCI branch: rework CircleCI branch: all Codacy Badge GitHub package.json version (branch)

Mellis is a code library to allow compilation and code-walking of scripting languages such as Python. Built using .NET Standard 2.0, and for that is easily integrated into any .NET environment.

The main use case of Mellis is for educational applications to allow users to write code and see it execute in a controlled environment. We at Zifro are using Mellis in our Zifro Playground.

Mellis is developed, maintained, and owned by © Zifro AB (zifro.se)

Key features:

  • Runtime compilation! The scripting language is compiled and executed in runtime.
  • Code walking! Step through the compiled script line-by-line!
  • Simple pedagogical localized error messages. (Ex: You forgot to add a colon ":" at the end of your if statement., instead of syntax error in C:\Users\me\Documents\My Python scripts\example.py:3: unexpected EOF while parsing)
  • Unified language interface. Easily open up code modules to any (supported) programming language.
  • No threads. So easy integration into unthreaded environments such as WebAssembly (soon not relevant though, kudos to the webasm team 🤞).

Probable additions:

  • Languages
    • Lua
    • JavaScript

Star wishes, low prio, additions:

  • Languages
    • C#
    • Go
    • Perl