sublimetext2 - Common Lisp: Hunchentoot and the REPL - When I start the server I get log output in the REPL and can't use the REPL any more -


like few of askers on here, i'm new lisp. i'm going through practical common lisp book, took sidestep see how easy set web app, i've been following this tutorial, updated version here.

so i'm sorry if dumb question, when point start server, repl dies, , can't push onto *dispatch-table*.

so basically, have code working great in repl, adding objects list, retrieving them, etc., start server using

(setf *web-server* (start (make-instance 'hunchentoot:acceptor :port 8080))) 

which works great, , can access on http://localhost:8080. when access it, logs print repl , i'm unable point use repl. example, following adam petersen's post, can't

(push (create-prefix-dispatcher "/retro-games.htm" 'retro-games) *dispatch-table*) 

because repl unresponsive. i've tried starting server different windows (i.e. sbcl in terminal) it's unaware of context i'm in - doesn't understand package i'm working on or of code.

i'm using non-standard setup; i'm on osx , using sublime text 2 sublimerepl , sbcl (because i'm not emacs , st2 great!). i've described how put here - i'm posting in case, i'd surprised if it's setup causing problems opposed basic thing i'm missing.

anyway, understand go ahead , set hunchentoot in more production-like environment, , have seen posts detailing , accessing repl remotely, hoping there simpler messing around i've missed.

thanks can give :)

make sure sbcl compiled thread support. when running single-threaded, hunchentoot request handling loop not return repl.

threading not default setting in binaries http://www.sbcl.org/ mac os x. on mac os x, download sbcl.org binaries started, download sources , rebuild ./make.sh --fancy number of fancy features, including threads. see install document in sources details.


Comments