Example Console
This interactive console application illustrates features of the
Jep Java
package.
Examples
- Simple calculation with precedence
1 + (2+3)*4
- Use of functions
cos(pi/2)
- Use of functions
cos(pi/2)
- Setting a variable
x = sqrt(2)
- Using a variable
x^2 + 3 x + 4
This example has been cross compiled to javascript
using the GWTJep package.
|