Permalink
Browse files

initial import

  • Loading branch information...
0 parents commit 5cd061ad8577d040a2dd30cdc0c9661ff69732fe @laurentpetit committed Dec 22, 2009
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="/home/lpetit/projects/test-area/workspace/paredit.clj/clojure.jar" sourcepath="/home/lpetit/projects/test-area/workspace/paredit.clj/clojure-src.jar"/>
+ <classpathentry kind="lib" path="/home/lpetit/projects/test-area/workspace/paredit.clj/clojure-contrib.jar" sourcepath="/home/lpetit/projects/test-area/workspace/paredit.clj/clojure-contrib-src.jar"/>
+ <classpathentry kind="lib" path="/home/lpetit/projects/test-area/workspace/paredit.clj/classes"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
@@ -0,0 +1,2 @@
+bin/
+classes/
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>paredit.clj</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>ccw.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>ccw.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
19 README
@@ -0,0 +1,19 @@
+The following work is released under the EPL.
+
+It is an attempt to rewrite paredit in clojure.
+
+The development will follow these steps:
+
+ * basic port of paredit.el to paredit/core.clj
+ * write of a comprehensive unit tests suite
+ * rewrite of paredit/core.clj to be idiomatic clojure code
+
+Differences from paredit:
+ * this library will concentrate on the core functionality of paredit, not the UI handling part.
+ * so I intend the basic interface to be along those lines:
+ a central function (or multifunction) whose signature will be
+ ([paredit-command [initial-text cursor-offset selection-length]])
+ and which will return either (not sure yet): [modified-text new-cursor-offset new-selection-length]
+ either [text-alteration* new-cursor-offset new-selection-offset] (with text-alteration being a vector of {:offset offset :length length :text text})
+
+But let's code and see what the future will be :-)
Oops, something went wrong.

0 comments on commit 5cd061a

Please sign in to comment.