A small programming language with postfix notation using TypeScript and Deno.
In postfix for an operation of two arguments, you add two numbers to the stack, then the operator will pop the arguments off the stack. So adding 1 to 2 is the following.
1 2 +
+addition-subtraction*multiply/divide
sinsine functioncoscosine functiontantangent function
eEuler's numberpiPi
Unit-language can evaluate more complicated expressions too.
2 3 + 9 - 8 * sin 5 -
deno run devdeno testdeno lint
