{"id":15202722,"url":"https://github.com/lishy2/adjika","last_synced_at":"2026-02-04T03:30:58.770Z","repository":{"id":257471236,"uuid":"848862457","full_name":"LIshy2/adjika","owner":"LIshy2","description":"Typed functional language with actors","archived":false,"fork":false,"pushed_at":"2024-10-14T09:58:53.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T19:51:25.949Z","etag":null,"topics":["actor-model","compiler","llvm"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/LIshy2.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-28T14:40:56.000Z","updated_at":"2024-10-14T09:58:56.000Z","dependencies_parsed_at":"2024-09-17T00:50:50.651Z","dependency_job_id":"cca73941-fe93-40f4-b587-f236cf135ca9","html_url":"https://github.com/LIshy2/adjika","commit_stats":null,"previous_names":["lishy2/adjika"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIshy2%2Fadjika","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIshy2%2Fadjika/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIshy2%2Fadjika/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIshy2%2Fadjika/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LIshy2","download_url":"https://codeload.github.com/LIshy2/adjika/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241982489,"owners_count":20052530,"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":["actor-model","compiler","llvm"],"created_at":"2024-09-28T04:02:21.927Z","updated_at":"2026-02-04T03:30:58.735Z","avatar_url":"https://github.com/LIshy2.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adjika\n\n```\ntype Either[L, R] = Left (value: L) | Right (value: R)\n\ntype List[A] = Cons(head: A, tail: List[A]) | Nil()\n\nfun map(list, f) = \n    match list {\n        is Cons(head, tail) =\u003e Cons(f(head), map(tail, f))\n        is Nil() =\u003e Nil()\n    }\n\nactor PingPong {\n    Waiting();\n    Playing(counter: int64);\n}\n\ntype Info = Info(other: MailBox[PingPong])\n\ntype Ping = Ping(from: MailBox[PingPong])\n\nhandler Info with Waiting = {\n    mutate Playing(0);\n    send Ping(me) to message.other;\n}\n\nhandler Ping with Waiting = {\n    mutate Playing(0);\n    send Ping(me) to message.from;\n}\n\nhandler Ping with Playing = {\n    mutate Playing(counter + 1);\n    send Ping(me) to message.from;\n}\n\nactor Main {\n    Starting();\n}\n\nhandler Starting with Starting = {\n    val player1 = spawn Waiting();\n    val player2 = spawn Waiting();\n    send Info(player2) to player1;\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flishy2%2Fadjika","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flishy2%2Fadjika","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flishy2%2Fadjika/lists"}