Permalink
Browse files

Removal of antlr, towards tokenization via parsley

  • Loading branch information...
1 parent a8d869f commit 11f89b843709654c0e55670fa6e461f6f72a933a @laurentpetit laurentpetit committed Aug 14, 2011
Showing with 903 additions and 4,761 deletions.
  1. +196 −0 WIP-code-completion.patch
  2. +1 −1 ccw.branding/META-INF/MANIFEST.MF
  3. +3 −0 ccw.core/.settings/ccw.repl.cmdhistory.prefs
  4. +2 −7 ccw.core/META-INF/MANIFEST.MF
  5. +48 −0 ccw.core/TODO
  6. +36 −22 ccw.core/plugin.xml
  7. +30 −44 ccw.core/src/ccw/CCWPlugin.java
  8. +3 −3 ccw.core/src/ccw/ClojureCore.java
  9. +3 −3 ccw.core/src/ccw/StaticScanContext.java
  10. +2 −1 ccw.core/src/ccw/builder/ClojureBuilder.java
  11. +1 −1 ccw.core/src/ccw/builder/ClojureVisitor.java
  12. +6 −6 ccw.core/src/ccw/compile.clj
  13. +0 −78 ccw.core/src/ccw/editors/antlrbased/ClojureTokenScannerFactory.java
  14. +0 −40 ccw.core/src/ccw/editors/antlrbased/TokenData.java
  15. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/AbstractHyperlinkDetector.java
  16. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/BasicClojureEditorActionContributor.java
  17. +1 −1 ccw.core/src/ccw/editors/{rulesbased → clojure}/ClojureColorManager.java
  18. +2 −2 ccw.core/src/ccw/editors/{rulesbased → clojure}/ClojureDocumentProvider.java
  19. +7 −8 ccw.core/src/ccw/editors/{antlrbased/AntlrBasedClojureEditor.java → clojure/ClojureEditor.java}
  20. +2 −2 ccw.core/src/ccw/editors/{antlrbased → clojure}/ClojureEditorMessages.java
  21. 0 ccw.core/src/ccw/editors/{antlrbased → clojure}/ClojureEditorMessages.properties
  22. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/ClojureFormat.clj
  23. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/ClojureHyperlink.clj
  24. +4 −4 ccw.core/src/ccw/editors/{antlrbased → clojure}/ClojureHyperlinkDetector.clj
  25. +1 −1 ccw.core/src/ccw/editors/{rulesbased → clojure}/ClojurePartitionScanner.java
  26. +1 −1 ccw.core/src/ccw/editors/{rulesbased → clojure}/ClojurePartitioner.java
  27. +2 −2 ccw.core/src/ccw/editors/{antlrbased → clojure}/ClojureProposalProcessor.java
  28. +11 −4 ccw.core/src/ccw/editors/{antlrbased → clojure}/ClojureSourceViewer.java
  29. +12 −14 ccw.core/src/ccw/editors/{antlrbased → clojure}/ClojureSourceViewerConfiguration.java
  30. +246 −0 ccw.core/src/ccw/editors/clojure/ClojureTokenScanner.java
  31. +58 −0 ccw.core/src/ccw/editors/clojure/ClojureTokenScannerFactory.java
  32. +88 −0 ccw.core/src/ccw/editors/clojure/ClojureTopLevelFormsDamager.clj
  33. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/CompileLibAction.java
  34. +28 −21 ccw.core/src/ccw/editors/{antlrbased → clojure}/EditorSupport.clj
  35. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/EvaluateTextUtil.java
  36. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/EvaluateTopLevelSExpressionAction.java
  37. +13 −11 ccw.core/src/ccw/editors/{antlrbased → clojure}/FormatAction.java
  38. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/GotoMatchingBracketHandler.java
  39. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/GotoNextMemberAction.java
  40. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/GotoPreviousMemberAction.java
  41. +2 −2 ccw.core/src/ccw/editors/{antlrbased → clojure}/IClojureEditor.java
  42. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/IClojureEditorActionDefinitionIds.java
  43. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/IHyperlinkConstants.java
  44. +3 −3 ccw.core/src/ccw/{utils/editors/antlrbased → editors/clojure}/IScanContext.java
  45. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/LoadFileAction.java
  46. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/PareditAutoEditStrategy.clj
  47. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/RunTestsAction.java
  48. +4 −4 ccw.core/src/ccw/editors/{antlrbased → clojure}/SameWordHighlightingCaretListener.java
  49. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/SelectTopLevelSExpressionAction.java
  50. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/SelectionHistory.java
  51. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/SourceRange.java
  52. +1 −1 ccw.core/src/ccw/editors/{antlrbased → clojure}/StacktraceHyperlink.clj
  53. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/SwitchNamespaceAction.java
  54. +11 −7 ccw.core/src/ccw/{utils/editors/antlrbased → editors/clojure}/TokenScannerUtils.java
  55. +11 −9 ccw.core/src/ccw/editors/{antlrbased → clojure}/Tokens.java
  56. +3 −3 ccw.core/src/ccw/editors/{antlrbased → clojure}/handlers.clj
  57. +3 −3 ccw.core/src/ccw/editors/outline/ClojureOutlinePage.java
  58. +0 −77 ccw.core/src/ccw/editors/rulesbased/ClojureCodeScanner.java
  59. +0 −25 ccw.core/src/ccw/editors/rulesbased/ClojureWordDetector.java
  60. +0 −59 ccw.core/src/ccw/editors/rulesbased/SexpRule.java
  61. +0 −2,758 ccw.core/src/ccw/lexers/ClojureLexer.java
  62. +0 −1,252 ccw.core/src/ccw/lexers/ClojureParser.java
  63. +5 −5 ccw.core/src/ccw/preferences/SyntaxColoringPreferencePage.java
  64. +1 −1 ccw.core/src/ccw/reload_clojure.clj
  65. +2 −2 ccw.core/src/ccw/{outline → repl}/NamespaceBrowser.java
  66. +8 −9 ccw.core/src/ccw/repl/REPLView.java
  67. +0 −26 ccw.core/src/ccw/utils/editors/antlrbased/AntlrBasedPartitionScanner.java
  68. +0 −189 ccw.core/src/ccw/utils/editors/antlrbased/AntlrBasedTokenScanner.java
  69. +3 −3 ccw.debug/plugin.xml
  70. +1 −8 ccw.feature/feature.xml
  71. +1 −1 ccw.support.examples/src/ccw/support/examples/labrepl/wizards/LabreplCreationOperation.clj
