(function compound() {
const setup = require('./setup');
const grammar = new (require('./nested'))();
const input = 'aabbcc aaaa aaabbbccc';
console.log(`the grammar:`);
console.log(grammar.toString());
console.log(`the input string:`);
console.log(input);
const callbacks = [];
callbacks.anbn = false;
callbacks.anbncn = true;
callbacks.any = false;
callbacks.begin = true;
callbacks.bncn = true;
callbacks.comment = true;
callbacks.consumeas = true;
callbacks.end = true;
callbacks.prefix = true;
setup(grammar, callbacks, input);
})();