Skip to content

Commit fc3a65e

Browse files
committed
Merge branch 'main' of https://github.com/dy/subscript
2 parents 8057b5e + 0db4166 commit fc3a65e

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# sub<em>script</em> <a href="https://github.com/spectjs/subscript/actions/workflows/node.js.yml"><img src="https://github.com/spectjs/subscript/actions/workflows/node.js.yml/badge.svg"/></a> <a href="https://bundlejs.com/?q=subscript"><img alt="npm bundle size" src="https://img.shields.io/bundlejs/size/subscript"/></a> <a href="http://npmjs.org/subscript"><img src="https://img.shields.io/npm/v/subscript"/></a> <a href="http://microjs.com/#subscript"><img src="https://img.shields.io/badge/microjs-subscript-blue?color=darkslateblue"/></a>
22

3-
> _Subscript_ is fast, tiny & extensible parser / evaluator / microlanguage with standard syntax.
3+
> _Subscript_ is fast, tiny & extensible parser / evaluator / microlanguage.
44
55
#### Used for:
66

77
* expressions evaluators, calculators
8-
* subsets of languages (eg. [justin](#justin)<!-- [jz](https://github.com/dy/jz) -->)
9-
* sandboxes, playgrounds, safe eval (eg. [glsl-transpiler](https://github.com/stackgl/glsl-transpiler))
10-
* custom DSL (eg. [piezo](https://github.com/dy/piezo)) <!-- uneural -->
11-
* preprocessors (eg. [prepr](https://github.com/dy/prepr))
12-
* templates (eg. [sprae](https://github.com/dy/sprae))
8+
* subsets of languages
9+
* sandboxes, playgrounds, safe eval
10+
* custom DSL
11+
* preprocessors
12+
* templates
1313

14-
_Subscript_ has [3.5kb](https://npmfs.com/package/subscript/7.4.3/subscript.min.js) footprint (compare to [11.4kb](https://npmfs.com/package/jsep/1.2.0/dist/jsep.min.js) _jsep_ + [4.5kb](https://npmfs.com/package/expression-eval/5.0.0/dist/expression-eval.module.js) _expression-eval_), best [performance](#performance) and extensive test coverage.
14+
_Subscript_ has [3.5kb](https://npmfs.com/package/subscript/7.4.3/subscript.min.js) footprint <!-- (compare to [11.4kb](https://npmfs.com/package/jsep/1.2.0/dist/jsep.min.js) _jsep_ + [4.5kb](https://npmfs.com/package/expression-eval/5.0.0/dist/expression-eval.module.js) _expression-eval_) -->, good [performance](#performance) and extensive test coverage.
1515

1616

1717
## Usage
@@ -232,6 +232,12 @@ mr-parser: -
232232
math-parser: -
233233
```
234234
235+
<!--
236+
## Used by
237+
238+
[prepr](https://github.com/dy/prepr), [justin](#justin), [jz](https://github.com/dy/jz), [glsl-transpiler](https://github.com/stackgl/glsl-transpiler), [piezo](https://github.com/dy/piezo)
239+
-->
240+
235241
## Alternatives
236242
237243
[jexpr](https://github.com/justinfagnani/jexpr), [jsep](https://github.com/EricSmekens/jsep), [jexl](https://github.com/TomFrost/Jexl), [mozjexl](https://github.com/mozilla/mozjexl), [expr-eval](https://github.com/silentmatt/expr-eval), [expression-eval](https://github.com/donmccurdy/expression-eval), [string-math](https://github.com/devrafalko/string-math), [nerdamer](https://github.com/jiggzson/nerdamer), [math-codegen](https://github.com/mauriciopoppe/math-codegen), [math-parser](https://www.npmjs.com/package/math-parser), [math.js](https://mathjs.org/docs/expressions/parsing.html), [nx-compile](https://github.com/nx-js/compiler-util), [built-in-math-eval](https://github.com/mauriciopoppe/built-in-math-eval)

0 commit comments

Comments
 (0)