Artifact
cdc162e169bc4a4514e4a6f301f5913e800d889d:
Wiki page
[
Thunderchez] by
aldo
2016-09-04 15:35:14.
D 2016-09-04T15:35:14.399
L Thunderchez
P 58ad6449be33a8dd831dbefc0dfa2cf31e390bf3
U aldo
W 2608
<h1>thunderchez</h1>
Libraries for [https://github.com/cisco/ChezScheme|Chez Scheme] productivity
Be sure to put thunderchez path on your library path,
By example:
<verbatim>
(library-directories "/path/to/thunderchez")
</verbatim>
or set the `CHEZSCHEMELIBDIRS` environment variable:
<verbatim>
CHEZSCHEMELIBDIRS=/path/to/thunderchez
</verbatim>
Checkout: You'll need [https://www.fossil-scm.org|fossil]
<verbatim>
fossil clone https://pizzahack.eu/fossil/miogui miogui.fossil
mkdir miogui && fossil open ../miogui.fossil
</verbatim>
To follow news subscribe to [https://pizzahack.eu/fossil/thunderchez/timeline.rss|RSS feed]
<h2>SRFI</h2>
[https://github.com/dharmatech/surfage/|Based on surfage] with minor changes
<verbatim>
(import (srfi s1 lists))
(import (srfi s13 strings))
(import (srfi s14 char-sets))
etc...
</verbatim>
<h2>Fmt</h2>
Original site(http://synthcode.com/scheme/fmt/)
<verbatim>
(import (fmt fmt))
(import (fmt fmt-c))
(import (fmt fmt-js))
</verbatim>
<h2>Matchable</h2>
Based on [http://wiki.call-cc.org/eggref/4/matchable|matchable egg]
<verbatim>
(import (matchable))
</verbatim>
<h2>Sqlite3</h2>
Based partially on chicken [http://wiki.call-cc.org/eggref/4/sqlite3|sqlite3 egg] but slightly different. Needs some testing.
<verbatim>
(import (sqlite3))
</verbatim>
<h2>USB</h2>
[http://libusb.info|Library website]
<verbatim>
(import (usb))
</verbatim>
<h2>SDL2</h2>
[http://www.libsdl.org|Library website]
<verbatim>
(import (sdl2))
</verbatim>
<h2>Cairo</h2>
[http://www.cairographics.org|Library website]
<verbatim>
(import (cairo))
</verbatim>
See test.ss(./cairo/test.ss) for examples
<h2>Json parser</h2>
Uses lalr(./lalr/lalr.ss)
<verbatim>
(import (json))
(string->json "{ \"name\" : \"my-name\" , \"age\" : 120 , \"children\" : { \"name\" : \"my-son\", \"age\" : 1 }, { \"name\" : \"my-son2\", \"age\" : 2 } }" )
=> ((name . "my-name")
(age . 120)
(children .
#(((name . "my-son") (age . 1))
((name . "my-son2") (age . 2)))))
</verbatim>
<h2>NanoMsg</h2>
[http://www.nanomsg.org|Library website]
<verbatim>
(import (nanomsg))
</verbatim>
<h3>Some tests from nanomsg-examples(https://github.com/dysinger/nanomsg-examples)</h3>
* pipeline(./nanomsg/pipeline)
* reqrep(./nanomsg/reqrep)
* pair(./nanomsg/pair)
* pubsub(./nanomsg/pubsub)
* bus(./nanomsg/bus)
* survey(./nanomsg/survey)
Z 0f4e29d0a27443d6a3201a3a48057b3e