View
@@ -0,0 +1,196 @@
+From 77ce677aa977413a9b138409358cf91a0f51bfb5 Thu, 26 May 2011 23:44:44 +0200
+From: Laurent Petit <laurent.petit@gmail.com>
+Date: Tue, 13 Jul 2010 15:31:11 +0200
+Subject: [PATCH] WIP
+
+diff --git a/ccw.core/src/ccw/debug/serverrepl.clj b/ccw.core/src/ccw/debug/serverrepl.clj
+index d2ce121..af09db9 100644
+--- a/ccw.core/src/ccw/debug/serverrepl.clj
++++ b/ccw.core/src/ccw/debug/serverrepl.clj
+@@ -94,11 +94,26 @@
+ [prefix]
+ (filter #(splitted-match prefix (str %) ["\\."]) (all-ns)))
+
+-(defn code-complete [ns-str prefix only-publics]
+- (when-let [nss (matching-ns ns-str)]
++(def man nil)
++(defn- matching-aliased-ns
++ "seq of aliased namespaces which match the prefix
++ clojure.co matches clojure.core, ...
++ c.c also matches clojure.core, ..."
++ [cur-ns-str prefix]
++ (let [al-map (ns-aliases (the-ns (symbol cur-ns-str)))]
++ (map
++ (fn [[al-name al-ns]] al-ns)
++ (filter
++ (fn [[al-name al-ns]] (splitted-match prefix (str al-name) ["\\."]))
++ al-map))))
++
++(defn code-complete [cur-ns-str ns-str prefix only-publics]
++ (when-let [nss (clojure.set/union
++ (set (matching-ns ns-str))
++ (when (seq ns-str)
++ (set (matching-aliased-ns cur-ns-str prefix))))]
+ (let [search-fn (if only-publics ns-publics ns-map)
+- ns-symbols (fn [ns] (search-fn ns))
+- symbols (mapcat ns-symbols nss)]
++ symbols (mapcat search-fn nss)]
+ (into [] (map (fn [[k v]] [k (str v) (if (var? v) (var-info v) nil)])
+ (filter #(or (.startsWith (first %) prefix)
+ (splitted-match prefix (first %) ["-"]))
+@@ -126,4 +141,4 @@
+ (= "null" qualified-ns) ((symbol s) (ns-map (the-ns (symbol current-ns))))
+ a (ns-resolve a (symbol s))
+ :else (resolve (symbol qualified-ns s))))
+- [:ns :name :line :file]))))
+\ No newline at end of file
++ [:ns :name :line :file]))))
+diff --git a/ccw.core/src/ccw/editors/antlrbased/ClojureProposalProcessor.java b/ccw.core/src/ccw/editors/antlrbased/ClojureProposalProcessor.java
+index 37e6cb2..c36018d 100644
+--- a/ccw.core/src/ccw/editors/antlrbased/ClojureProposalProcessor.java
++++ b/ccw.core/src/ccw/editors/antlrbased/ClojureProposalProcessor.java
+@@ -73,6 +73,8 @@
+ public final boolean fullyQualified;
+ public final String nsPart;
+ public final String symbolPrefix;
++ public final String currentNamespace;
++
+ public PrefixInfo(final IClojureEditor editor, final String prefix, final int prefixOffset) {
+ this.prefix = prefix;
+ this.prefixOffset = prefixOffset;
+@@ -86,6 +88,7 @@
+ symbolPrefix = prefix;
+ fullyQualified = false;
+ }
++ currentNamespace = editor.findDeclaringNamespace();
+ }
+ }
+
+@@ -191,7 +194,7 @@
+ private List<ICompletionProposal> computeClojureFullyQualifiedSymbolsProposals(PrefixInfo prefixInfo) {
+ final List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>();
+
+- final List<List> dynamicSymbols = dynamicComplete(prefixInfo.nsPart,
++ final List<List> dynamicSymbols = dynamicComplete(prefixInfo.currentNamespace, prefixInfo.nsPart,
+ prefixInfo.symbolPrefix, editor, prefixInfo.fullyQualified); //parse(doc.get());
+ // Add dynamic completion proposals
+ for (List l: dynamicSymbols) {
+@@ -222,7 +225,7 @@
+ private List<ICompletionProposal> computeClojureSymbolsProposals(PrefixInfo prefixInfo) {
+ final List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>();
+
+- final List<List> dynamicSymbols = dynamicComplete(prefixInfo.nsPart,
++ final List<List> dynamicSymbols = dynamicComplete(prefixInfo.currentNamespace, prefixInfo.nsPart,
+ prefixInfo.symbolPrefix, editor, prefixInfo.fullyQualified); //parse(doc.get());
+ // Add dynamic completion proposals
+ for (List l: dynamicSymbols) {
+@@ -319,6 +322,7 @@
+ }
+ proposals.add(new MethodLazyCompletionProposal(
+ (IMethod) match.getElement(),
++ null,
+ methodPrefix,
+ prefixInfo.prefixOffset + 1, null,
+ editor));
+@@ -362,6 +366,7 @@
+ public AbstractLazyCompletionProposal lazyCompletionProposal(PrefixInfo prefixInfo, IClojureEditor editor, SearchMatch match) {
+ return new MethodLazyCompletionProposal(
+ (IMethod) match.getElement(),
++ null,
+ prefixInfo.nsPart + "/" + prefixInfo.symbolPrefix,
+ prefixInfo.prefixOffset, editor.findDeclaringNamespace(),
+ editor);
+@@ -377,6 +382,7 @@
+ public AbstractLazyCompletionProposal lazyCompletionProposal(PrefixInfo prefixInfo, IClojureEditor editor, SearchMatch match) {
+ return new ClassLazyCompletionProposal(
+ (IType) match.getElement(),
++ null,
+ prefixInfo.prefix,
+ prefixInfo.prefixOffset, editor.findDeclaringNamespace(),
+ editor);
+@@ -392,6 +398,7 @@
+ public AbstractLazyCompletionProposal lazyCompletionProposal(PrefixInfo prefixInfo, IClojureEditor editor, SearchMatch match) {
+ return new PackageLazyCompletionProposal(
+ (IPackageFragment) match.getElement(),
++ null,
+ prefixInfo.prefix,
+ prefixInfo.prefixOffset, editor.findDeclaringNamespace(),
+ editor);
+@@ -480,6 +487,7 @@
+ private final String prefix;
+ private final int prefixOffset;
+ private final String ns;
++ private final String currentNamespace;
+ private final IClojureEditor editor;
+ private String displayString;
+ private CompletionProposal completionProposal;
+@@ -510,7 +518,7 @@
+ } else {
+ List<List> dynamicSymbols =
+ (ns!= null)
+- ? dynamicComplete(ns, methodTypeName, editor, false)
++ ? dynamicComplete(currentNamespace, ns, methodTypeName, editor, false)
+ : null;
+
+ if (dynamicSymbols != null) {
+@@ -555,7 +563,8 @@
+ return completionProposal;
+ }
+
+- public AbstractLazyCompletionProposal(IMethod method, String methodPrefix, int methodPrefixOffset, String ns, IClojureEditor editor) {
++ public AbstractLazyCompletionProposal(IMethod method, String currentNamespace, String methodPrefix, int methodPrefixOffset, String ns, IClojureEditor editor) {
++ this.currentNamespace = currentNamespace;
+ this.method = method;
+ this.prefix = methodPrefix;
+ this.prefixOffset = methodPrefixOffset;
+@@ -595,8 +604,8 @@
+ }
+
+ private static class MethodLazyCompletionProposal extends AbstractLazyCompletionProposal {
+- public MethodLazyCompletionProposal(IMethod method, String methodPrefix, int methodPrefixOffset, String ns, IClojureEditor editor) {
+- super(method, methodPrefix, methodPrefixOffset, ns, editor);
++ public MethodLazyCompletionProposal(IMethod method, String currentNamespace, String methodPrefix, int methodPrefixOffset, String ns, IClojureEditor editor) {
++ super(method, currentNamespace, methodPrefix, methodPrefixOffset, ns, editor);
+ }
+ public Image getImage() {
+ return CCWPlugin.getDefault().getImageRegistry().get(CCWPlugin.PUBLIC_FUNCTION);
+@@ -649,8 +658,8 @@
+ return completionProposal;
+ }
+
+- public ClassLazyCompletionProposal(IType method, String methodPrefix, int methodPrefixOffset, String ns, IClojureEditor editor) {
+- super(null, methodPrefix, methodPrefixOffset, ns, editor); // TODO vraiment nulle comme technique !
++ public ClassLazyCompletionProposal(IType method, String currentNamespace, String methodPrefix, int methodPrefixOffset, String ns, IClojureEditor editor) {
++ super(null, currentNamespace, methodPrefix, methodPrefixOffset, ns, editor); // TODO vraiment nulle comme technique !
+ this.method = method;
+ this.prefix = methodPrefix;
+ this.prefixOffset = methodPrefixOffset;
+@@ -698,8 +707,8 @@
+ return completionProposal;
+ }
+
+- public PackageLazyCompletionProposal(IPackageFragment method, String methodPrefix, int methodPrefixOffset, String ns, IClojureEditor editor) {
+- super(null, methodPrefix, methodPrefixOffset, ns, editor); // TODO vraiment nulle comme technique !
++ public PackageLazyCompletionProposal(IPackageFragment method, String currentNamespace, String methodPrefix, int methodPrefixOffset, String ns, IClojureEditor editor) {
++ super(null, currentNamespace, methodPrefix, methodPrefixOffset, ns, editor); // TODO vraiment nulle comme technique !
+ this.method = method;
+ this.prefix = methodPrefix;
+ this.prefixOffset = methodPrefixOffset;
+@@ -725,7 +734,7 @@
+ }
+ return false;
+ }
+- private static List<List> dynamicComplete(String namespace, String prefix, IClojureEditor editor, boolean findOnlyPublic) {
++ private static List<List> dynamicComplete(String currentNamespace, String namespace, String prefix, IClojureEditor editor, boolean findOnlyPublic) {
+ if (namespace == null) {
+ return Collections.emptyList();
+ }
+@@ -737,7 +746,7 @@
+ if (repl == null) return Collections.emptyList();
+ Connection connection = repl.getToolingConnection();
+
+- Response response = connection.send("(ccw.debug.serverrepl/code-complete \"" + namespace + "\" \"" + prefix + "\" " + (findOnlyPublic ? "true" : "false") + ")");
++ Response response = connection.send("(ccw.debug.serverrepl/code-complete \"" + currentNamespace + "\" \"" + namespace + "\" \"" + prefix + "\" " + (findOnlyPublic ? "true" : "false") + ")");
+ return (List<List>) extractSingleValue(response, Collections.emptyList());
+ }
+ private List<List> dynamicNamespaceComplete(String prefix) {
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Counterclockwise Plugin
Bundle-SymbolicName: ccw.branding;singleton:=true
-Bundle-Version: 0.3.0.STABLE002
+Bundle-Version: 0.3.1.I003
Bundle-ActivationPolicy: lazy
Bundle-Vendor: Counterclockwise team
Require-Bundle: org.eclipse.help
@@ -0,0 +1,3 @@
+#Wed Jul 20 15:56:58 CEST 2011
+cmdhistory=["(def e1 [{\:a 1 \:b \\"b\\" \:c 300 }{\:a 2 \:b \\"a\\" \:c 500 }])\\r\\n(def e2 [{\:a 1 \:d \\"blah\\"}{\:a 2 \:d \\"blah2\\"}])" "(map merge e1 e2)" "(def toto.titi \\"salut\\")" "toto.titi" "user/toto.titi" "toto.titi" "\#'toto.titi" "@\#'toto.titi" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\EditorSupport.clj" "(doc delay)" "(doc add-watch)" "(def d (delay nil))" "(add-watch d \:toto identity)" "(def f (future \\"foo\\"))" "(add-watch f \:future identity)" "(macroexpand '(let [toto] titi))" "(macroexpand '(let [toto tutu] titi))" "(macroexpand '\#(let [toto tutu] titi))" "(doc delay)" "(true? true)" "(true? \\"\\")" "(doc future)" "(compile 'ccw.editors.antlrbased.PareditAutoEditStrategy)" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\EditorSupport.clj" "(binding [*compile-path* \\"C\:\\\\Users\\\\Laurent\\\\var\\\\projects\\\\ccw\\\\ccw.core\\\\classes\\", *compile-files* true] (compile 'ccw.editors.antlrbased.EditorSupport))" "(binding [*compile-path* \\"C\:/Users/Laurent/var/projects/ccw/ccw.core/classes\\", *compile-files* true] (compile 'ccw.editors.antlrbased.EditorSupport))" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\EditorSupport.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\PareditAutoEditStrategy.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\EditorSupport.clj" ";; Loading file src\\\\paredit\\\\parser.clj" ";; Loading file src\\\\net\\\\cgrand\\\\parsley\\\\lrplus.clj" ";; Loading file src\\\\net\\\\cgrand\\\\parsley.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\ClojureFormat.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\ClojureHyperlink.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\ClojureHyperlinkDetector.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\ClojureHyperlink.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\ClojureHyperlinkDetector.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\EditorSupport.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\handlers.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\StacktraceHyperlink.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\ClojureHyperlink.clj" ";; Loading file src\\\\paredit\\\\parser.clj" ";; Switching to paredit.parser namespace" "(def d [\\"(salut\\" \\" les c\\" \\"opa\\" \\"ins)\\"])" ";; Switching to paredit.parser namespace" "(dser-ser-inc d)" "(def d (var-get \#'user/d))" "d" "(def d (var-get \#'user/d))" "(dser-ser-inc d)" ";; Loading file src\\\\paredit\\\\parser.clj" ";; Switching to paredit.parser namespace" "(dser-ser-inc d)" ";; Loading file test\\\\paredit\\\\tests.clj" ";; Switching to paredit.tests namespace" "(pts)" "(sexp \\"toto\\")" ";; Loading file src\\\\paredit\\\\parser.clj" ";; Switching to paredit.parser namespace" "(sexp \\"toto\\")" "(sexp \\"()\\")" ";; Loading file src\\\\net\\\\cgrand\\\\parsley\\\\lrplus.clj" ";; Loading file src\\\\net\\\\cgrand\\\\parsley\\\\fold.clj" "(sexp \\"\\")" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\EditorSupport.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\PareditAutoEditStrategy.clj" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\ClojureFormat.clj" "(doc assert)" "*assert*" ";; Loading file src\\\\ccw\\\\editors\\\\antlrbased\\\\EditorSupport.clj" ";; Loading file src\\\\paredit\\\\parser.clj" ";; Switching to paredit.parser namespace" "(edit-buffer nil 0 0 \\"coucou\\")" "(edit-buffer *1 0 0 \\"coucou\\")" "(-> sexp p/incremental-buffer (p/edit 0 0 \\"123\\"))" "(-> sexp p/incremental-buffer (p/edit 0 0 \\"123\\") (p/edit 0 3 \\"\\"))" "(-> sexp p/incremental-buffer (p/edit 0 0 \\"123\\") (p/edit 0 3 nil))" "(-> sexp p/incremental-buffer (p/edit 0 0 \\"123\\") p/parse-tree)" "(-> sexp p/incremental-buffer (p/edit 0 0 \\"yo man\\") p/parse-tree)" "(-> sexp p/incremental-buffer (p/edit 0 0 \\"yo() man\\") p/parse-tree)" "(-> sexp p/incremental-buffer (p/edit 0 0 \\"yo() man\\") (p/edit 0 0 \\"c\\") p/parse-tree)" ";; Loading file src\\\\net\\\\cgrand\\\\parsley\\\\fold.clj" ";; Loading file src\\\\paredit\\\\parser.clj" ";; Switching to paredit.parser namespace" "(sexp \\"salut\\")" ";; Switching to paredit.parser namespace" "(sexp \\"salut\\")" "(sexp \\"salut)\\")" "(sexp \\"(salut||)|\\")" "(sexp \\"(salut||)|]]]]]\\")" ";; Loading file test\\\\paredit\\\\tests.clj" ";; Switching to paredit.tests namespace" "(pts)" ";; Loading file test\\\\paredit\\\\tests.clj" ";; Switching to paredit.tests namespace" "(pts)" "(pprint (sexp \\"foo3 bar baz\\"))" "(defprotocol Addable\\r\\n (add-fields [this]))" "(defrecord MyRecord [a b])" "(doc extend-type)" "(extend-type MyRecord\\r\\n Addable\\r\\n (add-fields [this] (+ a b)))" "(extend-type MyRecord\\r\\n Addable\\r\\n (add-fields [this] (+ (this a) (this b))))" "(extend-type MyRecord\\r\\n Addable\\r\\n (add-fields [this] (+ (this \:a) (this \:b))))" "(defn indirect-adder [a b]\\r\\n (add-fields (MyRecord. a b)))" "(indirec-adder 1 2)" "(indirect-adder 1 2)" "(extend-type MyRecord\\r\\n Addable\\r\\n (add-fields [this] (+ (\:a this) (\:b this))))" "(indirect-adder 1 2)" "(binding [add-fields (fn [_] \\"hello\!\\")] (indirect-adder 1 2))" ";; Switching to paredit.parser namespace" "(sexp \\"]\\")" "(def a (ref {\:document nil}))" "a" "@a" "(dosync (alter a assoc \:document \:d))" "a" "@a" ";; Loading file src\\\\paredit\\\\parser.clj"]
+eclipse.preferences.version=1
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Counterclockwise Clojure Plug-in
Bundle-SymbolicName: ccw.core;singleton:=true
-Bundle-Version: 0.3.0.STABLE002
+Bundle-Version: 0.3.1.I003
Bundle-Localization: plugin
Bundle-Activator: ccw.CCWPlugin
Require-Bundle: org.eclipse.ui,
@@ -16,7 +16,6 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.ui.console,
org.eclipse.ui.editors,
org.eclipse.jface.text,
- org.antlr.runtime;bundle-version="3.0.0",
org.eclipse.ui.views,
org.eclipse.core.filesystem,
org.eclipse.core.expressions,
@@ -37,15 +36,11 @@ Export-Package: ccw,
ccw.actions,
ccw.builder,
ccw.debug,
- ccw.editors.antlrbased,
+ ccw.editors.clojure,
ccw.editors.outline,
- ccw.editors.rulesbased,
ccw.launching,
- ccw.lexers,
- ccw.outline,
ccw.preferences,
ccw.util,
- ccw.utils.editors.antlrbased,
ccw.wizards
Bundle-ActivationPolicy: lazy
Oops, something went wrong.

0 comments on commit 11f89b8

Please sign in to comment.