# HG changeset patch # User Robert McIntyre # Date 1323658737 25200 # Node ID 1579e83305d7c5d4578f86eaa1b0107e1f6148ef # Parent 073974145f9052fdabb766d8e145b6ed310b7ed8 new and better perl script diff -r 073974145f90 -r 1579e83305d7 clojure_completions --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clojure_completions Sun Dec 11 19:58:57 2011 -0700 @@ -0,0 +1,1576 @@ +find-thread +*thread-map-next-id* +*thread-map* +thread-map-id +decode-message +swank-protocol-error +print-object +dispatch-message +*log-events* +register-dispatch +rpc-fn-map +*log-output* +log-event +encode-message +rename-keys +union +select +project +superset? +join +subset? +intersection +map-invert +difference +rename +index +symbol-macrolet +with-symbol-macros +defsymbolmacro +mexpand +mexpand-1 +deftemplate +mexpand-all +macrolet +separate +rec-seq +indexed +partition-by +rec-cat +fill-queue +frequencies +shuffle +reductions +seq-on +rotations +partition-all +group-by +positions +includes? +find-first +flatten +rand-elt +compile-pattern +extract-variables-from-pattern +all-zip +compile-matches +class-name? +bound-variable-name +compile-top-level-match +wrap-code? +compile-list +variable-binding? +extract-variables-list-from-matches +deep-count +with-gensyms +swank.util.io.proxy$java.io.StringWriter$0 +read-chars +call-on-flush-stream +print-help +with-command-line +make-map +dothread +start-thread +thread-name +thread-id +thread-alive? +dothread-keeping +thread-set-name +current-thread +dothread-keeping-clj +nulary-type +nary-type +root-type +nary-dispatch +open-url-in-browser +*open-url-script* +open-url-in-swing +browse-url +sh +*sh-env* +with-sh-env +with-sh-dir +*sh-dir* +cdf-t +correlation-linearity-test +normalized-kendall-tau-distance +t-test +pdf-f +cdf-exp +odds-ratio +pdf-normal +manhattan-distance +quantile-normal +sum-of-square-devs-from-mean +rank-index +quantile-t +tabulate +variance +chisq-test +pdf-neg-binomial +detabulate +mahalanobis-distance +dice-coefficient-str +cdf-gamma +quantile +cdf-beta +pairings +lee-distance +sample +damerau-levenshtein-distance +square-devs-from-mean +pdf-poisson +bigrams +sample-mvn +pdf-exp +principal-components +product-marginal-test +sorensen-index +sample-uniform +sample-t +levenshtein-distance +sample-inv-wishart +n-grams +discordant-pairs +covariance +kendalls-tau +sample-exp +sample-multinomial +spearmans-rho +sample-gamma +mean +cumulative-mean +pdf-gamma +jaccard-index +cdf-poisson +cdf-uniform +permute +skewness +pdf-binomial +cdf-binomial +sample-dirichlet +cosine-similarity +median +cdf-empirical +gamma-coefficient +cdf-normal +dice-coefficient +indicator +simple-regression +sample-poisson +cdf-chisq +sample-permutations +pdf-chisq +pdf-uniform +sample-beta +cdf-f +predict +auto-correlation +hamming-distance +pdf-t +pairs +discordant? +kendalls-tau-distance +minkowski-distance +concordant? +sum-variance-test +within +pdf-beta +sweep +kendalls-w +linear-model +tanimoto-coefficient +correlation-ratio +sample-normal +bootstrap +cdf-neg-binomial +sample-neg-binomial +correlation +jaccard-distance +sd +kurtosis +euclidean-distance +sample-wishart +chebyshev-distance +sample-binomial +sample-chisq +make-connection +write-to-connection +encoding-map +with-connection +read-from-connection +*default-encoding* +*current-connection* +*inspectee* +assign-index +*inspectee-content* +label-value-line +inspector-content +inspect-frame-var +value-part +inspect-meta-information +*inspectee-actions* +inspectee-title +inspect-object +inspector-reinspect +inspect-nth-part +*inspectee-parts* +ref-pop +action-part +ns-refers-by-ns +inspector-nth-part +inspector-pop +init-inspector +inspector-call-nth-action +quit-inspector +reset-inspector +inspector-next +*inspector-stack* +emacs-inspect +inspector-range +inspect-in-emacs +describe-inspectee +*inspector-history* +label-value-line* +content-range +print-part-to-string +formatter-out +formatter +*print-radix* +get-pretty-writer +clojure.pprint.proxy$java.io.Writer$0 +*print-miser-width* +*print-pprint-dispatch* +clojure.pprint.proxy$java.io.Writer$IDeref$db53459f +write +write-out +simple-dispatch +pprint-indent +cl-format +code-dispatch +pprint +*print-suppress-namespaces* +fresh-line +*print-right-margin* +*print-pretty* +pp +with-pprint-dispatch +*print-base* +pprint-newline +pprint-logical-block +set-pprint-dispatch +pprint-tab +megadef +defn-decorated +not-implemented +get-current-ns +silence +sh +*sh-env* +with-sh-env +with-sh-dir +*sh-dir* +command-line? +close-socket! +make-server-socket +close-server-socket! +start-server-socket! +walk +prewalk-demo +postwalk-demo +keywordize-keys +stringify-keys +prewalk +postwalk +postwalk-replace +macroexpand-all +prewalk-replace +read-properties +with-system-properties +file +as-str +as-properties +delete-file +write-properties +as-file +wall-hack-method +get-system-property +wall-hack-field +set-system-properties +as-url +delete-file-recursively +relative-path-string +preserve-meta +pretty-pr-code +undef +current-directory +rlm +reload +file-re +keymap-normal +ns-nuke-old +ns-reset +keymap-clojure +ns-reset-fn +ns-nuke +swank-require +rlm +magic-file +identify +map-keys +filter-keys +map-vals +filter-vals +sort-map-by +static-methods +static-fields +member-static? +member-name +instance-methods +defunbound- +name-with-attributes +defmacro- +defn-memo +defhinted +defunbound +defonce- +defvar- +defalias +defvar +defnk +defstruct- +deep-merge-with +safe-get-in +safe-get +lazy-get +user-home-path +get-pid +deftype +constructor-form +defadt +match +deftype- +deconstruct +repl-exception +repl-caught +load-script +skip-whitespace +skip-if-eol +repl-read +with-bindings +repl-prompt +repl +main +combinations +permutations +cartesian-product +selections +lex-permutations +subsets +operator-arglist +swank-macroexpand-1 +untrace-all +create-repl +frame-locals-for-emacs +who-specializes +quit-thread-browser +xref +describe-function +interactive-eval +toggle-debug-on-swank-error +kill-nth-thread +swank-toggle-trace +traced-fn-map +pprint-eval +describe-definition-for-emacs +locals-for-emacs +source-location-for-frame +compile-file-for-emacs +listener-eval +eval-and-grab-output +frame-locals-and-catch-tags +throw-to-toplevel +swank.commands.basic.proxy$clojure.lang.LineNumberingPushbackReader$0 +frame-source-location +sldb-abort +list-threads +swank-macroexpand +find-definitions-for-emacs +frame-source-location-for-emacs +documentation-symbol +set-default-directory +frame-catch-tags-for-emacs +list-all-package-names +set-package +swank-macroexpand-all +invoke-nth-restart-for-emacs +describe-symbol +buffer-first-change +interactive-eval-region +connection-info +backtrace +debugger-info-for-emacs +quit-lisp +*compiler-exception-location-re* +load-file +compile-string-for-emacs +apropos-list-for-emacs +who-calls +sldb-continue +eval-string-in-frame +invoke-restart +macroexpand-all +macroexpand-all* +sw +sum +tan +atan +sqrt +bind-columns +$data +to-dummies +$join +quit +copy +decomp-eigenvalue +to-dataset +$rollup +regularized-beta +condition +cumulative-sum +save +plus +beta +grid-apply +minus +gamma +decomp-svd +query-dataset +$= +decomp-qr +get-categories +$ +abs +to-vect +factorial +view +incomplete-beta +matrix +nrow +rank +$order +half-vectorize +choose +symmetric-matrix +deshape +$where +query-to-pred +sum-of-squares +trans +to-labels +div +get-input-stream +dataset? +categorical-var +log +conj-rows +sq +det +conj-cols +dataset +atan2 +trace +solve-quadratic +to-map +log10 +kronecker +$group-by +dim +set-data +vectorize +decomp-lu +length +identity-matrix +sel +mult +to-list +get-input-reader +pow +sin +solve +diag +data-table +$fn +to-levels +group-on +asin +prod +bind-rows +log2 +acos +with-data +decomp-cholesky +col-names +matrix-map +exp +cos +mmult +to-matrix +matrix? +ncol +$map +fn-match +defn-match +cond-match +if-match +when-match +potential-classes +simple-completions +potential-static +potential-dot +potential-var-public +potential-var +resolve-class +potential-ns +potential-completions +potiential-classes-on-path +calculate-restarts +eval-from-control +eval-in-emacs-package +maybe-ns +eval-for-emacs +*current-package* +doall-seq +with-emacs-package +*protocol-version* +send-repl-results-to-emacs +cause-restart-for +sldb-loop +break +*pending-continuations* +control-loop +*debug-quit-exception* +*sldb-initial-frames* +with-env-locals +exception-stacktrace +*debug-abort-exception* +read-loop +add-restart-if +thread-for-evaluation +eval-loop +send-to-emacs +*current-env* +*debug-continue-exception* +make-restart +*sldb-restarts* +spawn-worker-thread +local-bindings +format-restarts-for-emacs +*sldb-level* +invoke-debugger +spawn-repl-thread +find-or-spawn-repl-thread +add-cause-restarts +exception-causes +dothread-swank +dispatch-event +*debug-swank-clojure* +debugger-condition-for-emacs +*sldb-stepping-p* +sldb-debug +build-debugger-info-for-emacs +*active-threads* +local-non-functions +*current-exception* +build-backtrace +with-package-tracking +*connections* +slime-secret-path +setup-server +simple-announce +announce-port-to-file +start-swank-socket-server! +sorted-map +read-line +re-pattern +keyword? +val +chunked-seq? +find-protocol-impl +vector-of +object-array +*compile-path* +max-key +list* +ns-aliases +clojure.core.proxy$clojure.lang.APersistentMap$0 +booleans +the-ns +== +chunk-buffer +longs +special-form-anchor +shorts +instance? +syntax-symbol-anchor +format +sequential? +fn? +empty +bound-fn +dorun +time +remove-method +gensym +not= +*3 +unchecked-multiply +doseq +bit-or +aset-byte +if-not +hash-set +add-watch +unchecked-dec +some +nil? +string? +boolean-array +second +letfn +keys +for +*2 +long-array +pop-thread-bindings +error-mode +cond +bit-set +spit +find-protocol-method +fn +sorted? +short-array +ns-unalias +ns-publics +EMPTY-NODE +char-array +dosync +all-ns +long +with-open +init-proxy +add-classpath +false? +await1 +true? +gen-interface +sync +short +ns-unmap +repeat +zipmap +distinct +get-in +bit-xor +char-escape-string +complement +let +get-validator +dotimes +ref-max-history +print-namespace-doc +*ns* +promise +defmethod +pop! +derive +aset-float +extend +-reset-methods +lazy-cat +commute +defstruct +with-in-str +partition-by +rem +odd? +symbol? +*print-level* +*allow-unresolved-vars* +thread-bound? +proxy-call-with-super +ns-interns +re-matches +split-with +munge +find-doc +loop +future-done? +next +import +deliver +symbol +vals +print-doc +select-keys +re-matcher +rand +deref +unchecked-inc +*math-context* +read +sequence +make-hierarchy ++ +number? +assoc! +descendants +into-array +last +unchecked-negate +integer? +defrecord +*read-eval* +alter +prn +with-meta +with-out-str +floats +* +*compile-files* +when-not +butlast +- +->> +reversible? +rseq +send-off +seq? +refer-clojure +identical? +.. +print +vary-meta +with-loading-context +agent-error +*command-line-args* +bit-flip +zero? +bit-and +unquote-splicing +future +re-groups +*warn-on-reflection* +newline +replicate +keep-indexed +char? +distinct? +remove-ns +ratio? +xml-seq +vec +concat +update-in +vector +with-bindings* +conj +bases +/ +unchecked-add +ref-set +assoc +seque +aset-char +boolean +read-string +neg? +float-array +doubles +isa? +future-call +doto +extends? +remove-watch +print-str +*e +ref-history-count +rsubseq +*flush-on-newline* +*out* +future? +vector? +split-at +chunk-cons +ns-refers +create-struct +proxy-super +int-array +float +assert +map +counted? +memfn +double-array +accessor +*print-length* +frequencies +chars +class? +rand-int +*1 +aset-short +prn-str +iterate +chunk-append +when-first +slurp +restart-agent +mapcat +assoc-in +get-thread-bindings +special-symbol? +ref +conj! +find-var +inc +future-cancel +definline +bound-fn* +unchecked-subtract +ns-name +shuffle +defn- +*file* +re-find +bit-not +construct-proxy +ref-min-history +destructure +seq +intern +pvalues +to-array-2d +sorted-map-by +filter +*clojure-version* +var? +alter-meta! +comment +key +class +re-seq +-cache-protocol-fn +ns +empty? +test +print-dup +create-ns +name +list? +aset +nnext +doall +extenders +macroexpand-1 +not-any? +resultset-seq +reductions +into +with-precision +*use-context-classloader* +transient +ffirst +bit-clear +proxy-name +extend-type +load-reader +or +hash +print-ctor +associative? +float? +drop-last +replace +decimal? +defn +parents +map? +prefers +numerator +condp +quot +chunk-rest +file-seq +send +with-local-vars +reverse +with-bindings +count +get-proxy-class +set +when-let +comp +nth +byte +dissoc! +*err* +constantly +load +namespace +pr-str +< +rationalize +sort-by +cycle +peek +denominator +reduce +interleave +amap +-> +cons +macroexpand +var-set +str +aset-boolean +ns-imports +while +remove-all-methods +first +bean += +memoize +var-get +range +tree-seq +defmacro +set-validator! +aset-double +case +enumeration-seq +prefer-method +partition-all +ensure +find-ns +not-every? +struct-map +> +max +proxy-mappings +identity +ints +fnext +min-key +reset-meta! +push-thread-bindings +subs +compile +agent-errors +clear-agent-errors +printf +ns-resolve +method-sig +>= +shutdown-agents +reset! +even? +require +bit-shift-left +methods +future-cancelled? +compare +deftype +sorted-set-by +cast +namespace-munge +supers +pcalls +load-string +group-by +get +<= +await +resolve +bytes +print-method +bound? +loaded-libs +fnil +force +partial +pmap +if-let +comparator +pos? +char +take-while +extend-protocol +and +refer +underive +in-ns +iterator-seq +declare +ancestors +hash-combine +persistent! +locking +partition +map-indexed +contains? +update-proxy +interpose +chunk +aset-int +ifn? +definterface +load-file +delay +apply +swap! +defmulti +proxy +reify +subvec +byte-array +rest +keyword +ns-map +set-error-mode! +unquote +int +release-pending-sends +mod +bigdec +nfirst +nthnext +*agent* +aset-long +struct +array-map +bigint +dec +println +aget +pr +drop +clojure-version +*print-dup* +gen-class +eval +unchecked-remainder +aclone +char-name-string +pop +primitives-classnames +atom +defonce +bit-shift-right +delay? +num +disj +io! +*print-readably* +rational? +merge-with +take-nth +*print-meta* +double +lazy-seq +*in* +take-last +line-seq +take +when +areduce +set? +make-array +rand-nth +alias +use +juxt +alength +chunk-first +*source-path* +defprotocol +to-array +hash-map +bit-and-not +compare-and-set! +*assert* +type +repeatedly +trampoline +set-error-handler! +remove +find +coll? +drop-while +not-empty +flatten +print-special-doc +println-str +list +chunk-next +every? +satisfies? +flush +sort +dissoc +not +binding +doc +error-handler +get-method +agent +sorted-set +alter-var-root +merge +subseq +min +print-simple +bit-test +await-for +keep +disj! +meta +unchecked-divide +import-static +-main +enqueue +allowed-types +music +music-files +play-all-music +lefts +down +insert-left +up +next +path +children +vector-zip +append-child +zipper +branch? +end? +leftmost +edit +replace +insert-right +root +insert-child +prev +seq-zip +xml-zip +make-node +rights +node +right +left +remove +rightmost +*open-url-script* +browse-url +sh +*sh-env* +with-sh-env +with-sh-dir +*sh-dir* +visual +slime-fn +defslimefn +slime-fn-map +zero? +neg? +< += +> +max +>= +<= +pos? +min +source-fn +dir-fn +dir +apropos +clojure.repl.proxy$java.io.PushbackReader$0 +source +area-chart* +time-series-plot +get-series +set-x-label +box-plot +add-box-plot +add-categories +stacked-area-chart* +add-function* +scatter-plot* +set-y-range +set-stroke-color +stacked-bar-chart +bar-chart +add-histogram* +heat-map +set-title +xy-plot +clear-background +add-image +add-pointer +histogram* +add-points* +pie-chart +scatter-plot +dynamic-scatter-plot +add-subtitle +line-chart +set-theme-default +heat-map* +slider +function-plot +set-background-alpha +add-lines* +function-plot* +add-polygon +add-points +set-y-label +add-categories* +set-x-range +box-plot* +set-theme-bw +add-text +histogram +set-alpha +sliders +stacked-bar-chart* +pie-chart* +set-background-default +trace-plot +set-stroke +qq-plot +add-box-plot* +bar-chart* +xy-plot* +bland-altman-plot +add-function +add-lines +stacked-area-chart +area-chart +set-theme +dynamic-xy-plot +add-histogram +sliders* +line-chart* +ignore-protocol-version +-main +start-server +start-repl +dissoc +get +into +seq +assoc +conj +empty +available-classes +expand-wildcard +java-version +class-file? +top-level-class? +jar-file? +nested-class? +clojure-fn-file? +clojure-fn? +clojure-ns? +nested-class-file? +top-level-classes +top-level-class-file? +path-class-files +nested-classes +class-or-ns-name +scan-paths +clojure-ns-file? +swank.util.class_browse.proxy$java.lang.Object$FilenameFilter$d73a157b +defhook +run-hook +add-hook +throw-arg +throw-if-not +throw-if +throwf +ceil +lcm +gcd +round +floor +exact-integer-sqrt +abs +sqrt +expt +derivative +non-linear-model +gradient +integrate +hessian +largest-common-prefix +char-position +hhh +transform-with +make-matrix +is-matrix +combine-with +*byte-array-type* +spit +copy +*buffer-size* +append-spit +slurp* +with-in-reader +writer +*default-encoding* +make-parents +reader +write-lines +file-str +read-lines +to-byte-array +pwd +with-out-append-writer +*append-to-writer* +append-writer +with-out-writer +output-stream +copy +file +writer +as-relative-path +make-output-stream +make-parents +reader +default-streams-impl +delete-file +as-file +resource +input-stream +Coercions +make-input-stream +make-writer +as-url +make-reader +IOFactory +trim +lower-case +split +join +upper-case +trimr +split-lines +triml +replace +reverse +capitalize +escape +blank? +replace-first +trim-newline +read-dataset +emit-array-impls +arr-impl +InternalReduce +internal-reduce +ls +ns-clone +ns-clear +ns-clone-fn +*pre-reply-hook* +classpath +add-to-classpath +swank.commands.xref.proxy$java.io.PushbackReader$0 +all-vars-who-call +get +*mailboxes* +send +receive +clean +*remote-javadocs* +javadoc +*feeling-lucky* +add-remote-javadoc +*feeling-lucky-url* +*core-java-api* +add-local-javadoc +*local-javadocs* +admin +rsync-one +custom +push +destinations +judyates +config +genesis +bortreb +rsync +mit +rlmcintyre +rsync-string +moonlitnights +push-gen +laserkard +one +qsym +defmethod* +zero +/ +- +* ++ +chomp +replace-char +trim +lower-case +repeat +split +replace-str +as-str +butlast +map-str +join +swap-case +rtrim +upper-case +replace-by +codepoints +split-lines +replace-first-by +substring? +ltrim +reverse +docodepoints +dochars +get +replace-re +capitalize +escape +grep +blank? +partition +replace-first-re +drop +replace-first-str +chop +take +tail +add +sum +empty-sum +maximum +empty-maximum +empty-tuple +empty-counter +counter +acc-tuple +empty-vector +add-items +empty-map +empty-string +empty-queue +mean-variance +empty-mean-variance +minimum +empty-minimum +empty-set +combine +counter-with-total +empty-min-max +min-max +empty-counter-with-total +product +empty-product +empty-list +content-handler +*stack* +attrs +element +tag +startparse-sax +*current* +content +clojure.xml.proxy$java.lang.Object$ContentHandler$3f6d64b6 +*state* +parse +emit-element +*sb* +emit +resolve-ns +ns-path +unmunge +symbol-name-parts +mix-threads +defmix +runonce +mix +void +fmap +print-summary +*profile-data* +*enable-profiling* +prof +profile +summarize +with-profile-data +a +completions +immigrate +docs +get-ns +print-dir +print-docs +ns-vars +dir +vars +*local-javadocs* +add-local-javadoc +source +show +get-source +run* +*core-java-api* +expression-info +apropos +*feeling-lucky-url* +add-remote-javadoc +add-break-thread! +*feeling-lucky* +run +start-handling-break +break-threads +find-javadoc-url +javadoc +*remote-javadocs* +re-gsub +re-partition +chop +re-split +str-join +re-sub +chomp +read-swank-message +write-swank-message +read-fail-exception +deep-replace +find-first +keep-bindings +returning +one-of? +continuously +failing-gracefully +position +infix-to-prefix +formula ++highest-precedence+ ++translation-table+ +defop ++precedence-table+ diff -r 073974145f90 -r 1579e83305d7 repl.sh --- a/repl.sh Wed Oct 19 06:26:02 2011 -0700 +++ b/repl.sh Sun Dec 11 19:58:57 2011 -0700 @@ -1,4 +1,4 @@ #!/bin/sh -rlwrap --command clojure --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl +rlwrap --command clojure -f /home/r/.clojure_completions --complete-filenames --quote-characters='\"' --prompt-colour=yellow swank-all --repl diff -r 073974145f90 -r 1579e83305d7 swank-all.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/swank-all.pl Sun Dec 11 19:58:57 2011 -0700 @@ -0,0 +1,72 @@ +#!/usr/bin/perl + +@JVM_options = + ("-verbose:gc", + "-Xmn500M", + "-Xms3000M", + "-Xmx3000M", + "-server"); + +@classpath_projects = + ("/home/r/proj/rlm/src", + "/home/r/proj/curry/src", + "/home/r/java/lib/*", + "/home/r/proj/aurellem/src", + "/home/r/proj/pokemon-types/src", + "/home/r/proj/cortex/src", + "/home/r/proj/cortex/assets", + "/home/r/proj/abomination/src", + "/home/r/proj/abomination/classes", + "/home/r/proj/coderloop/src", + "/home/r/proj/audio-send/java/dist/audio-send.jar", + "/home/r/proj/audio-send/java/dist/audio-send-natives.jar", + "/home/r/proj/jmeCapture/dist/jmeCapture.jar" +); + +@classpath_libs = + ("/home/r/java/incanter/*", + "/home/r/java/enlive/src", + "/home/r/java/lp_solve-5.5/lib/lpsolve55j.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-core.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-desktop.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jbullet.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl-natives.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-lwjgl.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-testdata.jar", + "/home/r/proj/jMonkeyEngine3/dist/opt/jME3-tests.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-jogg.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-blender.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jME3-plugins.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/jbullet.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/lwjgl.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/vecmath.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-oggd.jar", + "/home/r/proj/jMonkeyEngine3/dist/lib/j-ogg-vorbisd.jar", + + ); + +@C_libs = + ("/home/r/java/lp_solve-5.5/lpsolve55/bin/ux64", + "/home/r/java/lp_solve-5.5-java/lib/ux64"); + + +$JVM_options = join " ", @JVM_options; +$classpath_projects = join ":", @classpath_projects; +$classpath_libs = join ":", @classpath_libs; +$C_libs = join ":", @C_libs; + +$clojure_launch ="clojure.main"; +$clojure_launch .= " -e "; +$clojure_launch .= '"'; +$clojure_launch .= "(do (require 'swank.swank)"; +$clojure_launch .= "(require 'rlm.rlm-commands)"; +$clojure_launch .= "(swank.swank/start-repl 4005))"; +$clojure_launch .= '"'; + +$command = "java ".$JVM_options." -cp ".$classpath_projects.":".$classpath_libs + ." -Djava.library.path=".$C_libs." ".$clojure_launch; + +print "$command\n"; + +system($command); + diff -r 073974145f90 -r 1579e83305d7 swank-all.sh --- a/swank-all.sh Wed Oct 19 06:26:02 2011 -0700 +++ b/swank-all.sh Sun Dec 11 19:58:57 2011 -0700 @@ -1,17 +1,18 @@ #!/bin/sh +cd /home/r/tmp + S_EXPR="" - if [ "$1" = "--repl" ]; then ACTION="--repl" else - S_EXPR="(do (require 'swank.swank)(swank.swank/start-repl 4005 ))" + S_EXPR="(do (require 'swank.swank)\ + (require 'rlm.rlm-commands)\ + (swank.swank/start-repl 4005 ))" ACTION=" -e " fi - - java \ \ `: # java VM options`\ @@ -52,14 +53,4 @@ `: # start the repl for clojure`\ \ clojure.main ${ACTION} "${S_EXPR}" -# clojure.main -e "(do (require 'swank.swank)(swank.swank/start-repl 4005 ))" - - - -# removed genesis stuff -#`: # Genesis Stuff.`\ -#/home/r/proj/Genesis/src:\ -#/home/r/proj/workspace/Gauntlet/binary:\ -#/home/r/proj/workspace/Clips/bin:\ -#/home/r/proj/workspace/Propagators/bin\