{"id":22700438,"url":"https://github.com/uncomputable/simple-turing","last_synced_at":"2026-05-01T15:34:26.934Z","repository":{"id":79824481,"uuid":"549663892","full_name":"uncomputable/simple-turing","owner":"uncomputable","description":"Turing machine verifier written in Simplicity","archived":false,"fork":false,"pushed_at":"2022-10-11T20:35:23.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T19:46:38.943Z","etag":null,"topics":["application","bitcoin","rust","turing-machine"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/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":"2022-10-11T14:39:51.000Z","updated_at":"2023-05-02T19:25:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b41ce02-2ca6-4e28-822c-a70efcced99e","html_url":"https://github.com/uncomputable/simple-turing","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/uncomputable%2Fsimple-turing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fsimple-turing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fsimple-turing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fsimple-turing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uncomputable","download_url":"https://codeload.github.com/uncomputable/simple-turing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246230541,"owners_count":20744349,"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":["application","bitcoin","rust","turing-machine"],"created_at":"2024-12-10T06:12:11.578Z","updated_at":"2026-05-01T15:34:26.898Z","avatar_url":"https://github.com/uncomputable.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Turing machine\n\nVerify Turing machine computations in Simplicity.\n\nIt is easy to verify that a Boolean function accepts (returns \"true\" upon) a given input. This verification is strictly easier than computing the output of a function. Simplicity is Turing-incomplete and yet it can verify any computable function in this way.\n\n## Running\n\n```\ncargo run --example trivial\ncargo run --example two_beavers\n...\n```\n\n### Input\n\nThe computation is given as witness data and consists of a sequence of configurations. A configuration consists of the current state, tape and index (pointer).\n\nFeel free to change the inputs of the given examples to experiment.\n\n### Output\n\nIf the computation is valid, then the Simplicity program returns nothing (NOP). Otherwise, the program reaches a so-called pruned branch with one of the following error codes:\n\n- 00... → invalid state\n- 01... → invalid index\n- 02... → invalid tape\n- 03... → invalid initial state\n- 04... → invalid accepting state\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcomputable%2Fsimple-turing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funcomputable%2Fsimple-turing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcomputable%2Fsimple-turing/lists"}