Changes To Thunderchez
Not logged in

Initial version of "Thunderchez"

            1  +<pre># thunderchez
            2  +Libraries for [Chez Scheme](https://github.com/cisco/ChezScheme) productivity
            3  +
            4  +Be sure to put thunderchez path on your library path,
            5  +
            6  +By example:
            7  +
            8  +
            9  +	(library-directories "/path/to/thunderchez")
           10  +
           11  +or set the CHEZSCHEMELIBDIRS environment variable:
           12  +	
           13  +	CHEZSCHEMELIBDIRS=/path/to/thunderchez
           14  +
           15  +## SRFI
           16  +	
           17  +Based on [surfage](https://github.com/dharmatech/surfage/) with minor changes
           18  +
           19  +	(import (srfi s1 lists))
           20  +	(import (srfi s13 strings))
           21  +	(import (srfi s14 char-sets))
           22  +	etc...
           23  +	
           24  +## Fmt
           25  +[Original site](http://synthcode.com/scheme/fmt/)
           26  +
           27  +	(import (fmt fmt)) 
           28  +	(import (fmt fmt-c)) 
           29  +	(import (fmt fmt-js)) 
           30  +	
           31  +
           32  +## Matchable
           33  +Based on [matchable egg](http://wiki.call-cc.org/eggref/4/matchable)
           34  +
           35  +	(import (matchable))
           36  +  
           37  +## Sqlite3
           38  +Based partially on chicken [sqlite3 egg](http://wiki.call-cc.org/eggref/4/sqlite3) but slightly different. Needs some testing.
           39  +
           40  +	(import (sqlite3))
           41  +
           42  +## USB
           43  +[Library website](http://libusb.info)
           44  +
           45  +	(import (usb))
           46  +  
           47  +## SDL2
           48  +
           49  +[Library website](http://www.libsdl.org)
           50  +  
           51  +	(import (sdl2))	
           52  +
           53  +## Cairo
           54  +[Library website](http://www.cairographics.org)
           55  +  
           56  +	(import (cairo))
           57  +	
           58  +See [test.ss](./cairo/test.ss) for examples
           59  +
           60  +## Json parser
           61  +Uses [lalr](./lalr/lalr.ss)
           62  +
           63  +	(import (json))
           64  +
           65  +	(string-&gt;json "{ \"name\" : \"my-name\" , \"age\" : 120 , \"children\" : [{ \"name\" : \"my-son\", \"age\" : 1 }, { \"name\" : \"my-son2\", \"age\" : 2 }] }" )
           66  +	=&gt; ((name . "my-name")
           67  +	    (age . 120)
           68  +	    (children .
           69  +                    #(((name . "my-son") (age . 1))
           70  +                      ((name . "my-son2") (age . 2)))))
           71  +
           72  +
           73  +## NanoMsg
           74  +[Library website](http://www.nanomsg.org)
           75  +
           76  +	(import (nanomsg))
           77  +
           78  +### Some tests from [nanomsg-examples](https://github.com/dysinger/nanomsg-examples)
           79  +  * [pipeline](./nanomsg/pipeline)
           80  +  * [reqrep](./nanomsg/reqrep)
           81  +  * [pair](./nanomsg/pair)
           82  +  * [pubsub](./nanomsg/pubsub)
           83  +  * [bus](./nanomsg/bus)
           84  +  * [survey](./nanomsg/survey)
           85  +
           86  +</pre>
           87  +
           88  +<p></p>