mo is an attempt to copy node.js's architecture based on guile and libuv. On top of guile and libuv, have a fun to program in scheme in a platform like node.js. User will benefit from both scheme language features and asynchronous IO.
This tool is incomplete and under heavy development.
Download source code from github:
git clone git://github.com/wehu/mo.git
cd mo
./configure
make
make install
See test/test_http.mo
:
(require-mo "http" 'http)
(http/start-server "0.0.0.0" 8080
(lambda (req resp)
(hashq-set! resp 'body "<b>hello world!</b>")
resp))
Run example:
mo test/test_http.mo
See APIs.md