{"id":16469413,"url":"https://github.com/kigawas/computation-py","last_synced_at":"2025-09-09T11:09:06.478Z","repository":{"id":44816101,"uuid":"55939478","full_name":"kigawas/computation-py","owner":"kigawas","description":"Python implementation for Understanding Computation book.","archived":false,"fork":false,"pushed_at":"2025-02-01T01:43:09.000Z","size":242,"stargazers_count":25,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T12:08:35.374Z","etag":null,"topics":["automata","interpreter","programming-language","python","python3"],"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/kigawas.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":"2016-04-11T03:41:35.000Z","updated_at":"2025-01-06T08:37:19.000Z","dependencies_parsed_at":"2022-09-23T11:30:47.316Z","dependency_job_id":"309a2bc2-6de5-444b-894a-01b75a8e9d34","html_url":"https://github.com/kigawas/computation-py","commit_stats":{"total_commits":83,"total_committers":2,"mean_commits":41.5,"dds":"0.10843373493975905","last_synced_commit":"db160fc2b9c732e9d5041f7efb7d8cba86b15a0f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kigawas%2Fcomputation-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kigawas%2Fcomputation-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kigawas%2Fcomputation-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kigawas%2Fcomputation-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kigawas","download_url":"https://codeload.github.com/kigawas/computation-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826788,"owners_count":20354220,"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":["automata","interpreter","programming-language","python","python3"],"created_at":"2024-10-11T12:07:22.322Z","updated_at":"2025-03-16T18:31:27.916Z","avatar_url":"https://github.com/kigawas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# computation-py\n\n[![License](https://img.shields.io/github/license/kigawas/computation-py.svg)](https://github.com/kigawas/computation-py)\n[![CI](https://img.shields.io/github/actions/workflow/status/kigawas/computation-py/ci.yml?branch=master)](https://github.com/kigawas/computation-py/actions)\n[![Codecov](https://img.shields.io/codecov/c/github/kigawas/computation-py.svg)](https://codecov.io/gh/kigawas/computation-py)\n\nPython implementation for [Understanding Computation](http://computationbook.com/).\n\n## Introduction\n\n[Understanding Computation](http://computationbook.com/) is an awesome book about computation theory, which explains profound and complicated concepts by using short and concise Ruby code snippets.\n\nI don't want to evangelize, but if you are curious about how a program functions, you must read this book. It's just like SICP's ruby version in a way, yet with much more fun.\n\n## What does this repository cover\n\nI just implemented equivalent codes from chapter to chapter, those contents are:\n\n1. Two kinds of interpreters for a simple language with a parser based on [lark](https://github.com/lark-parser/lark)\n\n2. Generating Python code for this language instead of Ruby (Because Python's anonymous functions are quite more limited than Ruby, there are some hacks like [Y-combinator](https://kigawas.me/posts/y-combinator-in-python/))\n\n3. Simulating automata such as DFA, NFA, PDA\n\n4. Using automata to build a simple regular expression engine\n\n5. Simulating a Turing machine\n\n6. Lambda calculus and Church numbers\n\n7. Stay tuned..\n\n## What is your Python's version\n\nPython 3.10+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkigawas%2Fcomputation-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkigawas%2Fcomputation-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkigawas%2Fcomputation-py/lists"}