Changes between Version 1 and Version 2 of Clojure Client Tutorial


Ignore:
Timestamp:
Aug 1, 2011 8:34:38 PM (13 years ago)
Author:
kedwar10
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clojure Client Tutorial

    v1 v2  
    3535Now 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.
    3636
    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]]
     38which: 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]]
     39REPL started; server listening on localhost:2192. [[BR]]
    4040client.core=>
    4141
    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
     42Note 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
     44client.core=> (doc run-ioquake)[[BR]]
     45client.utilities/run-ioquake[[BR]]
    4646([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]]
    4848nil
    4949