{"id":20629548,"url":"https://github.com/davidelettieri/treesitter-bindings","last_synced_at":"2025-04-15T18:17:55.847Z","repository":{"id":152227476,"uuid":"625250913","full_name":"davidelettieri/treesitter-bindings","owner":"davidelettieri","description":"A nuget package that provides tree-sitter bindings","archived":false,"fork":false,"pushed_at":"2025-02-21T22:26:50.000Z","size":62982,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T23:21:18.311Z","etag":null,"topics":["bindings","csharp","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/davidelettieri.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-08T14:31:58.000Z","updated_at":"2025-02-21T22:24:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"e94c4735-908f-44e5-a1b7-013b3fbbb2b1","html_url":"https://github.com/davidelettieri/treesitter-bindings","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidelettieri%2Ftreesitter-bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidelettieri%2Ftreesitter-bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidelettieri%2Ftreesitter-bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidelettieri%2Ftreesitter-bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidelettieri","download_url":"https://codeload.github.com/davidelettieri/treesitter-bindings/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249043768,"owners_count":21203532,"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":["bindings","csharp","tree-sitter"],"created_at":"2024-11-16T14:05:15.160Z","updated_at":"2025-04-15T18:17:55.826Z","avatar_url":"https://github.com/davidelettieri.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tree sitter bindings\n\nThis repo is **poorly** hacked together, in particular because I have no knowledge or experience with c/c++ development.\n\nThe sample project is working within the dev container (using podman), it is working also on my fedora 40 box with the additional requirement of installing `libcxx`.\nThat library is installed also in the dev container and it is used to build and user `libtree-sitter-ruby`. I could package in the runtime package but I'm not sure it's the best solution.\n\nI messed up a bit with the runtime packages versioning, the most updated version, and the one recommended to be used is `0.20.8-extra.1`. This includes compiled libraries for tree-sitter and all the languages used in my sample project. It will be pulled automatically when using `TreeSitter.Bindings`.\n\nPackages are published on `nuget.org`, if you happen to use it let me know!\n\n## How to run it\n\nOpen the folder with `Dev Containers`.\n\nRun the `build.sh` script from the root folder to generate the bindings. \n\n```bash\nbash scripts/build.sh\n```\n\nRun the sample from the root folder\n\n```\ndotnet run --project samples/TreeSitter.Bindings.Sample/TreeSitter.Bindings.Sample.csproj \n```\n\n### Remove submodule\n\ngit rm \u003csubmodule name\u003e\nremove folder .git/module/\u003csubmodule name\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidelettieri%2Ftreesitter-bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidelettieri%2Ftreesitter-bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidelettieri%2Ftreesitter-bindings/lists"}