{"id":13792480,"url":"https://github.com/evilbinary/scheme-lib","last_synced_at":"2026-02-25T14:54:34.286Z","repository":{"id":14315919,"uuid":"76329726","full_name":"evilbinary/scheme-lib","owner":"evilbinary","description":"鸭库 duck lib scheme for gui gles gl slib openal socket web mongodb box2d game glfw mysql libevent  libuv uv json http client  server android osx linux chezscheme scheme-lib ","archived":false,"fork":false,"pushed_at":"2024-02-27T10:51:07.000Z","size":81426,"stargazers_count":470,"open_issues_count":0,"forks_count":48,"subscribers_count":34,"default_branch":"master","last_synced_at":"2024-11-18T06:49:15.398Z","etag":null,"topics":["android","chezscheme","cl","gui","library","lisp","scheme","scheme-lib","ui"],"latest_commit_sha":null,"homepage":"https://evilbinary.github.io/scheme-lib/ ","language":"Scheme","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/evilbinary.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":"2016-12-13T06:27:36.000Z","updated_at":"2024-10-13T06:43:38.000Z","dependencies_parsed_at":"2024-11-18T06:55:24.145Z","dependency_job_id":null,"html_url":"https://github.com/evilbinary/scheme-lib","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/evilbinary%2Fscheme-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilbinary%2Fscheme-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilbinary%2Fscheme-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilbinary%2Fscheme-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evilbinary","download_url":"https://codeload.github.com/evilbinary/scheme-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253754967,"owners_count":21958934,"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":["android","chezscheme","cl","gui","library","lisp","scheme","scheme-lib","ui"],"created_at":"2024-08-03T22:01:12.691Z","updated_at":"2026-02-25T14:54:29.233Z","avatar_url":"https://github.com/evilbinary.png","language":"Scheme","readme":"# scheme-lib\n鸭库 scheme-lib 是一个scheme使用的库。目前支持android osx linux windows，其它平台在规划中。\n\n官方主页：[https://evilbinary.github.io/scheme-lib/](https://evilbinary.github.io/scheme-lib/)\nQQ群：Lisp兴趣小组239401374\n\n# 安装编译\n\n## Linux\n\n1. 执行:\n```shell\nsudo apt-get install build-essential freeglut3-dev libgles2-mesa-dev libegl1-mesa-dev libalut-dev libopenal-dev libffi-dev uuid-dev liblz4-dev\nlibtinfo5 libtinfo-dev libalut-dev libgles2-mesa-dev\n# 命令安装依赖库。如果需要视频支持请加上: libavcodec-dev libavformat-dev libswscale-dev\n```\n2. 执行`make`命令就可以编译，对应平台的文件在`bin`目录下。\n3. 进入`bin`目录，执行`source env.sh`，然后运行`./scheme --script ../apps/hello.ss`就可以运行例子。\n\n## Mac OS X\n1. 安装[XCode Command Line Tool或XCode](https://developer.apple.com/download/more/)。\n2. [brew](https://www.macports.org/)或者[port](https://www.macports.org/)安装`glfw ffmpeg`开发库。\n3. 执行`make`命令就可以编译，对应平台的文件在`bin`目录下。\n4. 进入`bin`目录，执行`source env.sh`，然后运行`./scheme --script ../apps/hello.ss`就可以运行例子。\n\n## Windows\n1. 下载已经去除了，因为有人说抱怨运行报错，这下你只能自己编译。真需要的话，加群下载。\n\n# 使用scheme lib的项目\nscheme lib官方网站：[http://scheme-lib.evilbinary.org/](http://scheme-lib.evilbinary.org/)  \nletsgo 莱茨狗抢狗软件：[https://github.com/scheme-lib/letsgo](https://github.com/scheme-lib/letsgo)  \nduck-editor 鸭子编辑器：[https://github.com/evilbinary/duck-editor](https://github.com/evilbinary/duck-editor)\n\n# 文档\n[开发文档](https://evilbinary.github.io/scheme-lib/)https://evilbinary.github.io/scheme-lib/\n\n\n\n# 截图\n\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/duck-demo.png\" width=\"800px\" /\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/terminal-demo.jpeg\" width=\"800px\" /\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/calc.png\" width=\"400px\" /\u003e\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/editor2.png\" width=\"400px\" /\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/wechat-demo.png\" width=\"400px\" /\u003e\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/new-gui2.jpg\" width=\"400px\" /\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/game-demo.png\" width=\"400px\" /\u003e\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/new-gui.jpg\" width=\"400px\" /\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/draw-image.png\" width=\"400px\" /\u003e \u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/box2d-demo.png\" width=\"400px\" /\u003e\n\n# Android\n## 新手入门\n### 环境安装 手机版\n1. 先安装[scheme-release-1.6.apk][1]\n2. 点击下载app库和package库\n3. 下载成功后点击运行计算机demo或者直接打开apps里面的应用demo点击运行\n\n运行效果如下：\n\n\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/m-game2.png\" width=\"350px\" /\u003e\u003cimg src=\"https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/screenshot/m-game.png\" width=\"350px\" /\u003e\n\n### 测试配置\n1. 在手机上输入运行代码可能不方便，所以弄了个配置文件，把需要运行的代码放到配置中会自己加载代码运行。配置文件为`config.xml`内容如下:\n\n\t```xml\n\t\u003c?xml version='1.0' encoding='utf-8' standalone='yes' ?\u003e\n\t\u003cmap\u003e\n\t\t\u003cstring name=\"debugCode\"\u003e(import (test) (gles1) (glut) ) (load \"/sdcard/org.evilbinary.chez/lib/apps/draw-point.ss\") ;(imgui-test-hello-world) \u003c/string\u003e\n\t\u003c/map\u003e\n\t```\n\n2. `adb push config.xml /sdcard/org.evilbinary.chez/scm/conf/config.xml`\n3. 打开scheme app就可以直接运行啦。\n\n[1]: https://raw.githubusercontent.com/evilbinary/scheme-lib/master/data/apk/scheme-release-1.6.apk   \"scheme apk\"\n[2]: https://github.com/evilbinary/data/blob/master/pic/scheme-lib-2.1-win32.zip  \"scheme-lib-2.1-win32.zip\"\n","funding_links":[],"categories":["Scheme"],"sub_categories":["course"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilbinary%2Fscheme-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilbinary%2Fscheme-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilbinary%2Fscheme-lib/lists"}