Web calculator library
- Open the demo link to run the exorbitant REPL on the WebAssembly.sh.
- Run the following example math expression:
var a[15]:={1}; var b[8]; fir1(7,0.35,b); var c[22]; conv(a,b,c); print(c);
const {createExorbitantRuntime} = require('exorbitant');
(async () => {
const exorbitant = await createExorbitantRuntime().createExorbitant({
expression: 'var a[15]:={1}; var b[8]; fir1(7,0.35,b); var c[22]; conv(a,b,c); print(c);'
});
exorbitant.value();
})().catch(ex => {
console.error(ex);
process.exit(1);
});