{"id":30835583,"url":"https://github.com/stsysd/yacl","last_synced_at":"2025-09-06T17:12:04.990Z","repository":{"id":239485805,"uuid":"404048413","full_name":"stsysd/yacl","owner":"stsysd","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-12T12:11:30.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-12T20:34:42.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/stsysd.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":"2021-09-07T16:28:38.000Z","updated_at":"2024-05-12T20:34:49.027Z","dependencies_parsed_at":"2024-05-12T20:34:44.857Z","dependency_job_id":null,"html_url":"https://github.com/stsysd/yacl","commit_stats":null,"previous_names":["stsysd/yacl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stsysd/yacl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stsysd%2Fyacl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stsysd%2Fyacl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stsysd%2Fyacl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stsysd%2Fyacl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stsysd","download_url":"https://codeload.github.com/stsysd/yacl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stsysd%2Fyacl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273933933,"owners_count":25193602,"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-06T02:00:13.247Z","response_time":2576,"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":"2025-09-06T17:11:56.924Z","updated_at":"2025-09-06T17:12:04.976Z","avatar_url":"https://github.com/stsysd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yet Another Configuration Language\n\n\"yacl\" is a JSON compatible, hcl-like syntax, and human readable configuration language.\n\nA example is like this.\n\n```hcl\ndigit = 123\nbinary = 0b111\noctal = 0o123\nHex = 0x123\nfloat = 3.14\nexp = 10e-12\n\nstr = \"hello\"\ndoc = \"\"\"\n  foo\n  bar\n    baz\n  \"\"\"\n\nt = true\nf = false\nn = null\n\nlist = [1, 2, 3, true]\n\ntable = { foo: \"bar\", baz: \"qux\" }\n\nblock {\n  value = 1\n  nested {\n    value = 2\n  }\n}\n\nblock merge {\n  foo = true\n}\n\nblock merge {\n  bar = false\n}\n\n\nblock append [] {\n  name = \"taro\"\n  age = 30\n}\n\nblock append [] {\n  name = \"jiro\"\n  age = 25\n}\n\n```\n\nThis is equivalent to this JSON.\n\n\n```json\n{\n  \"digit\": 123,\n  \"binary\": 7,\n  \"octal\": 83,\n  \"Hex\": 291,\n  \"float\": 3.14,\n  \"exp\": 1e-11,\n  \"str\": \"hello\",\n  \"doc\": \"foo\\nbar\\n  baz\",\n  \"t\": \"true\",\n  \"f\": \"false\",\n  \"n\": null,\n  \"list\": [\n    1,\n    2,\n    3,\n    \"true\"\n  ],\n  \"table\": {\n    \"foo\": \"bar\",\n    \"baz\": \"qux\"\n  },\n  \"block\": {\n    \"value\": 1,\n    \"nested\": {\n      \"value\": 2\n    },\n    \"merge\": {\n      \"foo\": \"true\",\n      \"bar\": \"false\"\n    },\n    \"append\": [\n      {\n        \"name\": \"taro\",\n        \"age\": 30\n      },\n      {\n        \"name\": \"jiro\",\n        \"age\": 25\n      }\n    ]\n  }\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstsysd%2Fyacl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstsysd%2Fyacl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstsysd%2Fyacl/lists"}