Skip to content

Latest commit

 

History

History
executable file
·
39 lines (24 loc) · 716 Bytes

README.md

File metadata and controls

executable file
·
39 lines (24 loc) · 716 Bytes

mo

mo(re) = guile + libuv

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.

Build Instructions

Download source code from github:

git clone git://github.com/wehu/mo.git
cd mo
./configure
make
make install

Example

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

Documents

See APIs.md