{"id":20123304,"url":"https://github.com/tyfkda/lisp2js","last_synced_at":"2025-05-06T16:33:56.244Z","repository":{"id":23000571,"uuid":"26351186","full_name":"tyfkda/lisp2js","owner":"tyfkda","description":"Lisp to JavaScript translator running on JavaScript","archived":true,"fork":false,"pushed_at":"2019-10-16T00:11:08.000Z","size":1000,"stargazers_count":3,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T20:32:20.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Common Lisp","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/tyfkda.png","metadata":{"files":{"readme":"README.ja.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":"2014-11-08T05:45:28.000Z","updated_at":"2024-02-09T04:12:52.000Z","dependencies_parsed_at":"2022-09-12T17:32:16.935Z","dependency_job_id":null,"html_url":"https://github.com/tyfkda/lisp2js","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyfkda%2Flisp2js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyfkda%2Flisp2js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyfkda%2Flisp2js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyfkda%2Flisp2js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyfkda","download_url":"https://codeload.github.com/tyfkda/lisp2js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252721137,"owners_count":21793761,"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":[],"created_at":"2024-11-13T19:44:14.247Z","updated_at":"2025-05-06T16:33:55.937Z","avatar_url":"https://github.com/tyfkda.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"lisp2js\n=======\n\n[![Build Status](https://travis-ci.org/tyfkda/lisp2js.svg)](https://travis-ci.org/tyfkda/lisp2js)\n\nLispコード→JavaScriptトランスレータ\n\n[デモ](https://tyfkda.github.io/lisp2js/)\n\n\n## 特徴\n* コンパイルによって直接実行できるJSコードが吐き出される（VMではない）\n* JSの関数やオブジェクトに簡単にアクセスできる（逆もしかり）\n* セルフホスティングコンパイラ\n* Lisp-1（関数と変数の名前空間が同じ）\n* （衛生的ではない）マクロ\n\n### サポートしない機能\n* 継続\n* 末尾呼び出し最適化（JSに依存）\n* 引数チェック（JavaScriptに変換され実行されるので）\n* 多値\n\n\n## マッピング\nLispコードは下のルールでJSにコンパイルされる：\n\n| Lisp       | JavaScript      |\n|------------|-----------------|\n| `()`       | `false`         |\n| nil        | `false`         |\n| t          | `true`          |\n| Pair       | `Cons` object   |\n| symbol     | `Symbol` object |\n| string     | String          |\n| lambda     | Function        |\n| hash table | Object          |\n| vector     | Array           |\n\n\n## ビルドの方法\n\nNode.jsとnpmがインストールされている必要がある。\n\n* `npm install` で、必要なモジュールをインストール\n* ソースを修正した場合、 `make` で `lisp2js.js` が更新される\n* 圧縮したコードを更新するには、 `make release` を実行\n\n\n## 履歴\n* v0.1\n  * 基本的なセルフホスティングコンパイラ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyfkda%2Flisp2js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyfkda%2Flisp2js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyfkda%2Flisp2js/lists"}