rajsite/exorbitant - wapm
Wapm logo
search

The search results will appear here

rajsite/exorbitantWASI

0.0.15 Public • Published 9 hours ago343 KB

Web calculator library

Copy and paste to install this package
wapm install rajsite/exorbitant

homeHomepage

launchGithub (grade - call_split - error_outline - open issues/PRs)

exorbitant

Web calculator library

Example command

var a[15]:={1}; var b[8]; fir1(7,0.35,b); var c[22]; conv(a,b,c); print(c);

Example node usage

const {createExorbitant} = require('exorbitant');
(async function () {
    const exorbitant = await createExorbitant();
    const symbolTable = exorbitant.createSymbolTable();
    const expression = exorbitant.createExpression();
    const parser = exorbitant.createParser();

    expression.registerSymbolTable(symbolTable);
    parser.compile(`var a[15]:={1}; var b[8]; fir1(7,0.35,b); var c[22]; conv(a,b,c); print(c);`, expression);
    expression.value();
}()).catch(ex => console.log(ex));