{"id":36956655,"url":"https://github.com/harehare/tree-sitter-mq","last_synced_at":"2026-05-09T14:20:20.670Z","repository":{"id":327962702,"uuid":"1067189727","full_name":"harehare/tree-sitter-mq","owner":"harehare","description":"Tree-sitter grammar for the mq.","archived":false,"fork":false,"pushed_at":"2026-01-10T12:39:58.000Z","size":246,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T03:52:27.810Z","etag":null,"topics":["markdown","mq","tree-sitter"],"latest_commit_sha":null,"homepage":"https://mqlang.org","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/harehare.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T13:57:06.000Z","updated_at":"2026-01-10T12:40:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/harehare/tree-sitter-mq","commit_stats":null,"previous_names":["harehare/tree-sitter-mq"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/harehare/tree-sitter-mq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Ftree-sitter-mq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Ftree-sitter-mq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Ftree-sitter-mq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Ftree-sitter-mq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harehare","download_url":"https://codeload.github.com/harehare/tree-sitter-mq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Ftree-sitter-mq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28387596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T13:42:20.960Z","status":"ssl_error","status_checked_at":"2026-01-13T13:42:03.276Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["markdown","mq","tree-sitter"],"created_at":"2026-01-13T14:03:43.195Z","updated_at":"2026-05-09T14:20:20.663Z","avatar_url":"https://github.com/harehare.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003etree-sitter-mq\u003c/h1\u003e\n\nTree-sitter grammar for the [mq](https://github.com/harehare/mq).\n\n## Overview\n\nThis package provides a tree-sitter parser for [mq](https://mqlang.org), a jq-like command-line tool for Markdown processing.\n\n## Usage\n\n### Rust\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\ntree-sitter-mq = \"0.1.1\"\ntree-sitter = \"0.24\"\n```\n\nExample usage:\n\n```rust\nuse tree_sitter_mq::LANGUAGE;\n\nfn main() {\n    let mut parser = tree_sitter::Parser::new();\n    parser.set_language(\u0026LANGUAGE.into()).expect(\"Error loading mq grammar\");\n\n    let source_code = r#\"\n    def greet(name):\n      let message = \"Hello, \" + name\n      | message\n    end\n    \"#;\n\n    let tree = parser.parse(source_code, None).unwrap();\n    println!(\"{}\", tree.root_node().to_sexp());\n}\n```\n\n## Development\n\n### Generate Parser\n\n```bash\nnpm install\nnpm run generate\n```\n\n### Build\n\n```bash\ncargo build\n```\n\n### Test\n\n```bash\nnpm test\ncargo test\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharehare%2Ftree-sitter-mq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharehare%2Ftree-sitter-mq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharehare%2Ftree-sitter-mq/lists"}