Expose optimization methods directly
emilos opened this issue · 0 comments
emilos commented
Right now you can only import optimizations method in the following way:
const binaryExpressionReduction = require('abstract-syntax-tree/src/optimizations/binaryExpressionReduction')
it would be much nicer to just import them directly:
const { binaryExpressionReduction } = require('abstract-syntax-tree')
README should be updated as a part of this change