{"id":26120125,"url":"https://github.com/eclipse-biscuit/tree-sitter-biscuit","last_synced_at":"2026-04-24T04:32:54.084Z","repository":{"id":104333611,"uuid":"607171970","full_name":"eclipse-biscuit/tree-sitter-biscuit","owner":"eclipse-biscuit","description":"Tree Sitter grammar for biscuit datalog","archived":false,"fork":false,"pushed_at":"2025-04-08T11:33:34.000Z","size":131,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-12-25T16:40:05.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipse-biscuit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-27T13:16:38.000Z","updated_at":"2025-10-26T22:26:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2e229ef-2f2a-4483-922f-4d2f50541317","html_url":"https://github.com/eclipse-biscuit/tree-sitter-biscuit","commit_stats":null,"previous_names":["eclipse-biscuit/tree-sitter-biscuit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eclipse-biscuit/tree-sitter-biscuit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-biscuit%2Ftree-sitter-biscuit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-biscuit%2Ftree-sitter-biscuit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-biscuit%2Ftree-sitter-biscuit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-biscuit%2Ftree-sitter-biscuit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipse-biscuit","download_url":"https://codeload.github.com/eclipse-biscuit/tree-sitter-biscuit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-biscuit%2Ftree-sitter-biscuit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32209893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-03-10T13:06:08.522Z","updated_at":"2026-04-24T04:32:54.079Z","avatar_url":"https://github.com/eclipse-biscuit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tree Sitter grammar for biscuit\n\nThis is a work in progress, but it is already used by the [biscuit online tooling](https://www.biscuitsec.org/docs/tooling/datalog-playground/)\n\n## Current support\n\nTree-sitter biscuit supports [biscuit datalog v3.3](https://www.biscuitsec.org/blog/biscuit-3-3/).\n\n## Known issues\n\nMethod calls are not parsed correctly (see [issue #3](https://github.com/eclipse-biscuit/tree-sitter-biscuit/issues/3)).\n\n## How to use\n\n### Helix\n\nAdd the following to `languages.toml` (make sure the commit id is up-to date)\n\n```toml\n[[language]]\nname = \"biscuit\"\nscope = \"source.biscuit\"\ninjection-regex = \"(biscuit|authorizer|block|query)\"\nfile-types = [\"bcdl\", \"biscuit-datalog\"]\ncomment-token = \"//\"\nindent = { tab-width = 4, unit = \"....\"}\nroots = []\nlanguage-servers = []\n\n[language.auto-pairs]\n'(' = ')'\n'{' = '}'\n'[' = ']'\n'\"' = '\"'\n\n[[grammar]]\nname = \"biscuit\"\nsource = { git = \"https://github.com/biscuit-auth/tree-sitter-biscuit\", rev = \"91923e75bc93142500349684baec30b9539bdc0b\" }\n```\n\nThen, copy `queries/highlights.scm` and `queries/textobjects.scm` in `queries/biscuit/` within a helix runtime directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-biscuit%2Ftree-sitter-biscuit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipse-biscuit%2Ftree-sitter-biscuit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-biscuit%2Ftree-sitter-biscuit/lists"}