el-beeswarm
Version:
<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;
16 lines (12 loc) • 309 B
JavaScript
;
// To generate parser.js run the following command in the current directory:
//
// npx jison-gho parser.jison -o parser.js
const parse = require('./parser').parse;
/**
* @param {string} exp
* @returns {object}
*/
module.exports = function parseCalcExpression(exp) {
return parse(exp);
};