/mathx

Small language which can specify mathematical expressions.

Primary LanguageC++

mathx

This is the compiler which can be used to compile mathx language. mathx is a simple laguage which can be used evaluate mathmatical expression. Compiler for mathx is written from scratch using recursive-decent-parsing techniques and LL(1) grammer.

Example :

START

auto x; auto y; auto z;

x = 2*(3+5);
y = x^2;

out(x); out(y);

END