import { LangiumParser as t } from "./langium-parser.js";
import { createParser as o } from "./parser-builder-base.js";
function s(r) {
  const e = m(r);
  return e.finalize(), e;
}
function m(r) {
  const e = r.Grammar, a = r.parser.Lexer, n = new t(r);
  return o(e, n, a.definition);
}
export {
  s as createLangiumParser,
  m as prepareLangiumParser
};
