{"id":18336626,"url":"https://github.com/iassasin/configen","last_synced_at":"2025-04-09T19:56:04.003Z","repository":{"id":86400164,"uuid":"94003352","full_name":"iassasin/configen","owner":"iassasin","description":"Custom config generator","archived":false,"fork":false,"pushed_at":"2017-06-16T08:49:25.000Z","size":117,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-09T19:56:00.948Z","etag":null,"topics":["clang","config-management","cpp","cpp14","gcc","generator"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iassasin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.LESSER","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":"2017-06-11T12:35:27.000Z","updated_at":"2021-11-24T23:23:26.000Z","dependencies_parsed_at":"2023-11-28T00:00:16.895Z","dependency_job_id":null,"html_url":"https://github.com/iassasin/configen","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/iassasin%2Fconfigen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iassasin%2Fconfigen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iassasin%2Fconfigen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iassasin%2Fconfigen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iassasin","download_url":"https://codeload.github.com/iassasin/configen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103911,"owners_count":21048245,"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":["clang","config-management","cpp","cpp14","gcc","generator"],"created_at":"2024-11-05T20:08:25.959Z","updated_at":"2025-04-09T19:56:03.983Z","avatar_url":"https://github.com/iassasin.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Configen\nPreprocess your own configs or sources and translate them to target text or code\n\n## Simple\nConfigen use simple syntax. It's looks like a bash or other shell scripts, but more predictable and simple exactly for preprocessing.\n\nFor example, you need to out a string, so just write it:\n```\n\"My awesome string\n\"New line\n```\nThere is no trailing `\"`, so new line will be added automatically\n\n### Functions\n\nNeed functions and variables? Just use it:\n```\nwrite | arg1 arg2 {\n\t\"I wrote $arg1 $arg2\n}\n\nwrite hello, world\n```\nCode above will produce a string `I wrote hello, world`. Spaces is delimeter for arguments. To pass arguments with spaces just use single or double qoutes\n\n### Custom syntax\nUse regular expressions to provide your intuitive syntax\n```\nsite |~ (https?)://([^/]*)(/.*) {\n\t\"Protocol: $1\n\t\"Host: $2\n\t\"Path: $3\n}\n\nsite http://example.com/\n```\n\n# Requirements\nDeveloped on gcc 5.4 using C++14. Any compiler with C++14 standart support should work.  \nConfigen uses standart library only.\n\n# Build\nTo build configen clone repository then use this commands in terminal:\n```\ncd configen\nmkdir Release\ncd Release\ncmake -DCMAKE_BUILD_TYPE=Release ..\nmake\n```\n\nTo speed up the build process use `make -j4`, where `4` - your CPU cores count.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiassasin%2Fconfigen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiassasin%2Fconfigen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiassasin%2Fconfigen/lists"}