{"id":14980763,"url":"https://github.com/yegor256/naive-ebnf","last_synced_at":"2025-09-14T18:50:10.954Z","repository":{"id":65558290,"uuid":"594335184","full_name":"yegor256/naive-ebnf","owner":"yegor256","description":"LaTeX package for printing EBNF in plain text format","archived":false,"fork":false,"pushed_at":"2025-08-04T18:12:12.000Z","size":237,"stargazers_count":5,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-04T19:31:15.111Z","etag":null,"topics":["context-free-grammar","ebnf","ebnf-syntax","formal-grammar","latex","latex-package"],"latest_commit_sha":null,"homepage":"https://ctan.org/pkg/naive-ebnf","language":"TeX","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/yegor256.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-01-28T08:06:40.000Z","updated_at":"2025-07-06T16:37:51.000Z","dependencies_parsed_at":"2023-12-16T05:38:41.850Z","dependency_job_id":"965f623d-5441-434a-96de-8498c5f8ff32","html_url":"https://github.com/yegor256/naive-ebnf","commit_stats":{"total_commits":140,"total_committers":3,"mean_commits":"46.666666666666664","dds":"0.18571428571428572","last_synced_commit":"bc6c3166629229604816432864056a76142843c3"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/yegor256/naive-ebnf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fnaive-ebnf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fnaive-ebnf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fnaive-ebnf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fnaive-ebnf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yegor256","download_url":"https://codeload.github.com/yegor256/naive-ebnf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fnaive-ebnf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275151916,"owners_count":25414445,"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-09-14T02:00:10.474Z","response_time":75,"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":["context-free-grammar","ebnf","ebnf-syntax","formal-grammar","latex","latex-package"],"created_at":"2024-09-24T14:02:22.470Z","updated_at":"2025-09-14T18:50:10.924Z","avatar_url":"https://github.com/yegor256.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EBNF Diagrams in LaTeX\n\n[![l3build](https://github.com/yegor256/naive-ebnf/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/naive-ebnf/actions/workflows/l3build.yml)\n[![CTAN](https://img.shields.io/ctan/v/naive-ebnf)](https://ctan.org/pkg/naive-ebnf)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/naive-ebnf/blob/master/LICENSE.txt)\n\nThis LaTeX package helps you typeset an [Extended Backus-Naur Form][EBNF]\n(EBNF) using plain text format.\n\nFirst, [install it][LaTeX]\nfrom [CTAN](https://ctan.org/pkg/naive-ebnf)\nand then use in the preamble:\n\n```text\n\\documentclass{article}\n\\usepackage{naive-ebnf}\n\\begin{document}\n\\begin{ebnf}\n\u003cExpression\u003e := \u003cVariable\u003e\n  | \"$\\lambda$\" \u003cVariable\u003e \".\" \u003cExpression\u003e\n  | \"(\" \u003cExpression\u003e \u003cExpression\u003e \")\"\n\\end{ebnf}\n\\end{document}\n```\n\nOtherwise, you can download [`naive-ebnf.sty`][sty] and add to your project.\n\n## How to Contribute\n\nIf you want to contribute yourself, make a fork, then create a branch,\nthen run `l3build ctan` in the root directory.\nIt should compile everything without errors. If not, submit an issue and wait.\nOtherwise, make your changes and then run `l3build ctan` again. If the build is\nstill clean, submit a pull request.\n\n[EBNF]: https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form\n[LaTeX]: https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages\n[sty]: https://raw.githubusercontent.com/yegor256/naive-ebnf/gh-pages/naive-ebnf/naive-ebnf.sty\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyegor256%2Fnaive-ebnf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyegor256%2Fnaive-ebnf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyegor256%2Fnaive-ebnf/lists"}