{"id":33289723,"url":"https://github.com/tracyxmr/twee","last_synced_at":"2025-11-17T23:01:01.479Z","repository":{"id":306330033,"uuid":"1025822142","full_name":"tracyxmr/twee","owner":"tracyxmr","description":"A Lua/Luau parser for code analysis and editor integration.","archived":false,"fork":false,"pushed_at":"2025-07-29T11:18:49.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-17T20:29:49.446Z","etag":null,"topics":["lua","luau","parser","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/tracyxmr.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-24T21:26:26.000Z","updated_at":"2025-07-29T11:18:53.000Z","dependencies_parsed_at":"2025-09-28T01:17:03.978Z","dependency_job_id":"8eae84ed-4a7e-436a-b2ac-bdb470d0618e","html_url":"https://github.com/tracyxmr/twee","commit_stats":null,"previous_names":["gosulja/twee","margosulja/twee","tracyxmr/twee"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tracyxmr/twee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tracyxmr%2Ftwee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tracyxmr%2Ftwee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tracyxmr%2Ftwee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tracyxmr%2Ftwee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tracyxmr","download_url":"https://codeload.github.com/tracyxmr/twee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tracyxmr%2Ftwee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284971136,"owners_count":27093121,"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-11-17T02:00:06.431Z","response_time":55,"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":["lua","luau","parser","tree-sitter"],"created_at":"2025-11-17T23:00:24.330Z","updated_at":"2025-11-17T23:01:01.446Z","avatar_url":"https://github.com/tracyxmr.png","language":"Rust","readme":"# twee\nA Lua/Luau parser for code analysis and editor integration.\n\n# features\n* Serialize program into JSON.\n* Parses local variable declarations along with type annotations.\n* Parses binary operations as expressions, ordered by precedence.\n* Allows for optional ';' after statements.\n* Serializes with proper key-pair value resolution.\n\n# example\nTest for type annotations for Luau source:\n```luau\nlocal name: string = \"blinx\"\n```\n\nOutput:\n```json\n[\n    {\n        \"VariableDecl\": {\n            \"name\": \"name\",\n            \"value\": {\n                \"String\": \"blinx\"\n            },\n            \"type_annotation\": \"string\"\n        }\n    }\n]\n```\n\n# usage + test\n```\ncargo test\n```\n\nor\n\n```\n$ cargo build\n$ ./twee --input example/input.lua --output example/tree.json\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftracyxmr%2Ftwee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftracyxmr%2Ftwee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftracyxmr%2Ftwee/lists"}