1 Star 2 Fork 0

evilbinary / scheme-lib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

scheme-lib

鸭库 scheme-lib 是一个scheme使用的库。目前支持android osx linux windows,其它平台在规划中。

官方主页:https://evilbinary.github.io/scheme-lib/ QQ群:Lisp兴趣小组239401374

安装编译

Linux

  1. 执行sudo apt-get install build-essential freeglut3-dev libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libalut-dev libopenal-dev libffi-dev uuid-dev liblz4-dev命令安装依赖库。如果需要视频支持请加上libavcodec-dev libavformat-dev libswscale-dev
  2. 执行make命令就可以编译,对应平台的文件在bin目录下。
  3. 进入bin目录,执行source env.sh,然后运行./scheme --script ../apps/hello.ss就可以运行例子。

Mac OS X

  1. 安装XCode Command Line Tool或XCode
  2. brew或者port安装glfw ffmpeg开发库。
  3. 执行make命令就可以编译,对应平台的文件在bin目录下。
  4. 进入bin目录,执行source env.sh,然后运行./scheme --script ../apps/hello.ss就可以运行例子。

Windows

  1. 下载已经去除了,因为有人说抱怨运行报错,这下你只能自己编译。真需要的话,加群下载。

使用scheme lib的项目

scheme lib官方网站:http://scheme-lib.evilbinary.org/
letsgo 莱茨狗抢狗软件:https://github.com/scheme-lib/letsgo
duck-editor 鸭子编辑器:https://github.com/evilbinary/duck-editor

文档

开发文档https://evilbinary.github.io/scheme-lib/

截图

Android

新手入门

环境安装 手机版

  1. 先安装scheme-release-1.6.apk
  2. 点击下载app库和package库
  3. 下载成功后点击运行计算机demo或者直接打开apps里面的应用demo点击运行

运行效果如下:

测试配置

  1. 在手机上输入运行代码可能不方便,所以弄了个配置文件,把需要运行的代码放到配置中会自己加载代码运行。配置文件为config.xml内容如下:

    <?xml version='1.0' encoding='utf-8' standalone='yes' ?>
    <map>
    	<string name="debugCode">(import (test) (gles1) (glut) ) (load "/sdcard/org.evilbinary.chez/lib/apps/draw-point.ss") ;(imgui-test-hello-world) </string>
    </map>
  2. adb push config.xml /sdcard/org.evilbinary.chez/scm/conf/config.xml

  3. 打开scheme app就可以直接运行啦。

MIT License Copyright (c) 2016 evilbinary Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

鸭库 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 展开 收起
Scheme 等 6 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Scheme
1
https://gitee.com/evilbinary/scheme-lib.git
git@gitee.com:evilbinary/scheme-lib.git
evilbinary
scheme-lib
scheme-lib
master

搜索帮助

14c37bed 8189591 565d56ea 8189591