{"id":22700430,"url":"https://github.com/uncomputable/rustier-simplicity","last_synced_at":"2026-01-21T03:32:54.535Z","repository":{"id":157739134,"uuid":"628644749","full_name":"uncomputable/rustier-simplicity","owner":"uncomputable","description":"\"If you know Rust, you already know Simplicity.\"","archived":false,"fork":false,"pushed_at":"2024-04-11T15:04:29.000Z","size":69,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T19:47:00.296Z","etag":null,"topics":["bitcoin","circuit","learning","library","logic","rust","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uncomputable.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-04-16T15:38:31.000Z","updated_at":"2023-10-12T11:15:10.000Z","dependencies_parsed_at":"2024-04-10T18:21:46.292Z","dependency_job_id":"47cc1bcf-098d-41a5-a0a8-63a92685dfb7","html_url":"https://github.com/uncomputable/rustier-simplicity","commit_stats":null,"previous_names":["uncomputable/rustier-simplicity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uncomputable/rustier-simplicity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Frustier-simplicity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Frustier-simplicity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Frustier-simplicity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Frustier-simplicity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uncomputable","download_url":"https://codeload.github.com/uncomputable/rustier-simplicity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Frustier-simplicity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28624506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T02:47:06.670Z","status":"ssl_error","status_checked_at":"2026-01-21T02:45:44.886Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bitcoin","circuit","learning","library","logic","rust","tutorial"],"created_at":"2024-12-10T06:12:10.187Z","updated_at":"2026-01-21T03:32:54.521Z","avatar_url":"https://github.com/uncomputable.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Playground\n\n\"If you know Rust, you already know Simplicity.\"\n\nSimplicity is not hard and this repo tries to show that by implementing it using the Rust type system.\nNo pointers are used; everything lives on the stack.\nEverything is as close to the [tech report](https://github.com/ElementsProject/simplicity/blob/pdf/Simplicity-TR.pdf) as possible.\nFeel free to read the code and the report side by side.\n\n## Values\n\nLearn about types and values in [src/value.rs](https://github.com/uncomputable/simple-playground/blob/master/src/value.rs).\nThere is an example in [examples/values.rs](https://github.com/uncomputable/simple-playground/blob/master/examples/values.rs).\nValues serve as data.\nThere are unit, sum and product types.\nBits and byte strings of arbitrary length can be encoded using these primitives.\n\n```\ncargo run --example values\n```\n\n## Combinators\n\nLearn about combinators and execution in [src/combinator.rs](https://github.com/uncomputable/simple-playground/blob/master/src/combinator.rs).\nThere is an example in [examples/combinators.rs](https://github.com/uncomputable/simple-playground/blob/master/examples/combinators.rs).\nCombinators serve as functions that work on data (aka values).\nThere are nine combinators: unit, iden, take, drop, injl, injr, pair, comp, case.\nAny total function that works on bits or bytes can be computed by some combinator.\n\n```\ncargo run --example combinators\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcomputable%2Frustier-simplicity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funcomputable%2Frustier-simplicity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcomputable%2Frustier-simplicity/lists"}