{"id":19238298,"url":"https://github.com/olical/clojs","last_synced_at":"2026-06-13T06:33:31.776Z","repository":{"id":24652658,"uuid":"28062683","full_name":"Olical/clojs","owner":"Olical","description":"Repository for my post: A JavaScript / Clojure mashup","archived":false,"fork":false,"pushed_at":"2014-12-17T20:35:21.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-23T13:52:23.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://oli.me.uk/2014/12/15/a-javascript-clojure-mashup/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Olical.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":"2014-12-16T00:20:30.000Z","updated_at":"2015-03-26T17:49:35.000Z","dependencies_parsed_at":"2022-08-23T01:51:05.578Z","dependency_job_id":null,"html_url":"https://github.com/Olical/clojs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Olical/clojs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fclojs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fclojs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fclojs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fclojs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Olical","download_url":"https://codeload.github.com/Olical/clojs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fclojs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34275068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":"2024-11-09T16:30:32.536Z","updated_at":"2026-06-13T06:33:31.761Z","avatar_url":"https://github.com/Olical.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Repository for my post: [A JavaScript / Clojure mashup](http://oli.me.uk/2014/12/15/a-javascript-clojure-mashup/).\n\nThe following Clojure and JavaScript examples are equivalent. Both data structures are executed in a similar fashion and with an identical result. Please read the post for more information.\n\n```clojure\n(if (\u003e 10 20)\n  \"Uh, well this is awkward.\"\n  (str \"EVERYTHING IS FINE, MOVE ALONG \" (reduce + [2 2 3])))\n```\n\n```javascript\n[$if, [$mt, 10, 20],\n    'Uh, well this is awkward.',\n    [str, 'EVERYTHING IS FINE, MOVE ALONG ', [reduce, $add, quote([1, 2, 3])]]];\n```\n\nObviously the missing functions (`$mt`, `str`, `reduce` and `$add`. `$mt` means \"more than\") and the `$if` macro (yes, it's a macro. It manipulates the tree) are defined in the JavaScript file.\n\nThis isn't exactly a library, just an experiment. I may well take it further one day though because I found it really interesting.\n\n## License\n\nThis repository is licensed under [the unlicense](http://unlicense.org/), so you can basically do what you want. Find the full thing in the `UNLICENSE` file.\n\n\u003eThis is free and unencumbered software released into the public domain.\n\u003e\n\u003eAnyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folical%2Fclojs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folical%2Fclojs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folical%2Fclojs/lists"}