GWTJep JavaScript expression parser/evaluator.
This is the JavaScript version of the Jep mathematical parsing evaluation library. It is compiled from Java using the Google Web Toolkit.
Example equations:
1+2*3cos(pi/4)^2x=5x^2
It has most of the features of the main Jep library apart from a small set of changes necessary for JavaScript compatibility.
Webpage code
The Console app can be included in a web page by including the following code at the start of the page.
<script type="text/javascript">
var pageType = "Console";
window.jepModuleLoaded = function() {
console.log("jepModuleLoaded - run after Jep module loaded");
}
</script>
<script type="text/javascript" src="gwtjep/gwtjep.nocache.js"></script>
The in the location you want the console
<table>
<tr>
<td id="ConsoleContainer"></td>
</tr>
</table>
When the module is loaded the table cell is filled with the console widget.