Open dylemma opened 7 years ago
Yeah, we don't auto-load the dependencies anymore, we will probably do that in the future again.
require('lively.lang');
var ast = require('lively.ast');
ast.printAst(ast.parse("1 + 2"));
should do the job.
Thanks, that did the trick! It would be helpful if that extra require call was mentioned in the readme/examples.
In versions 0.9.0 and up, I can't successfully call any of the AST helper methods.
The code above works fine if I use
0.8.1
.