{"id":19544463,"url":"https://github.com/selectnull/pylox","last_synced_at":"2025-06-12T04:40:31.633Z","repository":{"id":62581509,"uuid":"79507421","full_name":"selectnull/pylox","owner":"selectnull","description":"Python implementation of Lox language","archived":false,"fork":false,"pushed_at":"2017-01-25T23:21:45.000Z","size":21,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-11T06:11:34.401Z","etag":null,"topics":["interpreter","lox-language","programming-language","python"],"latest_commit_sha":null,"homepage":null,"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/selectnull.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}},"created_at":"2017-01-19T23:59:49.000Z","updated_at":"2024-05-30T17:57:32.000Z","dependencies_parsed_at":"2022-11-03T21:21:38.944Z","dependency_job_id":null,"html_url":"https://github.com/selectnull/pylox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/selectnull/pylox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fpylox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fpylox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fpylox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fpylox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selectnull","download_url":"https://codeload.github.com/selectnull/pylox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fpylox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259400334,"owners_count":22851793,"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":["interpreter","lox-language","programming-language","python"],"created_at":"2024-11-11T03:29:03.196Z","updated_at":"2025-06-12T04:40:31.601Z","avatar_url":"https://github.com/selectnull.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pylox\n=====\n\npylox is Python implementation of Lox programming language which is a\ndemo language from [Crafting Interpreters](http://www.craftinginterpreters.com/)\nbook by [Bob Nystrom](https://github.com/munificent).\n\nI'm doing this because:\n\n1. I want to learn about language design and implementation\n2. I don't want to just read the book or copy and paste the code from it\n   and I want to do something else than C or Java\n3. Python is my main language these days and I want to use something I'm\n   most comfortable with\n4. Maybe after Python version I decide to reimplement it (or make my\n   own toy language) in Go. Or force myself to learn Rust which seems\n   like a good idea.\n5. Fun.\n\nThis is **work in progress**.\n\nRequirements\n------------\n\nPython 3.6 for no particular reasons except f-strings are used in few\nplaces. Other than that, it could easily be ported to even Python 2.7\n(but I don't plan to).\n\nInstall it\n----------\n\n    pip install pylox\n\nMake sure you run it with Python3, I suggest you install it inside\nvirtualenv.\n\nRun it\n------\n\nfrom source:\n\n    python3 -m pylox [script]\n\nor if installed via pip:\n\n    pylox [script]\n\nLicense\n-------\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectnull%2Fpylox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselectnull%2Fpylox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectnull%2Fpylox/lists"}