{"id":51664363,"url":"https://github.com/yaml/yaml-reference-parser-clj","last_synced_at":"2026-07-18T23:01:03.672Z","repository":{"id":371332648,"uuid":"1298398990","full_name":"yaml/yaml-reference-parser-clj","owner":"yaml","description":null,"archived":false,"fork":false,"pushed_at":"2026-07-14T18:54:49.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-14T19:29:10.177Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-12T15:32:40.000Z","updated_at":"2026-07-14T18:54:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yaml/yaml-reference-parser-clj","commit_stats":null,"previous_names":["yaml/yaml-reference-parser-clj"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yaml/yaml-reference-parser-clj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser-clj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser-clj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser-clj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser-clj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaml","download_url":"https://codeload.github.com/yaml/yaml-reference-parser-clj/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-reference-parser-clj/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35476732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"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":[],"created_at":"2026-07-14T19:00:34.056Z","updated_at":"2026-07-15T20:00:57.769Z","avatar_url":"https://github.com/yaml.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yaml-reference-parser-clj\n\nPure Clojure YAML 1.2 reference parser, packaged for Maven/Clojars as:\n\n```clojure\norg.yamlstar/yaml-parser {:mvn/version \"0.2.0\"}\n```\n\nLeiningen:\n\n```clojure\n[org.yamlstar/yaml-parser \"0.2.0\"]\n```\n\n## Usage\n\n```clojure\n(require '[yaml-parser.core :as yaml-parser])\n\n(yaml-parser/parse \"name: YAML\\nitems: [1, 2]\\n\")\n```\n\nThe parser returns YAML event maps such as `stream_start`, `document_start`,\n`mapping_start`, `scalar`, and `stream_end`.\n\n## Performance\n\nThe grammar is generated directly from the machine-readable YAML 1.2 spec\nand keeps its ordered-choice structure for spec parity.\nThe engine makes that fast with packrat memoization of the flow-context\nrules, so the backtracking that is inherent to the spec grammar costs a\ntable lookup instead of a re-parse.\nSet `YAML_PARSER_NO_MEMO=1` to disable memoization (useful for A/B\nverification that event streams are identical).\n`bench/run-bench` times the parser over a small synthetic corpus.\n\n## Development\n\n```sh\nmake deps\nmake grammar\nmake test\nmake jar\nVERSION=0.2.0 make deploy\n```\n\nThe Makefile uses https://github.com/makeplus/makes to install local `bb`,\n`clojure`, `lein`, `maven`, and `perl` tools under `.cache/local`.\n`make test` runs both focused API tests and the upstream `yaml-test-suite`\nTAP runner. `make deploy` publishes to Clojars through `deps-deploy`; `make deploy-lein`\nuses Leiningen.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-reference-parser-clj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaml%2Fyaml-reference-parser-clj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-reference-parser-clj/lists"}