{"id":16744836,"url":"https://github.com/marteinn/idelisp","last_synced_at":"2025-03-16T01:40:44.538Z","repository":{"id":67213563,"uuid":"230392901","full_name":"marteinn/IdeLISP","owner":"marteinn","description":"A LISP written in C","archived":false,"fork":false,"pushed_at":"2020-01-25T13:29:40.000Z","size":242,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T14:25:11.911Z","etag":null,"topics":["c","lisp","webassembly"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marteinn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-12-27T07:13:20.000Z","updated_at":"2022-11-04T10:45:26.000Z","dependencies_parsed_at":"2023-02-21T07:46:00.156Z","dependency_job_id":null,"html_url":"https://github.com/marteinn/IdeLISP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marteinn%2FIdeLISP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marteinn%2FIdeLISP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marteinn%2FIdeLISP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marteinn%2FIdeLISP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marteinn","download_url":"https://codeload.github.com/marteinn/IdeLISP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814907,"owners_count":20352037,"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":["c","lisp","webassembly"],"created_at":"2024-10-13T01:44:14.751Z","updated_at":"2025-03-16T01:40:44.520Z","avatar_url":"https://github.com/marteinn.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![IdeLISP](https://raw.githubusercontent.com/marteinn/IdeLISP/master/img/idelisp-logo.png)\n\n# IdeLISP\nThis is a LISP I put together while reading [Build Your Own Lisp](http://www.buildyourownlisp.com/). Inspired by Lispy, Clojure and Common Lisp.\n\n\n## Installing\n- Clone [MPC](https://github.com/orangeduck/mpc) and drop `mpc.c` and `mpc.h` in the project root\n- `make build`\n\n_(Please note this project is currently not cross-platform, and probably never will be. Will much likely work when compiling on Mac OS/Ubuntu)_\n\n\n## Running\n\n### Using the REPL\n\n```\n./bin/idelisp\nIdeLISP (type exit() to quit)\n\u003e\u003e + 1 1\n2\n```\n\n### Executing a file\n\n```\n./bin/idelisp -f example.ilisp\n2\n```\n\n### Compiling and running as WebAssembly\n\n- `make build_wasm`\n- `cd wasm`\n- Serve the directory in a webserver: `python -m SimpleHTTPServer`\n- open \"http://localhost:8000/idelisp.html\"\n\n## Example syntax\n\n```\n(load \"standard.ilisp\")\n(+ 1 2)\n(* (+ 2 3.1) (* 2 3))\n{:my_key \"value\"}\n(def :x 1)\n(+ x 1)\n(defn :plus-two '(x) '(+ 2 x))\n(plus-two 2)\n(defl :combine (fn '(x y) '(+ x y)))\n(combine 2 1)\n(== 1 1)\n(if (== 1 1)\n    '(print 1)\n    '(print 2)\n)\n(if (and (== 1 1) (!= 1 0))\n    '(print 1)\n    '(print 2)\n)\n(not 0)\n; I am a comment\n(let '(a b) '(1 2)'\n    '(print a))\n(zero-arity-fn ())\n```\n\n## Language syntax\nSee the [language](https://github.com/marteinn/IdeLISP/blob/master/LANGUAGE.md) specification\n\n\n## The name?\nIts a pun on the french name for dogmatix in Asterix/Obelix, which is Idéfix.\n\n\n## License\n\nThis project is released under the [Creative Commons Attribution-NonCommercial-ShareAlike 3.0](https://creativecommons.org/licenses/by-nc-sa/3.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarteinn%2Fidelisp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarteinn%2Fidelisp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarteinn%2Fidelisp/lists"}