Add first business article and article layout

This commit is contained in:
2026-05-21 12:14:46 -05:00
parent 200e14e2e9
commit 4735704c6f
9617 changed files with 988627 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
import { t as JavaScriptScanner } from "./scanner-BFcBmQR1.mjs";
//#region src/engine-raw.ts
/**
* Raw JavaScript regex engine that only supports precompiled grammars.
*
* This further simplifies the engine by excluding the regex compilation step.
*
* Zero dependencies.
*/
function createJavaScriptRawEngine() {
const options = {
cache: /* @__PURE__ */ new Map(),
regexConstructor: () => {
throw new Error("JavaScriptRawEngine: only support precompiled grammar");
}
};
return {
createScanner(patterns) {
return new JavaScriptScanner(patterns, options);
},
createString(s) {
return { content: s };
}
};
}
//#endregion
export { createJavaScriptRawEngine };