{"id":17893332,"url":"https://github.com/techno-coder/tm-compiler","last_synced_at":"2025-06-19T22:10:18.067Z","repository":{"id":118644844,"uuid":"497299643","full_name":"Techno-coder/TM-compiler","owner":"Techno-coder","description":"A Turing Machine compiler","archived":false,"fork":false,"pushed_at":"2022-05-28T12:22:00.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T04:15:56.368Z","etag":null,"topics":["theory-of-computation","turing-machine"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Techno-coder.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-05-28T11:35:49.000Z","updated_at":"2022-05-28T12:22:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"9831cfd5-11bb-4d05-9511-e8f43848c8ec","html_url":"https://github.com/Techno-coder/TM-compiler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Techno-coder/TM-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techno-coder%2FTM-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techno-coder%2FTM-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techno-coder%2FTM-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techno-coder%2FTM-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Techno-coder","download_url":"https://codeload.github.com/Techno-coder/TM-compiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techno-coder%2FTM-compiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260838659,"owners_count":23070613,"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":["theory-of-computation","turing-machine"],"created_at":"2024-10-28T14:49:33.939Z","updated_at":"2025-06-19T22:10:13.056Z","avatar_url":"https://github.com/Techno-coder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TM-compiler\n\nA Turing Machine compiler. \n\n## What does it do?\n\nThis compiler compiles a pseudo-assembly like description of a machine into a list of transitions runnable on a [TM simulator](http://morphett.info/turing/turing.html). In other words, it makes it easier to write Turing Machines.\n\n## Features\n\n- Programmatic generation of Turing Machines\n- Persistent bits of \"memory\" through conditional flags\n- State labels and fall-through transitions\n\n## How do I use it?\n\n1. Write a description of a machine using the `compile` function (see [palindrome.py](palindrome.py) for an example)\n2. Run the script you've written (`python3 palindrome.py`)\n3. Paste the output into a TM simulator\n\n## Acknowledgements\n\nWritten during UNSW's COMP4141 course.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechno-coder%2Ftm-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechno-coder%2Ftm-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechno-coder%2Ftm-compiler/lists"}