{"id":18732525,"url":"https://github.com/gsscoder/cup","last_synced_at":"2025-07-09T18:08:12.018Z","repository":{"id":33506850,"uuid":"37152818","full_name":"gsscoder/cup","owner":"gsscoder","description":"CUP | ConfigUration Package for Erlang with LFE","archived":false,"fork":false,"pushed_at":"2015-06-10T16:15:32.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T15:34:16.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","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/gsscoder.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}},"created_at":"2015-06-09T19:15:39.000Z","updated_at":"2015-06-09T19:19:04.000Z","dependencies_parsed_at":"2022-08-24T14:23:28.482Z","dependency_job_id":null,"html_url":"https://github.com/gsscoder/cup","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/gsscoder%2Fcup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsscoder%2Fcup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsscoder%2Fcup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsscoder%2Fcup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsscoder","download_url":"https://codeload.github.com/gsscoder/cup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239605123,"owners_count":19666998,"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":[],"created_at":"2024-11-07T15:06:32.157Z","updated_at":"2025-02-19T05:44:08.672Z","avatar_url":"https://github.com/gsscoder.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cup\nCUP | ConfigUration Package for Erlang with LFE\n\n\u003csup\u003eThe name is a tribute to [LFE](http://lfe.io/) logo.\u003c/sup\u003e\n\n## Acknowledgements:\nFrom a Stackoverflow [discussion](https://groups.google.com/forum/#!topic/lisp-flavoured-erlang/S5s6c5DovEE)\nfollowed by a [deepening](https://groups.google.com/forum/#!topic/lisp-flavoured-erlang/S5s6c5DovEE) in the LFE Google group.\n\nThanks to Duncann McGreggor and Robert Virding.\n\n## Example\nThis is nothing more than explorative programming for learning. Anyway...\n```erlang\n%% using a list\nLL = cup:lambda_list([\"'get-timeout (lambda() (* 3 1000))\", \"'get-endpoint (lambda() (list '\\\"localhost\\\"))\"]),\nLambda = cup:lambda_by_atom(LL, 'get-timeout'),\nTimeout = Lambda(). % =:= 3000\n\n%% reading from file\n{ok, LL} = cup:consult(\"testconf.lfe\"),\nLambda = cup:lambda_by_atom(LL, 'get-endpoints'),\nEndPoints = Lambda(). % =:= [\"localhost\", \"127.0.0.1\"]\n```\n\nThere's a lot to do from now... View this repository as the continuation of the discussion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsscoder%2Fcup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsscoder%2Fcup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsscoder%2Fcup/lists"}