10 lines
218 B
JavaScript
Raw Normal View History

2019-09-18 11:11:16 +03:00
var parser = require('./lib/parser');
var compiler = require('./lib/compiler');
module.exports = {
parse: function(input) {
var nodes = parser.parse(input.toString());
return compiler.compile(nodes);
}
};