{"id":17640674,"url":"https://github.com/kritzware/kappalang","last_synced_at":"2025-03-30T05:12:09.156Z","repository":{"id":85620314,"uuid":"83152968","full_name":"kritzware/kappalang","owner":"kritzware","description":"Go interpreter for kappalang","archived":false,"fork":false,"pushed_at":"2017-02-25T19:21:25.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T07:15:42.321Z","etag":null,"topics":["go","golang","interpreter","kappa"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kritzware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-25T18:28:32.000Z","updated_at":"2017-02-25T22:26:07.000Z","dependencies_parsed_at":"2023-03-04T19:30:18.691Z","dependency_job_id":null,"html_url":"https://github.com/kritzware/kappalang","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/kritzware%2Fkappalang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritzware%2Fkappalang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritzware%2Fkappalang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritzware%2Fkappalang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kritzware","download_url":"https://codeload.github.com/kritzware/kappalang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277372,"owners_count":20751549,"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":["go","golang","interpreter","kappa"],"created_at":"2024-10-23T06:05:02.358Z","updated_at":"2025-03-30T05:12:09.136Z","avatar_url":"https://github.com/kritzware.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kappalang\n\n## Examples\n\n### Variables/Assignment\n```javascript\nlet x = 2;\nlet hello = \"world\";\nlet result = 10 * (20 / 2);\n\nlet array = [1, 2, 3, 4, 5];\nlet hashmap = {\"status\": 200, \"error\": false, \"data\": \"xD\"};\n\n```\n\n### Functions\n```javascript\nlet multiply = fn(x, y) {\n  return x * y;\n}\n\nlet multiplyTwo = fn(x, y) { x * y };\n\nmultiply(5, 5); // =\u003e 25\nmultiplyTwo(5, 5); // =\u003e 25\n\nlet useless = fn(x) {\n  if(x == 0) { 0 }\n  else {\n    useless(x - 1)\n  }\n}\n\nuseless(4) // =\u003e 0\n```\n\n### Higher Order Functions\n```javascript\nlet first = fn(func, x) {\n  return func(x);\n}\n\nlet second = fn(x) { return x * 2 };\n\nfirst(second, 2); // =\u003e 4\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkritzware%2Fkappalang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkritzware%2Fkappalang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkritzware%2Fkappalang/lists"}