Re: Add method implementations to proxy

2010-11-16 Thread Liam
More information from Rich himself about "update-proxy" when he first introduced it. Could not find examples for you except from the Joy of Clojure book on page 273, but it is very trivial... just like the doc string sounds. http://groups.google.com/group/clojure/browse_thread/thread/ed1652132dfa6

Re: Add method implementations to proxy

2010-11-16 Thread Liam
Would this help? http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/update-proxy -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are mode

Re: Standard Practice for a Canned Lexer, Parser, Analyzer?

2010-01-29 Thread Liam
Roberto and Alex, thanks for your feedback. This is informative. I appreciate your perspectives & links. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are

Re: Standard Practice for a Canned Lexer, Parser, Analyzer?

2010-01-29 Thread Liam
Hello Laurent, Thank you very much for your answers and maintaining CCW. I was partially encouraged to use Eclipse (a while back) due to the existence of CCW (or clojure-dev as it was then). I wrote: […] sophisticated syntax based evaluation or inferences from “cold code” [...] not node. This is

Standard Practice for a Canned Lexer, Parser, Analyzer?

2010-01-28 Thread Liam
Could someone educate me about what developers normally do when faced with having to create a lexer / parser / analyzer, say for clojure? Why would people go with a canned solution, i.e. ready-made like soup out of a can, instead of by hand? E.g. why did the Counterclockwise Eclipse plug-in for C

Re: What is “CtorReader” in LispReader.java?

2009-12-29 Thread Liam
Sean, thanks. -- Chouser. Thank you very much. Vestigial, I suppose means: surpassed or left behind as you explained below. Thanks for your deep insights. On Dec 27, 8:21 pm, Chouser wrote: > On Sun, Dec 27, 2009 at 3:29 PM, Liam wrote: > > In the clojure source, on the JVM side, un

What is “CtorReader” in LispReader.java?

2009-12-27 Thread Liam
In the clojure source, on the JVM side, under "lang/LispReader.java" line 873, link below. What is this CtorReader? Why isn't it referenced anywhere in the code file, i.e. no reader macro? Does someone know? http://code.google.com/p/clojure/source/browse/trunk/src/jvm/clojure/lang/LispReader.ja

Re: Embedding a REPL

2009-12-08 Thread Liam
sole, but either I'm doing it wrong or > that doesn't work for some reason. > > Any ideas? > > I love this simple approach, I didn't have to munge hardly any code (I > had been traveling down the "replace :read and :print and :prompt > and :flush and..."

Re: Embedding a REPL

2009-12-07 Thread Liam
I think the following is “looked down upon” or “discouraged“, but I managed to sift through how clojure itself handles its own stuff in java and I came up with the following. Say, that you want to set *out*, *in*, and *err* in clojure to something from Java before starting a REPL. Here is how I pa