jhance / mathscript

Toy programming language for mathematical computation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is essentially just a toy programming language. Built for educational
purposes only.


Example Program:



/* This is a comment */
// This is a comment
#  This is a comment

a = 0;
b = 1;
print(a);
print(b);
while(a + b < 100) {
   cur = a + b;
   a = b;
   b = cur;
   print(cur);
}

if(1 < 2) {
    print(1);
}

About

Toy programming language for mathematical computation


Languages

Language:C 100.0%