"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const Parser_js_1 = require("./Parser.js");
__exportStar(require("./core/index.js"), exports);
__exportStar(require("./ebnf/index.js"), exports);
__exportStar(require("./util/index.js"), exports);
__exportStar(require("./ui/index.js"), exports);
__exportStar(require("./Autocompleter.js"), exports);
__exportStar(require("./Evaluator.js"), exports);
__exportStar(require("./ParsedNode.js"), exports);
__exportStar(require("./Parser.js"), exports);
__exportStar(require("./ParseException.js"), exports);
function makeSimpleParser() {
    const parser = new Parser_js_1.Parser();
    parser.defineType("my-color", "blue", undefined);
    parser.defineType("my-color", "green", undefined);
    parser.defineType("my-color", '({r:int}, {g:int}, {b:int})', undefined, true);
    parser.defineType("two-numbers", "{n1:int} and {n2:int}", undefined, true);
    parser.defineSentence("My favourite color is {color:my-color}.", undefined);
    parser.defineSentence("I like {two-numbers:two-numbers}.", undefined);
    return parser;
}
// const parser = makeSimpleParser();
// const editor = new ACEditor(parser, document.body);
//# sourceMappingURL=index.js.map