{"id":17258623,"url":"https://github.com/xiaq/zhuji","last_synced_at":"2025-07-22T17:04:11.903Z","repository":{"id":147046493,"uuid":"51958550","full_name":"xiaq/zhuji","owner":"xiaq","description":"珠玑者算机语也","archived":false,"fork":false,"pushed_at":"2016-02-18T22:25:05.000Z","size":37,"stargazers_count":38,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-19T07:24:14.641Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/xiaq.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}},"created_at":"2016-02-17T22:02:30.000Z","updated_at":"2025-07-07T05:07:00.000Z","dependencies_parsed_at":"2023-05-04T13:37:52.533Z","dependency_job_id":null,"html_url":"https://github.com/xiaq/zhuji","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiaq/zhuji","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Fzhuji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Fzhuji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Fzhuji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Fzhuji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaq","download_url":"https://codeload.github.com/xiaq/zhuji/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Fzhuji/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266535695,"owners_count":23944275,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-15T07:21:21.077Z","updated_at":"2025-07-22T17:04:11.714Z","avatar_url":"https://github.com/xiaq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 珠玑\n\n珠玑者算机语也。\n\n## 使用\n\n下载二进制包：[Linux](https://dl.elvish.io/%e7%8f%a0%e7%8e%91-linux)、[OS X](https://dl.elvish.io/%e7%8f%a0%e7%8e%91-osx)。下载下来的文件不带可执行属性，还需 `chmod +x 珠玑`。珠玑暂不自带编辑功能，建议用 `rlwrap ./珠玑` 来运行。\n\n也可以从源码构建：`go get -u github.com/xiaq/zhuji/zhuji`。\n\n## 例程\n\n基本算术：\n\n```\n珠玑\u003e 九加九乘十。\n一百八十。\n```\n\n定义函数、操作堆栈：\n\n```\n珠玑\u003e 倍者自加也。\n珠玑\u003e 方者自乘也。\n珠玑\u003e 二百三十三、倍。\n四百六十六。\n珠玑\u003e 二百三十三、方。\n四百六十六、五万四千二百八十九。\n珠玑\u003e 乘。\n二千五百二十九万八千六百七十四。\n珠玑\u003e 复。\n二千五百二十九万八千六百七十四、二千五百二十九万八千六百七十四。\n珠玑\u003e 弃、弃。\n珠玑\u003e 弃。\n无元。\n```\n\n递归函数、条件语句：\n\n```\n珠玑\u003e 阶乘者，复、等于零则弃、一；非，复、减一、阶乘，乘，毕。\n珠玑\u003e 十、阶乘。\n三百六十二万八千八百。\n珠玑\u003e 弃。\n珠玑\u003e 斐波那契者，复、小于三则弃、一；非、复、减一、斐波那契、易、减二、斐波那契、和；毕。\n珠玑\u003e 十、斐波那契。\n五十五。\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaq%2Fzhuji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaq%2Fzhuji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaq%2Fzhuji/lists"}