{"id":18739053,"url":"https://github.com/gaubee/acorn-qml","last_synced_at":"2025-11-18T12:30:14.036Z","repository":{"id":149111980,"uuid":"55283754","full_name":"Gaubee/acorn-qml","owner":"Gaubee","description":"qml parser base on acorn","archived":false,"fork":false,"pushed_at":"2016-04-02T07:47:03.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T17:44:53.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Gaubee.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":"2016-04-02T07:46:27.000Z","updated_at":"2021-12-18T09:35:06.000Z","dependencies_parsed_at":"2023-04-26T01:02:27.976Z","dependency_job_id":null,"html_url":"https://github.com/Gaubee/acorn-qml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gaubee%2Facorn-qml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gaubee%2Facorn-qml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gaubee%2Facorn-qml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gaubee%2Facorn-qml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gaubee","download_url":"https://codeload.github.com/Gaubee/acorn-qml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239616413,"owners_count":19669046,"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":[],"created_at":"2024-11-07T15:32:32.907Z","updated_at":"2025-11-18T12:30:13.951Z","avatar_url":"https://github.com/Gaubee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# acorn-qml\n\nBase on [eclipse/cdt/qt/org.eclipse.cdt.qt.core/acorn-qml/](https://github.com/eclipse/cdt/tree/master/qt/org.eclipse.cdt.qt.core/acorn-qml)\n\nAdd ES7 Mix compilation.\n支持与ES7混合编译（PS：import关键字使用qml的语法解析）\n\n## Install\n\n```shell\n# acorn module has been installed \nnpm install acorn-qml --save\n```\n\n# Usage\n\n正常ES5的QML-Parser\n```js\nconst acorn  = require(\"acorn\");\nrequire(\"acorn-qml\").install(acorn);\n\nvar code = `YOUR QML CODE.`\n\nacorn.parse(code, {\n    plugins: {\n        qml: true\n    },\n    ecmaVersion: 5,\n});\n```\n\n与ES7混编的QML-Parser\n```js\nconst acorn  = require(\"acorn\");\nrequire(\"acorn-qml\").install(acorn);\n\nvar code = `YOUR QML CODE.`\n\nconst res = acorn.parse(code, {\n    plugins: {\n        qml: true\n    },\n    ecmaVersion: 7,\n    ignoreQmlEcmaVersion: true\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaubee%2Facorn-qml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaubee%2Facorn-qml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaubee%2Facorn-qml/lists"}