{"id":22305043,"url":"https://github.com/penguincabinet/purelisp","last_synced_at":"2025-03-26T00:44:44.654Z","repository":{"id":217413226,"uuid":"743811271","full_name":"PenguinCabinet/PureLISP","owner":"PenguinCabinet","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-21T01:34:47.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T21:32:20.282Z","etag":null,"topics":["golang","lisp","programming-language","pure-lips"],"latest_commit_sha":null,"homepage":"","language":"Go","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/PenguinCabinet.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":"2024-01-16T03:21:00.000Z","updated_at":"2024-10-21T01:34:50.000Z","dependencies_parsed_at":"2024-10-22T04:42:38.088Z","dependency_job_id":null,"html_url":"https://github.com/PenguinCabinet/PureLISP","commit_stats":null,"previous_names":["penguincabinet/purelisp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PenguinCabinet%2FPureLISP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PenguinCabinet%2FPureLISP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PenguinCabinet%2FPureLISP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PenguinCabinet%2FPureLISP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PenguinCabinet","download_url":"https://codeload.github.com/PenguinCabinet/PureLISP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245568580,"owners_count":20636803,"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":["golang","lisp","programming-language","pure-lips"],"created_at":"2024-12-03T19:09:52.548Z","updated_at":"2025-03-26T00:44:44.629Z","avatar_url":"https://github.com/PenguinCabinet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 👾Pure LISP\n\nフルスクラッチで実装をした純LISP処理系です。(恐らく)   \nGoで書かれています。    \n\nHelloWorldのソースコード   \n```\n(define str HelloWorld)\n(print str)\n```\n\n# ✅仕様\n動的スコープです。   \n意味的・構文的に不正なソースコードを入れた際、動作未定義です。  \n## データ型\nデータ型には「atom」と「lambda」と「pair」があります。\n\n### atom\n|型|説明|\n|---|---|\n|nil|nilを表します|\n|T|Trueを表します|\n|Other|define構文で定義されたもの以外のすべてです|\n### lambda\nラムダ構文で定義された関数です。\n\n### pair\n二つのデータを保持できる型です。   \n以下、例    \n```\n(A B)\n(A nil)\n(A (B C))   \n(A (lambda (arg1 arg2) (eq arg1 arg2)))\n```\n\n## 構文\n|構文|書き方|動作|\n|---|---|---|\n|atom|(atom A)|Aのデータ型がatomならT、それ以外ならnilを返します|\n|eq|(eq A B)|AとBが等しければ、T、それ以外ならnilを返します|\n|car|(car (cons A B))|引数のペアの右側を返します|\n|cdr|(cons A B)|引数のペアの左側を返します|\n|cons|(cons A B)|ペア(A B)を返します|\n|if|(if expr A B)|exprがTならA、それ以外ならBを実行し、実行した方の戻り値を返します|\n|quote|(quote (A B C))|構文木をペア型のデータへ変換します。例の場合、(A (B (C nil)))のペアが返されます|\n|lambda|(lambda (arg1 arg2) (eq arg1 arg2))|lambda型のデータを作成し、返します|\n|print|(print A)|Golangの機能を使用し、Aを標準表示します|\n\n# ⇩nstall\n```\ngo install github.com/PenguinCabinet/PureLISP@latest\n```\n\n# 実行\n```\nPureLISP src-file.lisp\n```\n\n# テスト\n```\ngo test\n```\n## 🎫LICENSE\n\n[MIT](./LICENSE)\n\n## ✍Author\n\n[PenguinCabinet](https://github.com/PenguinCabinet)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenguincabinet%2Fpurelisp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpenguincabinet%2Fpurelisp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenguincabinet%2Fpurelisp/lists"}