piotr-bledowski / MATLAB_like_language_interpreter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MATLAB-like language interpreter

Our language lays somewhere in between MATLAB, Python and C, it's a mix of various syntax conventions and offers a robust mathematical toolkit by virtue of numpy-aided Python implementation of the interpreter.

Reqirements:

  • Python 3.9+
  • ANTLR4
  • Graphviz
  • Kivi

How to run

In the project's root directory run: python main.py

or use IDE's GUI to run the program.

Upon running main.py a tkinter window should show up: image

supported features:

  • variables of scalar, vector or matrix type
  • print statements
  • scalar math operations (trigonometric functions, exp, log, floor, ceil, sqrt, basic arithmetic)
  • if statements
  • for loops
  • element-wise vector operations

examples:

image image

About


Languages

Language:Python 97.5%Language:ANTLR 1.9%Language:kvlang 0.6%