@eduardojdh/constant-folding

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i @eduardojdh/constant-folding

Weekly Downloads

0

Version

1.2.0

License

Unlicense

Unpacked Size

1.57 MB

Total Files

37

Last publish

Collaborators

  • eduardojdh