1.2.0 • Published 2 years ago

@eduardojdh/constant-folding v1.2.0

Weekly downloads
-
License
Unlicense
Repository
github
Last release
2 years ago

CI for constant-folding

constant-folding

A minimal node module providing utility to traverse an ast to makes some changes and substitute values of known constants in expressions.

Installation

npm install @eduardojdh/constant-folding

Usage from code:

const constantFolding = require('constant-folding');
//call the function

Author

Eduardo Díaz Hernández - alu0101118642

Tests

npm test

See also ULL-ESIT-PL-2122 / constant-folding-production-test-eduardo-diaz-hernandez-alu0101118642 to test this module.

See also the main repo made of this repo and the prueba repo