{"id":21578498,"url":"https://github.com/thamugadi/call-cc-krivine","last_synced_at":"2025-04-10T17:37:08.570Z","repository":{"id":164024580,"uuid":"584208007","full_name":"thamugadi/call-cc-krivine","owner":"thamugadi","description":"A Krivine machine for the call-by-name reduction of lambda calculus (+ call/cc) expressions in Haskell.","archived":false,"fork":false,"pushed_at":"2024-02-26T17:53:16.000Z","size":67,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T15:11:25.199Z","etag":null,"topics":["call-cc","haskell","krivine-machine","lambda-calculus"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thamugadi.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":"2023-01-01T20:46:39.000Z","updated_at":"2024-12-16T03:47:40.000Z","dependencies_parsed_at":"2024-11-24T13:10:47.480Z","dependency_job_id":"eb5dc80e-7db8-4156-aca8-5e17f9577870","html_url":"https://github.com/thamugadi/call-cc-krivine","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/thamugadi%2Fcall-cc-krivine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thamugadi%2Fcall-cc-krivine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thamugadi%2Fcall-cc-krivine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thamugadi%2Fcall-cc-krivine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thamugadi","download_url":"https://codeload.github.com/thamugadi/call-cc-krivine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262038,"owners_count":21074236,"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":["call-cc","haskell","krivine-machine","lambda-calculus"],"created_at":"2024-11-24T13:10:44.225Z","updated_at":"2025-04-10T17:37:08.554Z","avatar_url":"https://github.com/thamugadi.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# call-cc-krivine\n\n**Work in progress.**\n\n[A web version, compiled with the GHC 9.6 Javascript build, is available here](https://aramya.neocities.org/)\n\nA Krivine machine for the call-by-name reduction of lambda calculus (with call/cc \u0026 clock) expressions in Haskell.  \n    \n``t ⋆ π`` describes a state, where ``t`` is a term and ``π`` is a stack of terms. Pushing ``u`` on  ``π`` is written ``u : π``. ``n`` is the number of instructions executed so far. \n  \nTo implement ``call/cc``, we allow ourselves to have a term that carries a stack in the form ``continuation π``.  \n\n*Before* |*After*|\n|- |-  \n|``t s ⋆ π`` | ``t ⋆ s : π`` \n|``λx.t ⋆ s : π`` | ``t[x := s] ⋆ π`` \n|``call/cc ⋆ f : π`` |``f ⋆ continuation π : π`` \n| ``continuation π₁ ⋆ s : π₂`` | ``s ⋆ π₁`` \n| ``clock ⋆ s : π`` | ``s ⋆ n : π``\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthamugadi%2Fcall-cc-krivine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthamugadi%2Fcall-cc-krivine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthamugadi%2Fcall-cc-krivine/lists"}