0
I Use This!
Inactive

Commits : Listings

Analyzed about 20 hours ago. based on code collected about 20 hours ago.
Jul 27, 2024 — Jul 27, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Added Leiningen/swank-clojure project file. More... over 15 years ago
Renamed clojure-web.clj to clojure_web.clj to comply with clojure namespace/ package/filename conventions, so that clojure_web.clj can be dropped in the classpath and subsequently the clojure-web name space can be loaded More... over 15 years ago
changed namespace back to plain old clojure-web (makes it easier to just drop clojure_web.clj into the classpath by itself rather than having to put it in the directory structure neccessitated by the ie.vdm.clojure-web namespace More... over 15 years ago
Renamed namespace to ie.vdm.clojure-web, changed html representation of a var More... over 15 years ago
Changed html-var from a multimethod to a normal function (multimethod dispatching on type of var not neccessary (yet/ever) More... over 15 years ago
Worked on html-var, now it outputs a vars name, metadata map, and source code in html form with a link to the namespace of the var More... over 15 years ago
Renamed linked-meta-map to format-meta-map and renamed some of the bindings in that function More... over 15 years ago
A little bit of cleaning up, also changed ns-get so that the urls it generates are encode properly (using urlencode) More... over 15 years ago
Further work on linked-meta-map (now knows about :doc metadata), also worked on html-map which prints a hashmap as a html definition list (<dl>) More... over 15 years ago
Got linked-meta-map working More... over 15 years ago
Working on linked-meta-map More... over 15 years ago
working on html-var More... over 15 years ago
Completed first go at urls for namespaces allowing and defined var to be browsed to More... over 15 years ago
Changed html-history-item so that history items are now displyed in html table Began adding a new route to display all namespaces More... over 15 years ago
Added photos of initial design documents authored in vinny's house. They are pen and paper mock ups of what the web repl should look like (design1.jpg & design2.jpg) and and idea for a url scheme (design3.jpg) More... over 15 years ago
Arggh, couldn't move repl-with and repl-post alt out of the way without causing errors, so just deleted them, after all, what is git for? More... over 15 years ago
Fixed error caused by previous commit More... over 15 years ago
Moved currently unused functions repl-with and repl-post-alt to the top of the source file More... over 15 years ago
Added doc string to read-eval function (and refactored the code slightly) More... over 15 years ago
repl-post now captures the anything that read & eval write to *out* & *err* in strings and passes that output back in the http response More... over 15 years ago
Cleaned up code (removed an unused function) More... over 15 years ago
Added functionality so that a history of expressions previously evaluated by the web repl is displayed at /repl (underneath the form where expressions are entered). The results of the expressions are also displayed More... over 15 years ago
Added better doc strings to some functions More... over 15 years ago
Gives two ways of handling a web read eval loop. repl-post does it using the read & eval functions directly. This approach is straight forward, but all the other logic/behaviour provide by the clojure.main/repl function would have to be recreated somehow. repl-post-alt attempts to use the clojure.main/repl function directly by rewiring *in* *out* and *err* to strings that can be extracted from the html requests coming in (in the case of *in*) or added to html responses going out (in the cases of *out* & *err*). At the moment every request results in a new call to clojure.main/repl, which means for starters *1, *2 etc don't work. Ideally *in* *out* and *err* should be rebound to some sort of piped streams (java.io.piped(in|out)stream) that would persist between html requests. I think this might also mean that the call to clojure.main/repl would have to happen on a thread (since it would block while waiting to read input on the pipe). Unfortunately java streams are a pain in the hole. More... over 15 years ago
first commit More... over 15 years ago