{"id":19564322,"url":"https://github.com/antlr/antlr4formatter","last_synced_at":"2025-02-26T09:21:25.528Z","repository":{"id":33823411,"uuid":"111345971","full_name":"antlr/Antlr4Formatter","owner":"antlr","description":"Formatter for ANTLR 4 grammars","archived":false,"fork":false,"pushed_at":"2024-10-28T19:42:24.000Z","size":509,"stargazers_count":42,"open_issues_count":14,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-08T23:41:46.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ANTLR","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antlr.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}},"created_at":"2017-11-20T01:06:24.000Z","updated_at":"2024-12-21T03:11:58.000Z","dependencies_parsed_at":"2024-11-11T05:23:53.525Z","dependency_job_id":"2c335387-b698-478d-a917-28942d21ab58","html_url":"https://github.com/antlr/Antlr4Formatter","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/antlr%2FAntlr4Formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2FAntlr4Formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2FAntlr4Formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2FAntlr4Formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antlr","download_url":"https://codeload.github.com/antlr/Antlr4Formatter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240823416,"owners_count":19863434,"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-11T05:21:26.683Z","updated_at":"2025-02-26T09:21:25.483Z","avatar_url":"https://github.com/antlr.png","language":"ANTLR","funding_links":[],"categories":[],"sub_categories":[],"readme":"![CI](https://github.com/antlr/Antlr4Formatter/workflows/CI/badge.svg)\n\n# Antlr4Formatter\n\n## Building\n\nThe project uses [maven wrapper](https://github.com/takari/maven-wrapper), so it's easy to build the project without worrying about having the right Maven version installed locally.\n\nTo build `antlr4-formatter` and the standalone utility `antlr4-formatter-standalone` run:\n\n```sh\n./mvnw clean package\n```\n\n## Using the standalone formatter\n\nTo format a grammar use the script `formatFile.sh` passing the grammar file as an argument to the script.  You can also use it with the Spotless plugin in [gradle](https://github.com/diffplug/spotless/tree/main/plugin-gradle#antlr4formatter) or [maven](https://github.com/diffplug/spotless/tree/main/plugin-maven#antlr4formatter).\n\n## Maven Coordinates\n\n```xml\n\u003cgroupId\u003ecom.khubla.antlr4formatter\u003c/groupId\u003e\n\u003cartifactId\u003eantlr4-formatter\u003c/artifactId\u003e\n\u003cversion\u003e1.2.1\u003c/version\u003e\n\u003cpackaging\u003ejar\u003c/packaging\u003e\n```\n\n## Contributing\n\nContributions are welcome. To shorten the process of reviewing the pull request be sure that the code conforms to the projects code style. Before committing fix the code format by running [spotless](https://github.com/diffplug/spotless):\n\n```sh\n./mvnw spotless:apply\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantlr%2Fantlr4formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantlr%2Fantlr4formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantlr%2Fantlr4formatter/lists"}