{"id":19437773,"url":"https://github.com/wenkokke/cgtm","last_synced_at":"2026-06-10T01:31:18.776Z","repository":{"id":146030492,"uuid":"91180230","full_name":"wenkokke/cgtm","owner":"wenkokke","description":"a compiler from Turing Machines to VISL CG-3 code","archived":false,"fork":false,"pushed_at":"2018-10-08T22:35:57.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T07:15:31.951Z","etag":null,"topics":["haskell","turing-completeness","turing-machine-simulator","vislcg3"],"latest_commit_sha":null,"homepage":"https://wenkokke.github.io/2017/visl-cg-3-is-the-new-assembler/","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wenkokke.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":"2017-05-13T14:33:40.000Z","updated_at":"2018-10-08T22:36:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd1dc649-f286-4686-a817-b6c08bce19c1","html_url":"https://github.com/wenkokke/cgtm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wenkokke/cgtm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenkokke%2Fcgtm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenkokke%2Fcgtm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenkokke%2Fcgtm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenkokke%2Fcgtm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wenkokke","download_url":"https://codeload.github.com/wenkokke/cgtm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenkokke%2Fcgtm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34133404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["haskell","turing-completeness","turing-machine-simulator","vislcg3"],"created_at":"2024-11-10T15:15:52.155Z","updated_at":"2026-06-10T01:31:18.757Z","avatar_url":"https://github.com/wenkokke.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CG Turing Machines\n\n[![Build Status](https://travis-ci.org/wenkokke/cgtm.svg?branch=master)](https://travis-ci.org/wenkokke/cgtm)\n\nThis is a small library which generates VISL CG-3 code from Turing machine specifications, proving that VISL CG-3\u003ca name=\"1\" href=\"#ad1\"\u003e\u003csup\u003e1\u003c/sup\u003e\u003c/a\u003e is Turing-complete\u003ca name=\"2\" href=\"#ad2\"\u003e\u003csup\u003e2\u003c/sup\u003e\u003c/a\u003e. This development is accompanied by a blog post, *[VISL CG-3 is the new assembler](https://wenkokke.github.io/2017/visl-cg-3-is-the-new-assembler/)*.\n\n---\n\n[\u003ca name=\"ad1\" href=\"#1\"\u003e1\u003c/a\u003e]: \nMore specifically, the subset which only uses a single `SECTION`, `ADDCOHORT` and `REMCOHORT`. While it also uses the `ADD` command, this could be simulated by adding `\"\u003cTag\u003e\"` cohorts. However, for reasons of clarity, I've not done this.\n\n[\u003ca name=\"ad2\" href=\"#2\"\u003e2\u003c/a\u003e]: \nThe other direction—the fact that VISL CG-3 grammars can be run on a Turing machine—is probably adequately proven by the VISL CG-3 implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenkokke%2Fcgtm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwenkokke%2Fcgtm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenkokke%2Fcgtm/lists"}