{"id":21176843,"url":"https://github.com/stofte/tree-sitter-demo","last_synced_at":"2026-05-16T11:35:11.857Z","repository":{"id":263653376,"uuid":"863759297","full_name":"stofte/tree-sitter-demo","owner":"stofte","description":"tree-sitter demonstration project","archived":false,"fork":false,"pushed_at":"2024-11-19T17:23:05.000Z","size":2444,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T14:18:12.465Z","etag":null,"topics":["demo","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stofte.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":"2024-09-26T21:28:51.000Z","updated_at":"2024-11-19T17:23:09.000Z","dependencies_parsed_at":"2024-11-19T18:36:07.069Z","dependency_job_id":"0d9deb5a-61ab-4274-bc0f-f25a75ca90be","html_url":"https://github.com/stofte/tree-sitter-demo","commit_stats":null,"previous_names":["stofte/tree-sitter-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stofte/tree-sitter-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stofte%2Ftree-sitter-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stofte%2Ftree-sitter-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stofte%2Ftree-sitter-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stofte%2Ftree-sitter-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stofte","download_url":"https://codeload.github.com/stofte/tree-sitter-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stofte%2Ftree-sitter-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273651191,"owners_count":25143980,"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-09-04T02:00:08.968Z","response_time":61,"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":["demo","tree-sitter"],"created_at":"2024-11-20T17:12:24.237Z","updated_at":"2026-05-16T11:35:06.816Z","avatar_url":"https://github.com/stofte.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TreeSitter Demo Editor\n\nThis repository contains a simple [tree-sitter](https://tree-sitter.github.io/tree-sitter/) wrapper library written in C,\nand a C# based WinForms based editor, which integrates to it using P/Invoke,\nwhich demonstrates the basic ideas required for hosting and utilizing\ntree-sitter to perform syntax-highlighting.\n\nThis has been tested on Windows 11, using VS2022.\n\n![image](test-editor.png)\n\n## Build\n\n- Initialize the git submodules (`git submodule init` and `git submodule update`)\n- Run `build.bat` in the Developer Command Prompt for VS 2022 (careful to use the 64bit version of `CL.EXE`)\n- Open `test-editor.sln` and press F5\n- Dart ffi example can be running `dart run main.dart` in the `dart` folder\n\n## Notes\n\n- Editor performance is quite poor, since it \"just\" builds on the RichTextBox control.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstofte%2Ftree-sitter-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstofte%2Ftree-sitter-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstofte%2Ftree-sitter-demo/lists"}