{"id":16910998,"url":"https://github.com/yuja/tree-sitter-qmljs","last_synced_at":"2025-10-25T22:50:06.980Z","repository":{"id":43508635,"uuid":"441425534","full_name":"yuja/tree-sitter-qmljs","owner":"yuja","description":"QML grammar for the tree-sitter parsing library","archived":false,"fork":false,"pushed_at":"2025-10-17T07:57:43.000Z","size":7273,"stargazers_count":31,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-18T10:38:55.626Z","etag":null,"topics":["parser","qml","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/yuja.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,"zenodo":null}},"created_at":"2021-12-24T09:36:47.000Z","updated_at":"2025-10-17T07:51:50.000Z","dependencies_parsed_at":"2025-02-08T16:30:54.745Z","dependency_job_id":"721f2130-e566-4ab3-b019-18644e83ebfe","html_url":"https://github.com/yuja/tree-sitter-qmljs","commit_stats":{"total_commits":140,"total_committers":2,"mean_commits":70.0,"dds":"0.021428571428571463","last_synced_commit":"6d4db242185721e1f5ef21fde613ca90c743ec47"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/yuja/tree-sitter-qmljs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuja%2Ftree-sitter-qmljs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuja%2Ftree-sitter-qmljs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuja%2Ftree-sitter-qmljs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuja%2Ftree-sitter-qmljs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuja","download_url":"https://codeload.github.com/yuja/tree-sitter-qmljs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuja%2Ftree-sitter-qmljs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281032293,"owners_count":26432755,"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-25T02:00:06.499Z","response_time":81,"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":["parser","qml","tree-sitter"],"created_at":"2024-10-13T19:04:06.093Z","updated_at":"2025-10-25T22:50:06.949Z","avatar_url":"https://github.com/yuja.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"tree-sitter-qmljs\n=================\n\n[QML][] grammar for the [tree-sitter][] parsing library.\n\n[QML]: https://doc.qt.io/qt-6/qmlapplications.html\n[tree-sitter]: https://github.com/tree-sitter/tree-sitter\n\nReferences\n----------\n\n* https://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/qml/parser/qqmljs.g\n\nPitfalls\n--------\n\nSince grouped binding notation is syntactically ambiguous, it is parsed as\nan object definition.\n\n```qml\n// (ui_object_definition type_name: (identifier \"Button\") ...)\nButton {\n    // (ui_object_definition type_name: (identifier \"icon\") ...)\n    icon { source: \"foo.png\"; color: \"transparent\" }\n}\n```\n\nBuilding\n--------\n\nUse the `master` branch, which contains all generated files.\n\n```\n$ git checkout master\n$ npm install\n$ cargo build --release\n```\n\nHacking\n-------\n\nUse the `dev` branch, but you'll first need to run `npm install` in the\n`master` branch.\n\n```\n$ git checkout master\n$ npm install\n$ git checkout dev\n```\n\nGenerate code and run tests:\n```\n$ make generate tests\n```\n\nMake sure example QML files can be parsed:\n```\n$ make fetch-examples parse-examples\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuja%2Ftree-sitter-qmljs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuja%2Ftree-sitter-qmljs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuja%2Ftree-sitter-qmljs/lists"}