{"id":16154782,"url":"https://github.com/idorobots/cl-goodies","last_synced_at":"2025-04-07T00:36:46.636Z","repository":{"id":3982383,"uuid":"5078163","full_name":"Idorobots/cl-goodies","owner":"Idorobots","description":"A heretical attempt at bringing some of the Lisp goodies to D. Greenspun's tenth rule included!","archived":false,"fork":false,"pushed_at":"2012-08-24T21:27:06.000Z","size":684,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T06:18:16.428Z","etag":null,"topics":["algorithms","common-lisp","d"],"latest_commit_sha":null,"homepage":null,"language":"D","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/Idorobots.png","metadata":{"files":{"readme":"README.org","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":"2012-07-17T06:37:37.000Z","updated_at":"2017-07-23T09:46:35.000Z","dependencies_parsed_at":"2022-09-04T10:42:24.531Z","dependency_job_id":null,"html_url":"https://github.com/Idorobots/cl-goodies","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/Idorobots%2Fcl-goodies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idorobots%2Fcl-goodies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idorobots%2Fcl-goodies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idorobots%2Fcl-goodies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Idorobots","download_url":"https://codeload.github.com/Idorobots/cl-goodies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247574088,"owners_count":20960495,"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":["algorithms","common-lisp","d"],"created_at":"2024-10-10T01:18:53.118Z","updated_at":"2025-04-07T00:36:46.611Z","avatar_url":"https://github.com/Idorobots.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"* CL goodies\nMy heretical fun with D's CTFE...\n\nHow to get CL goodies:\n\n: $ git clone https://github.com/Idorobots/cl-goodies cl-goodies\n: $ cd cl-goodies\n: $ git submodule init\n: $ git submodule update\n: $ make\n\nContents:\n\n** cl.loop\nAn implementation of Common Lisp' [[http://www.gigamonkeys.com/book/loop-for-black-belts.html][LOOP macro]] using [[https://github.com/PhilippeSigaud/Pegged][Pegged]].\nExample usage:\n\n: import std.stdio;\n: import cl.loop;\n: \n: void main(string[] args) {\n:     mixin(Loop!q{\n:         for arg in args\n:           print \"Hello \", arg, \"!\"\n:     });\n: \n:     auto result = mixin(Loope!q{\n:         for i from 0 to 50\n:           when $$ i \u0026 1 $$\n:             collect i\n:     });\n:     writeln(result);\n: }\n\nPrints:\n: $ ./loop Common Lisp\n: Hello ./loop!\n: Hello Common!\n: Hello Lisp!\n: [1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49]\n\n** cl.quote\nA stub of Lisp-eque quasiquote. WIP\n\n** Stuff possibly comming in the future:\n- *cl.format* - an implementation of Common Lisp' FORMAT macro.\n- *cl.html* - a bunch of classic convinience macros for outputting HTML.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidorobots%2Fcl-goodies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidorobots%2Fcl-goodies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidorobots%2Fcl-goodies/lists"}