Nikhil Marathe avatar Nikhil Marathe committed e6fc94d

Moved README and marked it as markdown to get bitbucket to render

Comments (0)

Files changed (2)

+-*- markdown -*-
+
+newLISP-redis
+=============
+
+newLISP-redis allows newLISP scripts to access the (http://code.google.com/p/redis)[Redis] key-value store.
+
+Build
+-----
+Just drop the redis.lsp file into your working directory or directly invoke it with
+
+    (load "/path/to/newlisp-redis/redis.lsp")
+
+To generate documentation just run
+
+    make
+
+or `newlispdoc redis.lsp`
+
+Usage
+-----
+
+1) Load the module
+
+    (load "/path/to/newlisp-redis/redis.lsp")
+
+2) Create a connection
+
+    (setf 'conn (redis))
+
+3) Call commands
+
+    (:ping conn) => "PONG"
+    (:set "key" "value") => "OK"
+    (:del "key") => 1
+
+newLISP-redis will aim to have one-to-one mappings to (http://code.google.com/p/redis/wiki/CommandReference)[Redis commands], so you can invoke any command with the same arguments that Redis accepts.
+
+Since the commands themselves are automatically generated they don't have documentation.
+
+Commands return values in the newLISP equivalent types:
+
+    status code replies => string
+    error reply => string
+    integer reply => integer
+    bulk reply => string
+    multi-bulk reply => list ( Redis sets are returned as lists too )
+

README.md

-newLISP-redis
-=============
-
-newLISP-redis allows newLISP scripts to access the (http://code.google.com/p/redis)[Redis] key-value store.
-
-Build
------
-Just drop the redis.lsp file into your working directory or directly invoke it with
-
-    (load "/path/to/newlisp-redis/redis.lsp")
-
-To generate documentation just run
-
-    make
-
-or `newlispdoc redis.lsp`
-
-Usage
------
-
-1) Load the module
-
-    (load "/path/to/newlisp-redis/redis.lsp")
-
-2) Create a connection
-
-    (setf 'conn (redis))
-
-3) Call commands
-
-    (:ping conn) => "PONG"
-    (:set "key" "value") => "OK"
-    (:del "key") => 1
-
-newLISP-redis will aim to have one-to-one mappings to (http://code.google.com/p/redis/wiki/CommandReference)[Redis commands], so you can invoke any command with the same arguments that Redis accepts.
-
-Since the commands themselves are automatically generated they don't have documentation.
-
-Commands return values in the newLISP equivalent types:
-
-    status code replies => string
-    error reply => string
-    integer reply => integer
-    bulk reply => string
-    multi-bulk reply => list ( Redis sets are returned as lists too )
-
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.