{"id":15380884,"url":"https://github.com/francoisschwarzentruber/turing-machine-language","last_synced_at":"2025-07-07T06:32:55.150Z","repository":{"id":133313457,"uuid":"439937634","full_name":"francoisschwarzentruber/turing-machine-language","owner":"francoisschwarzentruber","description":"Turing machine language. A (somehow) high-level language to describe programs running on Turing machines","archived":false,"fork":false,"pushed_at":"2022-01-01T16:28:12.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T07:18:30.397Z","etag":null,"topics":["algorithms","educational-project","turing-machine","turing-machine-simulator"],"latest_commit_sha":null,"homepage":"https://francoisschwarzentruber.github.io/turing-machine-language","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/francoisschwarzentruber.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":"2021-12-19T18:24:51.000Z","updated_at":"2022-03-20T10:14:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"17554793-4abc-4d99-813c-14a70c8a27c8","html_url":"https://github.com/francoisschwarzentruber/turing-machine-language","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.4285714285714286,"last_synced_commit":"9855677f782d1981ec0c01844449cb7475d4feef"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/francoisschwarzentruber/turing-machine-language","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoisschwarzentruber%2Fturing-machine-language","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoisschwarzentruber%2Fturing-machine-language/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoisschwarzentruber%2Fturing-machine-language/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoisschwarzentruber%2Fturing-machine-language/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francoisschwarzentruber","download_url":"https://codeload.github.com/francoisschwarzentruber/turing-machine-language/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoisschwarzentruber%2Fturing-machine-language/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264027563,"owners_count":23546099,"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":["algorithms","educational-project","turing-machine","turing-machine-simulator"],"created_at":"2024-10-01T14:24:53.779Z","updated_at":"2025-07-07T06:32:55.116Z","avatar_url":"https://github.com/francoisschwarzentruber.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turing machine language\nThis repository contains a Turing machine simulator for programs written in a somehow high-level language called TML, see https://francoisschwarzentruber.github.io/turing-machine-language. TML is a (somehow) high-level language to describe programs running on Turing machines. The project TML can be seen a sort of C for Turing machines.  The aim is pedagogical. In particular, this tool implements:\n- [X] a non-deterministic machine for 3-coloring\n- [X] Dijkstra's algorithm\n- [ ] a non-deterministic machine for SAT\n- [ ] Mathematical function (polynomials, etc.)\n- [ ] A universal Turing machine\n\nPS: For the moment TML is just functions in Javascript, but at some point, TML will become a real language, if it is sufficiently interesting.\n\n## Core language\n\n- `left()` move the head left\n- `right()` move the head right\n- `read()` returns the content of the current cell\n- `write(\"a\")` write \"a\" in the current cell\n\n## Marks\n\nCells can be marked! In other words, a letter in a cell is a symbol augmented with a set of marks (the number of marks is finite, the alphabet is finite, do not worry!).\n- `mark(\"x\")` mark the current cell\n- `unmark(\"x\")`unmark the current cell\n\n\n## Libraries\n\nLike C, TML is provided with libraries.\n- `TMLBlock` provides functionnalities to support blocks of cells. It enables to allocate memory.\n- `TMLMath` provides math functions (addition, leq, etc.).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancoisschwarzentruber%2Fturing-machine-language","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancoisschwarzentruber%2Fturing-machine-language","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancoisschwarzentruber%2Fturing-machine-language/lists"}