{"id":14985559,"url":"https://github.com/yaml/yaml-grammar","last_synced_at":"2025-04-07T12:05:08.756Z","repository":{"id":41156412,"uuid":"230702027","full_name":"yaml/yaml-grammar","owner":"yaml","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-26T17:14:11.000Z","size":2341,"stargazers_count":80,"open_issues_count":6,"forks_count":13,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-22T22:37:28.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","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/yaml.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}},"created_at":"2019-12-29T04:23:17.000Z","updated_at":"2025-02-28T21:20:49.000Z","dependencies_parsed_at":"2024-12-25T06:10:54.123Z","dependency_job_id":"2681a62d-05f2-4aed-8e9b-b8de0ede16d9","html_url":"https://github.com/yaml/yaml-grammar","commit_stats":{"total_commits":147,"total_committers":1,"mean_commits":147.0,"dds":0.0,"last_synced_commit":"15047828ace28d09594d3553b90b165fef60634b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-grammar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-grammar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-grammar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-grammar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaml","download_url":"https://codeload.github.com/yaml/yaml-grammar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246457968,"owners_count":20780676,"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-09-24T14:11:12.528Z","updated_at":"2025-03-31T11:03:53.053Z","avatar_url":"https://github.com/yaml.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"yaml-grammar\n============\n\n[The YAML 1.2 Specification's Grammar Productions as YAML](https://github.com/yaml/yaml-grammar/blob/master/yaml-spec-1.2.yaml).\n\n# Overview\n\nThe purpose of this project is present the YAML 1.2 Grammar as a machine readable and human comprehendable YAML file.\n\nThe [YAML 1.2 Spec](https://yaml.org/spec/1.2/spec.html) contains the formal grammar for YAML 1.2.\nThe 211 grammar rules are formatted into the web page's HTML along with lots of textual descriptions of the language and grammar.\nThe grammar uses a rare \"Parameterized BNF\" format, and some of the rule components are just textual comments indicating what should happen.\n\nFully comprehending the YAML grammar is quite an undertaking for most mortals.\nCreating a fully compliant parser has proven [almost impossible](http://matrix.yaml.io/).\n\nThis project programmatically pulls out all of the rules, parsing them into data structures and storing the entire structured grammar data graph as YAML.\nThe YAML output is commented and pretty printed.\nIt is intended to be both a reference for people trying to understand the rules, and as a mechanism to automate the creation of YAML tools.\n\n# Generating Compliant Parsers\n\nThe [YAML Reference Parser](https://github.com/yaml/yaml-reference-parser) project uses the YAML grammar from this repo to generate 100% compliant parsers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-grammar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaml%2Fyaml-grammar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-grammar/lists"}