{"id":13759638,"url":"https://github.com/oakmac/tree-sitter-clojure","last_synced_at":"2025-10-04T09:11:10.838Z","repository":{"id":57379546,"uuid":"158432247","full_name":"oakmac/tree-sitter-clojure","owner":"oakmac","description":"Clojure / ClojureScript grammar for tree-sitter","archived":false,"fork":false,"pushed_at":"2022-12-07T00:40:23.000Z","size":762,"stargazers_count":32,"open_issues_count":17,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T19:45:13.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/oakmac.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}},"created_at":"2018-11-20T18:12:08.000Z","updated_at":"2022-12-07T00:40:27.000Z","dependencies_parsed_at":"2023-01-24T12:31:53.878Z","dependency_job_id":null,"html_url":"https://github.com/oakmac/tree-sitter-clojure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oakmac/tree-sitter-clojure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Ftree-sitter-clojure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Ftree-sitter-clojure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Ftree-sitter-clojure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Ftree-sitter-clojure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oakmac","download_url":"https://codeload.github.com/oakmac/tree-sitter-clojure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Ftree-sitter-clojure/sbom","scorecard":{"id":700494,"data":{"date":"2025-08-11","repo":{"name":"github.com/oakmac/tree-sitter-clojure","commit":"bff93b54c2ccc4c905b0e1cc64be622163c8b7fc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 3/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T05:06:44.175Z","repository_id":57379546,"created_at":"2025-08-22T05:06:44.175Z","updated_at":"2025-08-22T05:06:44.175Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278290404,"owners_count":25962532,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-08-03T13:00:56.733Z","updated_at":"2025-10-04T09:11:10.812Z","avatar_url":"https://github.com/oakmac.png","language":"C","funding_links":[],"categories":["Grammars","C"],"sub_categories":["Others"],"readme":"# tree-sitter-clojure [![Build Status](https://travis-ci.org/oakmac/tree-sitter-clojure.svg?branch=master)](https://travis-ci.org/oakmac/tree-sitter-clojure)\n\n\u003e **Dec 2022 Update:** You may want to check out [sogaiu tree-sitter-clojure](https://github.com/sogaiu/tree-sitter-clojure). I believe it is the most complete tree-sitter grammar for Clojure.\n\nThis repo contains a [tree-sitter] grammar for [Clojure] and [ClojureScript].\n\n[tree-sitter]:https://tree-sitter.github.io/tree-sitter/\n[Clojure]:https://clojure.org/\n[ClojureScript]:https://clojurescript.org/\n\n## About\n\n[Tree-sitter] is an ambitious new library for language syntax highlighting being\nused by the [Atom] editor and GitHub.com. Tree-sitter uses language grammars\ninstead of regular expressions and supports fast updates as the user is typing\n(similar to many persistent data structure operations in Clojure).\n\nYou can read more about tree-sitter on [the website].\n\n[Tree-sitter]:https://github.com/tree-sitter/tree-sitter\n[Atom]:https://atom.io/\n[the website]:http://tree-sitter.github.io/tree-sitter/\n\n## Design Considerations\n\n- Clojure, ClojureScript, and `.cljc` as first class citizens\n- When in doubt, be more specific\n  - we may put more information than strictly required into the AST\n  - this gives editors / integrations the option to highlight what they want\n\n## FAQ\n\n#### Is tree-sitter-clojure only for Atom?\n\nNo. Tree-sitter is open source and has bindings to C, so it can be used in many\nenvironments.\n\n#### How can I use this project with my favorite editor?\n\nUnfortunately, there is not a \"one size fits all\" solution here.\n\nEvery integration will be different, depending largely on how the target\nenvironment / tool supports syntax highlighting, extensions, etc. Please see the\ndocumentation for your editor and the [tree-sitter source] for more information.\n\n[tree-sitter source]:https://github.com/tree-sitter/tree-sitter\n\n## Development\n\nMake sure [Node.js] and [npm] are installed, then from the command line:\n\n```sh\n# first-time install step:\n# \u003e creates the node_modules folder\n# \u003e builds tree-sitter\nnpm install\n\n# build the grammar\nnpm run build\n\n# test the corpus\nnpm run test\n```\n\nPlease see the [installing the tools] section on the tree-sitter website for\nmore information. [This comment](https://github.com/oakmac/tree-sitter-clojure/issues/17#issuecomment-441665543) may also be helpful in getting started.\n\n[installing the tools]:https://tree-sitter.github.io/tree-sitter/creating-parsers#installing-the-tools\n\n## License\n\n[MIT](LICENSE.md)\n\n[Node.js]:https://nodejs.org/\n[npm]:https://www.npmjs.com/get-npm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakmac%2Ftree-sitter-clojure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foakmac%2Ftree-sitter-clojure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakmac%2Ftree-sitter-clojure/lists"}