{"id":14985561,"url":"https://github.com/yaml/yaml-reference-parser","last_synced_at":"2025-07-22T21:05:38.353Z","repository":{"id":45207547,"uuid":"299096784","full_name":"yaml/yaml-reference-parser","owner":"yaml","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-01T17:22:22.000Z","size":2015,"stargazers_count":50,"open_issues_count":4,"forks_count":26,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-07-18T08:57:34.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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":"2020-09-27T18:44:51.000Z","updated_at":"2025-06-29T05:04:03.000Z","dependencies_parsed_at":"2024-09-25T00:32:28.331Z","dependency_job_id":null,"html_url":"https://github.com/yaml/yaml-reference-parser","commit_stats":{"total_commits":104,"total_committers":3,"mean_commits":"34.666666666666664","dds":"0.028846153846153855","last_synced_commit":"f00319457419feacddf743d75eb317dacf5caf4b"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yaml/yaml-reference-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaml","download_url":"https://codeload.github.com/yaml/yaml-reference-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266572472,"owners_count":23950026,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-09-24T14:11:12.684Z","updated_at":"2025-07-22T21:05:38.332Z","avatar_url":"https://github.com/yaml.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"YAML 1.2 Reference Parsers\n==========================\n\nGenerate YAML 1.2 Reference Parsers from the Spec\n\n[![Travis Test Status](\nhttps://travis-ci.org/yaml/yaml-reference-parser.svg?branch=master)](\nhttps://travis-ci.org/yaml/yaml-reference-parser)\n[![Actions Status: Test](\nhttps://github.com/yaml/yaml-reference-parser/workflows/Test/badge.svg)](\nhttps://github.com/yaml/yaml-reference-parser/actions?query=workflow%3A\"Test\")\n\n# Synopsis\n\nYou can see all the generated YAML parsers in action by running:\n```\nmake test\n```\n\n# Description\n\nHere we generate 100% compliant YAML 1.2 parsers, in multiple programming\nlanguages, from the YAML 1.2 specification.\n\nWe start with the [YAML 1.2 Spec](\nhttps://yaml.org/spec/1.2/spec.html#id2770814) converted to the [YAML 1.2 Spec\nas YAML](\nhttps://github.com/yaml/yaml-grammar/blob/master/yaml-spec-1.2-patch.yaml).\nNext we apply some minimal local patches for various problems that have been\nidentified in the spec.\nThen we convert that YAML into a machine generated YAML 1.2 parser/grammar\nmodule in every programming language.\n\nAt the moment we have YAML 1.2 reference parsers in these languages:\n  * [CoffeeScript](\n    https://github.com/yaml/yaml-grammar/tree/master/parser/coffeescript/lib/grammar.coffee)\n  * [JavaScript](\n    https://github.com/yaml/yaml-grammar/tree/master/parser/javascript/lib/grammar.js)\n  * [Perl](\n    https://github.com/yaml/yaml-grammar/tree/master/parser/perl/lib/Grammar.pm)\n\nThe parsers pass 100% of the [YAML Test Suite](\nhttps://github.com/yaml/yaml-test-suite/)!\n\n# Next Steps\n\n* Generate equivalent grammar/parsers in as many modern languages as possible\n  * The logic and primitives are purposefully as simple as possible\n  * Generating a perfect parser in a new language should take a day or 2\n  * Contributors welcome!\n* Start refactoring the grammar to be simpler\n  * While always passing the tests\n* Generate more optimized / performant parsers\n  * The goal of simplicity and sticking exactly to the spec made slow parsers\n* Create a new YAML 1.3 grammar\n  * Start with 1.2 grammar\n  * Apply RFCs as they become accepted\n  * Generate and test all the language parsers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-reference-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaml%2Fyaml-reference-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-reference-parser/lists"}