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