{"id":22403612,"url":"https://github.com/aatauil/codemirror-lang-turtle","last_synced_at":"2025-07-31T16:32:07.536Z","repository":{"id":165605703,"uuid":"640980269","full_name":"aatauil/codemirror-lang-turtle","owner":"aatauil","description":"TURTLE grammar for Lezer parser","archived":false,"fork":false,"pushed_at":"2023-05-16T09:38:35.000Z","size":29,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-03T00:34:38.611Z","etag":null,"topics":["codemirror6","lezer-grammar","rdf","semantic-web","turtle"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aatauil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-15T14:22:02.000Z","updated_at":"2023-07-17T12:07:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5a04b17-43d4-49c5-8120-6c124adfeafa","html_url":"https://github.com/aatauil/codemirror-lang-turtle","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"9f95e71b83feccef46bd1a6fc613c4acb713fd98"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatauil%2Fcodemirror-lang-turtle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatauil%2Fcodemirror-lang-turtle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatauil%2Fcodemirror-lang-turtle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatauil%2Fcodemirror-lang-turtle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aatauil","download_url":"https://codeload.github.com/aatauil/codemirror-lang-turtle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228187990,"owners_count":17882412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codemirror6","lezer-grammar","rdf","semantic-web","turtle"],"created_at":"2024-12-05T09:18:44.789Z","updated_at":"2024-12-05T09:18:45.361Z","avatar_url":"https://github.com/aatauil.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeMirror TURTLE Language Support\n\n\u003cspan\u003e\u003ca href=\"https://www.npmjs.com/package/codemirror-lang-turtle\" title=\"NPM version badge\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/codemirror-lang-turtle?color=blue\" alt=\"NPM version badge\" /\u003e\u003c/a\u003e\u003c/span\u003e\n\nA CodeMirror extension that provides Turtle syntax highlighting and language support.\n\n### Usage\n\n```ts\nimport { basicSetup } from 'codemirror';\nimport { EditorView } from '@codemirror/view';\nimport { EditorState } from '@codemirror/state';\nimport { turtle } from 'codemirror-lang-turtle';\n\nconst doc = `\n@prefix rdf: \u003chttp://www.w3.org/1999/02/22-rdf-syntax-ns#\u003e .\n@prefix dc: \u003chttp://purl.org/dc/elements/1.1/\u003e .\n@prefix ex: \u003chttp://example.org/stuff/1.0/\u003e .\n\n\u003chttp://www.w3.org/TR/rdf-syntax-grammar\u003e\n  dc:title \"RDF/XML Syntax Specification (Revised)\" ;\n  ex:editor [\n    ex:fullname \"Dave Beckett\";\n    ex:homePage \u003chttp://purl.org/net/dajobe/\u003e\n  ] .\n`\n\nnew EditorView({\n  state: EditorState.create({\n    doc,\n    extensions: [\n      basicSetup,\n      turtle(),\n    ],\n  }),\n  parent: document.querySelector('#editor'),\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatauil%2Fcodemirror-lang-turtle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faatauil%2Fcodemirror-lang-turtle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatauil%2Fcodemirror-lang-turtle/lists"}