{"id":15436485,"url":"https://github.com/julian/tree-sitter-lean","last_synced_at":"2025-04-14T16:18:34.752Z","repository":{"id":38745180,"uuid":"343129949","full_name":"Julian/tree-sitter-lean","owner":"Julian","description":"Experimental tree-sitter parser for the Lean (4) Theorem Prover","archived":false,"fork":false,"pushed_at":"2025-01-03T02:14:49.000Z","size":252668,"stargazers_count":31,"open_issues_count":4,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-14T16:18:09.968Z","etag":null,"topics":["context-free-grammar","lean","lean4","syntax-highlighting","tree-sitter"],"latest_commit_sha":null,"homepage":"","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/Julian.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2021-02-28T14:51:17.000Z","updated_at":"2025-04-13T23:13:40.000Z","dependencies_parsed_at":"2024-11-20T12:07:00.547Z","dependency_job_id":null,"html_url":"https://github.com/Julian/tree-sitter-lean","commit_stats":{"total_commits":272,"total_committers":2,"mean_commits":136.0,"dds":0.003676470588235281,"last_synced_commit":"1d230008e22b9f506cf4a4012e2b46debfe30243"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian%2Ftree-sitter-lean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian%2Ftree-sitter-lean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian%2Ftree-sitter-lean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian%2Ftree-sitter-lean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Julian","download_url":"https://codeload.github.com/Julian/tree-sitter-lean/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248914118,"owners_count":21182359,"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":["context-free-grammar","lean","lean4","syntax-highlighting","tree-sitter"],"created_at":"2024-10-01T18:50:58.394Z","updated_at":"2025-04-14T16:18:34.702Z","avatar_url":"https://github.com/Julian.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"================\ntree-sitter-lean\n================\n\nExperimental start on a `Lean 4\n\u003chttps://leanprover.github.io/lean4/doc/\u003e`_ grammar for `tree-sitter\n\u003chttps://github.com/tree-sitter/tree-sitter\u003e`_.\n\n|CI|\n\n.. |CI| image:: https://github.com/Julian/tree-sitter-lean/workflows/CI/badge.svg\n  :alt: Build status\n  :target: https://github.com/Julian/tree-sitter-lean/actions?query=workflow%3ACI\n\nCan be used standalone, or in neovim with `nvim-treesitter\n\u003chttps://github.com/nvim-treesitter/nvim-treesitter\u003e`_ via `lean.nvim\n\u003chttps://github.com/Julian/lean.nvim\u003e`_.\n\nTesting\n-------\n\nTests for the grammar live in ``test/corpus/*.txt``, and can be run as usual\nfor ``tree-sitter`` grammars with the `tree-sitter-cli\n\u003chttps://tree-sitter.github.io/tree-sitter/creating-parsers#command-test\u003e`_ via:\n\n.. code-block:: sh\n\n    $ tree-sitter generate \u0026\u0026 tree-sitter test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulian%2Ftree-sitter-lean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulian%2Ftree-sitter-lean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulian%2Ftree-sitter-lean/lists"}