• Stars
    star
    466
  • Rank 91,986 (Top 2 %)
  • Language
    Scheme
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

鸭库 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-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就可以直接运行啦。

More Repositories

1

TvWidget

tv常用效果控件,包括焦点、边框处理等。
Java
581
star
2

duck-editor

基于scheme开发的鸭子编辑器
Scheme
196
star
3

YiYiYa

YiYiYa 一个os
C
173
star
4

HighlightTextEditor

An android HighlightTextEditor
Java
138
star
5

myblog

python写的博客,支持3种数据库,现在挂在evilbinary.org
Python
127
star
6

clear

clear 消除游戏 common lisp写的游戏
Common Lisp
24
star
7

robot

robot机器人 可以使用qq号码登录
Python
21
star
8

duck-compiler

🦆鸭子编译器
Scheme
21
star
9

duck-os

基于鸭子编译器写的os
Scheme
21
star
10

duck-typescript

A library for building cross-platform native desktop applications with TypeScript.
TypeScript
16
star
11

RScheme-for-android

RScheme for android 。运行在android上的scheme。
C
15
star
12

RScheme-for-ios

RScheme-for-ios ios lib and gui
C
9
star
13

wechat-pc

scheme写的高仿微信pc版聊天
Scheme
9
star
14

webrtc_lite

webrtc_lite 2016-08-31
C++
9
star
15

lisp--

lisp-- 一个可以跑sicp解释器的lisp--。
C
8
star
16

food

一个点菜的app,可以蓝牙或者无线网络点菜打单。
Java
6
star
17

eatery

eatery 食堂点餐
TypeScript
6
star
18

RScheme-for-windows

RScheme-for-windows run time library and example to call by c.
C
6
star
19

clock

时钟,c51单片机,汇编,有仿真电路图
Assembly
6
star
20

duck-learn

duck-learn 鸭子学习小站
5
star
21

duck

duck kernel
C
4
star
22

evilos

evilos 一个学习型的操作系统
C
4
star
23

OnlineJudge

java在线评判系统
Java
4
star
24

ymake

Python
3
star
25

duck-robot

duck-robot 一个基于qq开发的鸭子机器人。
JavaScript
3
star
26

typescript-pipeline

typescript-pipeline
TypeScript
2
star
27

etk-gui

etk-gui 一个mini的gui,可以用于嵌入式。
C
2
star
28

eqq-python

eqq python version
Python
2
star
29

asm

以前汇编学习的代码。 my asm practice project
Assembly
2
star
30

Tank

一个Tank小游戏,自带物理引擎。
C++
2
star
31

glfont

gles font
Go
2
star
32

foot

C
1
star
33

-

1
star
34

android-vnc-server

Automatically exported from code.google.com/p/android-vnc-server
C
1
star