{"id":15649717,"url":"https://github.com/nanmu42/bluelox","last_synced_at":"2025-04-30T16:28:29.468Z","repository":{"id":40665973,"uuid":"364591672","full_name":"nanmu42/bluelox","owner":"nanmu42","description":"A tree-walking interpreter implemented in Golang for Lox, with a browser playground supported by WASM | 一个基于语法树的Lox解释器，附带WASM版本的playground","archived":false,"fork":false,"pushed_at":"2023-02-14T03:08:49.000Z","size":354,"stargazers_count":42,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T17:51:14.470Z","etag":null,"topics":["ast","golang","interpreter","lox","lox-language","parser","playground","scripting-language"],"latest_commit_sha":null,"homepage":"https://lox.nanmu.me","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nanmu42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"nanmu42"}},"created_at":"2021-05-05T13:47:05.000Z","updated_at":"2024-12-11T05:36:52.000Z","dependencies_parsed_at":"2024-06-20T08:23:58.464Z","dependency_job_id":"34749708-0b4a-4940-98b1-ec71e9449899","html_url":"https://github.com/nanmu42/bluelox","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fbluelox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fbluelox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fbluelox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fbluelox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanmu42","download_url":"https://codeload.github.com/nanmu42/bluelox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251741833,"owners_count":21636326,"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":["ast","golang","interpreter","lox","lox-language","parser","playground","scripting-language"],"created_at":"2024-10-03T12:31:19.433Z","updated_at":"2025-04-30T16:28:29.252Z","avatar_url":"https://github.com/nanmu42.png","language":"Go","funding_links":["https://github.com/sponsors/nanmu42"],"categories":[],"sub_categories":[],"readme":"# BlueLox\n\n**English** | [中文](https://github.com/nanmu42/bluelox/blob/master/README_ZH.md)\n\n[![GoDoc](https://godoc.org/github.com/nanmu42/bluelox?status.svg)](https://godoc.org/github.com/nanmu42/bluelox)\n\nBlueLox is a tree-walking interpreter implemented in Golang for Lox.\n\nLox is a programing language by Robert Nystrom, \nintroduced in his wonderful book [Crafting Interpreters](https://craftinginterpreters.com/), \nwhere he constructs a Java version interpreter(jlox) line by line, \nwith detailed tutorial, brilliant illustrations and a full pack of jokes about breakfast.\n\n## Lox Playground\n\nhttps://lox.nanmu.me/\n\nA web browser based Lox playground powered by WASM version of BlueLox.\n\nYou may find the Lox Playground helpful during your learning and coding as it may be your stage\nfor trial-and-error and implementation reference.\n\n## CLI\n\n```bash\ngo install github.com/nanmu42/bluelox/cmd/bluelox@latest\n```\n\nTo use as a prompt:\n\n```bash\nbluelox\n```\n\nTo run a script file:\n\n```bash\nbluelox script.lox\n```\n\n## Acknowledgement\n\nLox programing language and [Crafting Interpreters](https://craftinginterpreters.com/)\nare works by [Robert Nystrom](https://twitter.com/intent/user?screen_name=munificentbob).\n\nThe Lox Playground borrows lots of ideas, code and styles from [Go Playground](https://go.dev/play/).\n\nLogo generated at [Gopherize.me](https://gopherize.me).\n\n## License\n\nCopyright © 2022 LI Zhennan\n\nReleased under Apache License 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanmu42%2Fbluelox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanmu42%2Fbluelox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanmu42%2Fbluelox/lists"}