Artifact Content
Not logged in

Artifact abe8ee645643b451c50a8955d99015dee0e36382:

Wiki page [Thunderchez] by aldo 2016-09-04 20:06:11.
D 2016-09-04T20:06:11.317
L Thunderchez
P a93cf184f3833766817e56936a80cf98688ca13a
U aldo
W 2959
<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/thunderchez thunderchez.fossil
mkdir thunderchez && cd thunderchez && fossil open ../thunderchez.fossil
</verbatim>



You can also download the latest code as a tarball: [https://pizzahack.eu/fossil/miogui/tarball/thunderbird-latest.tar.gz|thunderbird-latest.tar.gz]

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 [/doc/tip/cairo/test.ss|test.ss] for examples

<h2>Json parser</h2>
Uses [/doc/tip/lalr/lalr.ss|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 [https://github.com/dysinger/nanomsg-examples]</h3>
  *  [/doc/tip/nanomsg/bus|bus]
  *  [/doc/tip/nanomsg/pair|pair]
  *  [/doc/tip/nanomsg/pipeline|pipeline]
  *  [/doc/tip/nanomsg/pubsub|pubsub]
  *  [/doc/tip/nanomsg/reqrep|reqrep]
  *  [/doc/tip/nanomsg/survey|survey] 

  *  [/doc/tip/nanomsg/remote-repl|remote-repl]
  *  [/doc/tip/nanomsg/local-repl|local-repl]



Z 3ece2a5de3e9f1fcebd85ac4a6f05362