prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
13 lines (12 loc) • 449 B
JavaScript
import { l as languages } from "../../index-C1_GGQ8y.js";
import { b as boolean, a as clikeComment } from "../../patterns-Cp3h1ylA.js";
languages["nand2tetris-hdl"] = {
"comment": clikeComment(),
"keyword": /\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,
"boolean": boolean,
"function": /\b[a-zA-Z][A-Za-z\d]*(?=\()/,
"number": /\b\d+\b/,
"operator": /=|\.\./,
"punctuation": /[()[\]{},:;]/
};
//# sourceMappingURL=nand2tetris-hdl.js.map