You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
393 B

4 years ago
  1. function merge() {
  2. var dest = {};
  3. for (var i = 0; i < arguments.length; i++) {
  4. var src = arguments[i];
  5. for (var key in src) {
  6. dest[key] = src[key];
  7. }
  8. }
  9. return dest;
  10. }
  11. module.exports = require('./create').create(
  12. merge(
  13. require('./config/lexer'),
  14. require('./config/parser'),
  15. require('./config/walker')
  16. )
  17. );