{"id":17052576,"url":"https://github.com/cuchi/turmite","last_synced_at":"2025-03-23T05:21:27.150Z","repository":{"id":84178644,"uuid":"84510323","full_name":"cuchi/turmite","owner":"cuchi","description":"Chaotic two-dimensional Turing machine","archived":false,"fork":false,"pushed_at":"2017-03-22T02:07:46.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T11:48:28.201Z","etag":null,"topics":["elixir","functional-programming","turing-machine"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cuchi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-10T02:25:44.000Z","updated_at":"2017-03-10T02:29:51.000Z","dependencies_parsed_at":"2023-03-08T21:45:29.634Z","dependency_job_id":null,"html_url":"https://github.com/cuchi/turmite","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/cuchi%2Fturmite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuchi%2Fturmite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuchi%2Fturmite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuchi%2Fturmite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuchi","download_url":"https://codeload.github.com/cuchi/turmite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245058305,"owners_count":20554101,"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":["elixir","functional-programming","turing-machine"],"created_at":"2024-10-14T10:09:48.854Z","updated_at":"2025-03-23T05:21:27.125Z","avatar_url":"https://github.com/cuchi.png","language":"Elixir","readme":"# Turmite\n\nPurposes of this project for me:\n* Implement the turmite Turing machine _(yeah, really!)_\n* Learn Elixir\n* Learn to program better in the functional paradigm\n* Showcase some of the Elixir features\n\nCurrently, it does only the core stuff, you can call `iex -S mix` in the project folder and use it within the shell:\n```elixir\niex\u003e t = %Turmite{}\n%Turmite{grid: %Grid{cells: %{}, default: 0}, orientation: :north,\n position: {0, 0}, state: 0,\n transitions: %{{0, 0} =\u003e {0, 1, :right}, {0, 1} =\u003e {1, 1, :right},\n   {1, 0} =\u003e {0, 0, nil}, {1, 1} =\u003e {1, 0, nil}}}\n\niex\u003e Turmite.step(t, 100)\n%Turmite{grid: %Grid{cells: %{{-4, -4} =\u003e 1, {-4, -1} =\u003e 1, {-3, -4} =\u003e 1,\n    {-3, -3} =\u003e 1, {-3, 0} =\u003e 1, {-3, 1} =\u003e 1, {-3, 2} =\u003e 1, {-2, -3} =\u003e 1,\n    {-2, -1} =\u003e 1, {-2, 0} =\u003e 1, {-2, 2} =\u003e 1, {-1, -4} =\u003e 1, {-1, -3} =\u003e 1,\n    {-1, 1} =\u003e 1, {-1, 2} =\u003e 1, {0, -3} =\u003e 1, {0, -2} =\u003e 1, {0, -1} =\u003e 1,\n    {0, 1} =\u003e 1, {0, 2} =\u003e 1, {1, -3} =\u003e 1, {1, -1} =\u003e 1, {1, 1} =\u003e 1,\n    {2, -1} =\u003e 1, {2, 0} =\u003e 1, {2, 1} =\u003e 1, {2, 2} =\u003e 1, {3, -3} =\u003e 1,\n    {3, -2} =\u003e 1, {3, 2} =\u003e 1}, default: 0}, orientation: :east,\n position: {-3, -1}, state: 0,\n transitions: %{{0, 0} =\u003e {0, 1, :right}, {0, 1} =\u003e {1, 1, :right},\n   {1, 0} =\u003e {0, 0, nil}, {1, 1} =\u003e {1, 0, nil}}}\n```\n\n## Next steps\n* CLI\n* Export to a png file\n* Docs\n* Tests","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuchi%2Fturmite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuchi%2Fturmite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuchi%2Fturmite/lists"}