Changes between Version 1 and Version 2 of Clojure Client Tutorial
- Timestamp:
- Aug 1, 2011 8:34:38 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Clojure Client Tutorial
v1 v2 35 35 Now it is time to learn to use the client. cd to the top level directory and typu "lein repl". If everything went smoothly you'll see something about no rlwrap and the prompt. 36 36 37 $ lein repl 38 which: no rlwrap in (/usr/staff/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/bin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/bin/X11:/usr/gfx:/usr/local/bin:/usr/sbin:/usr/ucb:/usr/bsd:/usr/vision/bin:/usr/grads/bin:/usr/java/bin:/u/kedwar10/bin:/home/vax7/u21/kedwar10/Software/cake/bin:/home/vax7/u21/kedwar10/Software:/home/vax7/u21/kedwar10/Software/LPG-td-1.0/:/home/vax7/u21/kedwar10/Software/q3map2/) 39 REPL started; server listening on localhost:2192. 37 $ lein repl[[BR]] 38 which: no rlwrap in (/usr/staff/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/bin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/bin/X11:/usr/gfx:/usr/local/bin:/usr/sbin:/usr/ucb:/usr/bsd:/usr/vision/bin:/usr/grads/bin:/usr/java/bin:/u/kedwar10/bin:/home/vax7/u21/kedwar10/Software/cake/bin:/home/vax7/u21/kedwar10/Software:/home/vax7/u21/kedwar10/Software/LPG-td-1.0/:/home/vax7/u21/kedwar10/Software/q3map2/)[[BR]] 39 REPL started; server listening on localhost:2192. [[BR]] 40 40 client.core=> 41 41 42 You can launch ioquake with a specific map using the "ioquake" (located in utilities.clj). Type (doc ioquake) to see the documentation.43 44 client.core=> (doc run-ioquake) 45 client.utilities/run-ioquake 42 Note that the "core" namespace has loaded. You can launch ioquake with a specific map using the "ioquake" (located in utilities.clj). Type (doc ioquake) to see the documentation. 43 44 client.core=> (doc run-ioquake)[[BR]] 45 client.utilities/run-ioquake[[BR]] 46 46 ([level] [path level]) 47 This function launches ioquake with the specified level, if the path to ioquake is hardcoded into this function, type '(run-ioquake <level>)' where <level> is a map in the maps folder of ioquake, else you must provide the path. 47 This function launches ioquake with the specified level, if the path to ioquake is hardcoded into this function, type '(run-ioquake <level>)' where <level> is a map in the maps folder of ioquake, else you must provide the path.[[BR]] 48 48 nil 49 49