{"_id":"@calpano/ddot-textmate-grammar","_rev":"3-2c615ade0645d82e6bd76bf2a6eb8855","name":"@calpano/ddot-textmate-grammar","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@calpano/ddot-textmate-grammar","version":"0.1.0","keywords":["ddot.it","textmate","grammar","syntax-highlighting","knowledge-graph"],"license":"MIT","_id":"@calpano/ddot-textmate-grammar@0.1.0","maintainers":[{"name":"xamde","email":"support@calpano.com"}],"homepage":"https://ddot.it","bugs":{"url":"https://github.com/Calpano/ddot.it-syntax-tools/issues"},"dist":{"shasum":"cfcdd55d6e6e771e0f8d8acfd0c47f29bfa080c2","tarball":"https://registry.npmjs.org/@calpano/ddot-textmate-grammar/-/ddot-textmate-grammar-0.1.0.tgz","fileCount":4,"integrity":"sha512-4Xx8sOsYaLsTEzimykIMbUsAG94xDOJ955QG9lyP5rsSGRuZjEE1lNiZY0S9pIWctkV01bBWJit4Mj9beNyM6Q==","signatures":[{"sig":"MEUCIBUA8AchvQH5EqqgByqqxo+oIYCwjbXMJfOZ1KWUANlfAiEAgJC+e8xbLF11qdS7edwRYkVahJUfJRJo3LQubhAZvhE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8162},"main":"./index.js","type":"module","exports":{".":"./index.js","./grammar":"./ddot.tmLanguage.json","./ddot.tmLanguage.json":"./ddot.tmLanguage.json"},"gitHead":"2bb1bd28555bb0d500e347f3d83a04707985b33c","_npmUser":{"name":"xamde","email":"support@calpano.com"},"repository":{"url":"git+https://github.com/Calpano/ddot.it-syntax-tools.git","type":"git","directory":"textmate"},"_npmVersion":"11.12.1","description":"Canonical TextMate grammar for ddot.it (Knowledge Graph Notation). Consumed by VS Code, Shiki, and the cross-implementation conformance harness.","directories":{},"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ddot-textmate-grammar_0.1.0_1778227134716_0.5902463085893535","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@calpano/ddot-textmate-grammar","version":"0.1.1","keywords":["ddot.it","textmate","grammar","syntax-highlighting","knowledge-graph"],"license":"MIT","_id":"@calpano/ddot-textmate-grammar@0.1.1","maintainers":[{"name":"xamde","email":"support@calpano.com"}],"homepage":"https://ddot.it","bugs":{"url":"https://github.com/Calpano/ddot.it-syntax-tools/issues"},"dist":{"shasum":"4d8cac726f4be6242cca8608c3ae179cbebb4fc2","tarball":"https://registry.npmjs.org/@calpano/ddot-textmate-grammar/-/ddot-textmate-grammar-0.1.1.tgz","fileCount":4,"integrity":"sha512-WTvdwhDCb8a9vCi7ysg4rM+c+gTZu84eCFcHx4Cj7mTAYDv+L7ASBj2h9ag2du4GUZoej+eAEklCuB5M9qfwsA==","signatures":[{"sig":"MEYCIQDUUCgHrak4xAtGzDmJ58sGgkWMxlCSSz788VjwwDyy5wIhALck4PvOzJ3ICn89HPnO/2/W0rVDOWGvukGNYtUBKN78","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@calpano%2fddot-textmate-grammar@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8162},"main":"./index.js","type":"module","exports":{".":"./index.js","./grammar":"./ddot.tmLanguage.json","./ddot.tmLanguage.json":"./ddot.tmLanguage.json"},"gitHead":"4ebb5bb2eb2965add6f8a690a48a8ad938119966","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f231501f-5889-43ff-aa67-b5e9e9b1d53d"}},"repository":{"url":"git+https://github.com/Calpano/ddot.it-syntax-tools.git","type":"git","directory":"textmate"},"_npmVersion":"11.11.0","description":"Canonical TextMate grammar for ddot.it (Knowledge Graph Notation). Consumed by VS Code, Shiki, and the cross-implementation conformance harness.","directories":{},"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ddot-textmate-grammar_0.1.1_1778311025922_0.5026446256645285","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@calpano/ddot-textmate-grammar","version":"0.1.2","description":"Canonical TextMate grammar for ddot.it (Knowledge Graph Notation). Consumed by VS Code, Shiki, and the cross-implementation conformance harness.","license":"MIT","type":"module","main":"./index.js","exports":{".":"./index.js","./grammar":"./ddot.tmLanguage.json","./ddot.tmLanguage.json":"./ddot.tmLanguage.json"},"keywords":["ddot.it","textmate","grammar","syntax-highlighting","knowledge-graph"],"repository":{"type":"git","url":"git+https://github.com/Calpano/ddot.it-syntax-tools.git","directory":"textmate"},"homepage":"https://ddot.it","publishConfig":{"access":"public"},"gitHead":"e5db6ebcc5e79acc0be858969362868ccf426a17","_id":"@calpano/ddot-textmate-grammar@0.1.2","bugs":{"url":"https://github.com/Calpano/ddot.it-syntax-tools/issues"},"_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-MvoH5TyHoZacsDoHxw82r7HMR1kcKZcCdp1gVO1+ev0rY7YLPloVsuGbPMrEmNs3ZRpIXAc78RaLz+CzgyEQSw==","shasum":"8ab527576287a64f65813eceb12a4635a87c2172","tarball":"https://registry.npmjs.org/@calpano/ddot-textmate-grammar/-/ddot-textmate-grammar-0.1.2.tgz","fileCount":5,"unpackedSize":25451,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@calpano%2fddot-textmate-grammar@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDyhA8lCO+wMnwvhrJZlqIkH+mxRfxQijLebnuvZf1lhAIhAL5nhjj+wicTzLPgxyb+V7urGxFaJvBjLvUKDXZ6jEdU"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f231501f-5889-43ff-aa67-b5e9e9b1d53d"}},"directories":{},"maintainers":[{"name":"xamde","email":"support@calpano.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ddot-textmate-grammar_0.1.2_1785389321666_0.3747182761236436"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-08T07:58:54.601Z","modified":"2026-07-30T05:28:42.151Z","0.1.0":"2026-05-08T07:58:54.890Z","0.1.1":"2026-05-09T07:17:06.069Z","0.1.2":"2026-07-30T05:28:41.800Z"},"bugs":{"url":"https://github.com/Calpano/ddot.it-syntax-tools/issues"},"license":"MIT","homepage":"https://ddot.it","keywords":["ddot.it","textmate","grammar","syntax-highlighting","knowledge-graph"],"repository":{"type":"git","url":"git+https://github.com/Calpano/ddot.it-syntax-tools.git","directory":"textmate"},"description":"Canonical TextMate grammar for ddot.it (Knowledge Graph Notation). Consumed by VS Code, Shiki, and the cross-implementation conformance harness.","maintainers":[{"name":"xamde","email":"support@calpano.com"}],"readme":"# @calpano/ddot-textmate-grammar\n\nCanonical TextMate grammar for **ddot.it** — a minimal text format for typed\nknowledge graphs.\n\nThis is the source-of-truth grammar consumed by:\n\n- the VS Code extension (`ddot.it-vscode`),\n- the cross-implementation conformance harness (`ddot.it-syntax-tools/tools/`),\n- Shiki and any other TextMate-compatible highlighter.\n\n## Install\n\n```sh\nnpm install @calpano/ddot-textmate-grammar\n```\n\n## Use\n\n### Plain JSON\n\n```js\nimport grammarJson from \"@calpano/ddot-textmate-grammar/grammar\"; // resolves to ddot.tmLanguage.json\n```\n\n### Helper export\n\n```js\nimport { name, scopeName, loadGrammar, grammarPath } from \"@calpano/ddot-textmate-grammar\";\n\nconsole.log(name);          // \"ddot.it\"\nconsole.log(scopeName);     // \"source.ddot\"\nconst grammar = loadGrammar();\n```\n\n`grammarPath` is the absolute filesystem path to the `.tmLanguage.json` file —\nuseful for tools that want to load it themselves (e.g. `vscode-textmate`,\ncustom Shiki bundles).\n\n## Conformance\n\nEvery implementation that ships this grammar must produce the canonical\ntoken stream defined by\n[`ddot.it/test-data/tokens.md`](https://github.com/Calpano/ddot.it/blob/main/test-data/tokens.md).\nThe reference golden corpus is at\n[`ddot.it/test-data/cases/`](https://github.com/Calpano/ddot.it/tree/main/test-data/cases).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}