{"id":27979563,"url":"https://github.com/ligurio/gromit","last_synced_at":"2025-07-11T16:39:42.255Z","repository":{"id":77678241,"uuid":"114884261","full_name":"ligurio/gromit","owner":"ligurio","description":"is a random text generator based on context-free grammars, it uses a EBNF for grammar definitions.","archived":false,"fork":false,"pushed_at":"2025-05-05T19:47:16.000Z","size":20,"stargazers_count":17,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T02:54:18.502Z","etag":null,"topics":["ebnf","fuzzing","grammar","testing"],"latest_commit_sha":null,"homepage":"https://asciinema.org/a/155319","language":"Go","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/ligurio.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":"2017-12-20T12:20:33.000Z","updated_at":"2025-05-05T19:47:16.000Z","dependencies_parsed_at":"2025-05-08T02:54:17.614Z","dependency_job_id":"42912361-d195-46ef-9580-54ad2f426d9e","html_url":"https://github.com/ligurio/gromit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ligurio/gromit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Fgromit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Fgromit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Fgromit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Fgromit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ligurio","download_url":"https://codeload.github.com/ligurio/gromit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Fgromit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264853259,"owners_count":23673599,"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":["ebnf","fuzzing","grammar","testing"],"created_at":"2025-05-08T02:54:12.006Z","updated_at":"2025-07-11T16:39:42.011Z","avatar_url":"https://github.com/ligurio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Gromit\n\n[![Testing](https://github.com/ligurio/gromit/actions/workflows/test.yml/badge.svg)](https://github.com/ligurio/gromit/actions/workflows/test.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/ligurio/gromit)](https://goreportcard.com/report/github.com/ligurio/gromit)\n\nis a random text generator based on context-free grammars; it uses\nan EBNF for grammar definitions. EBNF is an Extended Backus-Naur\nForm. It is the standard format for the specification and\ndocumentation of programming languages; it is defined in the\nISO/IEC 14977 standard.\n\nThe input is text satisfying the following grammar (represented\nitself in EBNF):\n\n```\nProduction  = name \"=\" [ Expression ] \".\" .\nExpression  = Alternative { \"|\" Alternative } .\nAlternative = Term { Term } .\nTerm        = name | token [ \"…\" token ] | Group | Option | Repetition .\nGroup       = \"(\" Expression \")\" .\nOption      = \"[\" Expression \"]\" .\nRepetition  = \"{\" Expression \"}\" .\n```\n\n## Usage\n\n```\n~$ go build -o gromit -v cmd/main.go\n~$ ./gromit -filename ebnf/palindrome.ebnf -start palindrome\nkhbhk\n```\n\n## See also\n\n- [grammarinator](https://github.com/renatahodovan/grammarinator)\n  is an ANTLR v4 grammar-based test generator (Python).\n- [bnfgen](https://baturin.org/tools/bnfgen/) is a random text\n  generator based on context-free grammars, it uses a DSL for\n  grammar definitions that is similar to the familiar BNF,\n  with two extensions: weighted random selection and deterministic\n  repetition (OCaml).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fligurio%2Fgromit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fligurio%2Fgromit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fligurio%2Fgromit/lists"}