{"id":18581698,"url":"https://github.com/jpablo/zenith","last_synced_at":"2026-01-31T13:04:44.714Z","repository":{"id":68198928,"uuid":"542352030","full_name":"jpablo/zenith","owner":"jpablo","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-19T08:15:54.000Z","size":316,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T14:31:41.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lean","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/jpablo.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":"2022-09-28T01:08:37.000Z","updated_at":"2024-12-19T08:15:58.000Z","dependencies_parsed_at":"2023-03-22T15:18:09.112Z","dependency_job_id":null,"html_url":"https://github.com/jpablo/zenith","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"094ef07c37ba0d273185ed0d665a299efc5e4418"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jpablo/zenith","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fzenith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fzenith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fzenith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fzenith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpablo","download_url":"https://codeload.github.com/jpablo/zenith/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fzenith/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260380728,"owners_count":23000337,"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":[],"created_at":"2024-11-07T00:06:43.917Z","updated_at":"2026-01-31T13:04:39.680Z","avatar_url":"https://github.com/jpablo.png","language":"Lean","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zenith\n\n`Zenith` is a Lean 4 library inspired by [ZIO](https://zio.dev/).\n\nThe main goals are pedagogical:\n\n* Explore how to translate certain OO patterns into Lean\n* Simple implementation of ZIO better suited for high level analysis\n* Visualization of program execution\n* etc\n\n## Features\n\n* Dependency Injection\n* Error handling\n* Asynchronous and Concurrent programming\n* Program execution diagram\n\n## Status\n\n* Core data type and interpreter ✅\n* Fibers ✅\n* Environment ✅\n* Layers ❌\n\n## Building and running examples\n\n* [Elan](https://github.com/leanprover/elan) is needed to install `lake`, which will in turn download project dependencies (i.e. the specific Lean 4 version).\n* `VSCode` + `Lean 4` plugin is the recommended editor.\n\n#### Compile everything once\n\n```bash\nlake build\n```\n\n#### Recompile on chage\n\nUsing the [`entr`](https://github.com/clibs/entr) file monitor\n\n```bash\nfind . -name \"*.lean\" | entr -s 'lake build'\n```\n\n#### Run example programs\n\n```bash\n./build/bin/z\n```\n\n#### Regenerate svg diagrams\n\n(Graphviz needs to be installed)\n\n```bash\nfor f in $(find diagrams -name \"*.dot\"); do echo $f; dot -Tsvg $f -o diagrams/$(basename $f .dot).svg; done\n```\n\nThis will (re)create a bunch of svg files under `diagrams/*`.\n\n## Internal documentation\n\n* [Interpreter](docs/run-loop.md)\n* [Module dependencies](docs/module-dependencies.md)\n* [Variance](docs/variance.md)\n* [Problems](docs/Problems.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpablo%2Fzenith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpablo%2Fzenith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpablo%2Fzenith/lists"}