{"id":21320370,"url":"https://github.com/turkeymcmac/scone","last_synced_at":"2025-10-06T21:28:23.114Z","repository":{"id":114506839,"uuid":"138443728","full_name":"TurkeyMcMac/scone","owner":"TurkeyMcMac","description":"Simple configuration.","archived":false,"fork":false,"pushed_at":"2018-08-14T01:11:42.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T11:32:09.084Z","etag":null,"topics":["configuration-parser"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TurkeyMcMac.png","metadata":{"files":{"readme":"README.txt","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}},"created_at":"2018-06-24T01:04:31.000Z","updated_at":"2018-10-17T15:54:25.000Z","dependencies_parsed_at":"2023-05-17T11:45:34.430Z","dependency_job_id":null,"html_url":"https://github.com/TurkeyMcMac/scone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurkeyMcMac%2Fscone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurkeyMcMac%2Fscone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurkeyMcMac%2Fscone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurkeyMcMac%2Fscone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TurkeyMcMac","download_url":"https://codeload.github.com/TurkeyMcMac/scone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801600,"owners_count":20350105,"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":["configuration-parser"],"created_at":"2024-11-21T19:47:17.392Z","updated_at":"2025-10-06T21:28:23.103Z","avatar_url":"https://github.com/TurkeyMcMac.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"    ,---/   ,---/  ,---,  /   /  .---/\n   /       /      /   /  /|  /  /\n  `---.   /      /   /  / | /  /__\n      /  /      /   /  /  |/  /\n     /  /      /   /  /   /  /\n/---*  `---/  `---*  /   /  `---/\n\nOVERVIEW\n--------\nThis is a simple parsing library for simple configuration. It parses no types\nnor hierarchy, so you'll have to do that stuff yourself. All that exist are\nkey-value pairs which are iterated through sequentially.\n\n\nFILE FORMAT\n-----------\nScone files consist only of comments and key-value pairs. Key-value span one\nline each and have the following format:\n\n\u003ckey\u003e: \u003cvalue\u003e\n\nComments can be on the same line as a key-value pair after the end of the value.\n\nFollowing is an example of a valid file. Letters in parentheses at the\nbeginnings of lines are not part of this hypothetical file.\n\n(a)\t# Known information:\n(b)\tName:           John Doe\n\tBirth date:     02-03-1984\n(c)\tHeight:         8'11\"\n\tFavorite color: yellow\n\n(a) shows the syntax for comments, which extend to the end of the line.\n\nNotice how on line (b) that the value is multiple words. Any string literal,\nwhether it be a key or a value, can span multiple words. Whitespace between\nwords is kept, while leading and trailing whitespace is removed.\n\nOn line (c), the value contains quotes. These have no special meaning to the\nparser, and will be carried through to the program.\n\nSeveral escape sequences, listed below, are supported. They all begin with a\nbackslash.\n\nCharacter  Description\n-------------------------------------------------------------------------------\n'a'        Bell\n'b'        Backspace\n'e'        Escape\n'f'        Form feed\n'n'        New lne\n'r'        Carriage return\n't'        Horizontal tab\n'v'        Vertical tab\nnewline    Ignore this line break, although still count it in the line counter.\nany other  Ignore this character and move on. For example, \\# reduces to '#'.\n\n\nAPI\n---\nDetails of the API can be found in scone.h. I've tried to keep the API quite\nsimple.\n\n\nC STANDARD\n----------\nThe entire project should be able to be built in ANSI C with the warning options\n-Wall, -Wextra, and -Wpedantic enabled.\n\n\nTESTS\n-----\nTo build/run the tests, use the run-tests shell script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturkeymcmac%2Fscone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturkeymcmac%2Fscone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturkeymcmac%2Fscone/lists"}