Re: newbie struggling with Clooj and jars

2012-03-27 Thread Arthur Edelstein
Hi Phil, On Friday, March 23, 2012 3:57:28 PM UTC-7, Phil Hagelberg wrote: > > Arthur Edelstein writes: > > > In clooj + lein, there are three steps to adding a jar to a project. > > 1. Edit the project.clj file to include the artifact in the project's > > depen

Re: newbie struggling with Clooj and jars

2012-03-23 Thread Arthur Edelstein
Hi vet, In clooj + lein, there are three steps to adding a jar to a project. 1. Edit the project.clj file to include the artifact in the project's dependencies 2. Go to the command line and type "lein deps" 3. Go back to clooj and choose the menu item REPL > Restart Restarting the REPL loads all

Re: Really loving Clooj but..

2012-01-04 Thread Arthur Edelstein
Hi Erlis, Just to confirm: there currently aren't any built-in tracing or other special debugging capabilities in clooj. tools.trace is quite cool, though. Arthur -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to

Re: Clooj is great :)

2011-12-29 Thread Arthur Edelstein
Hi Timothy, Thank you! I really appreciate your comments. I must admit there is still much left to be done on clooj and I haven't had much time to work on it of late. I thank everyone for their patience. Cheers, Arthur -- You received this message because you are subscribed to the Google Grou

Re: suggestion for clojure development

2011-09-28 Thread Arthur Edelstein
> I think that clojure/core team is doing its best to ensure backward > compatibility and break it only when there are prevalent reasons to do > it. So what's the plan for the future? Are there plans to make clojure stable at some point so that backward compatibility can be expected? Otherwise I a

Re: suggestion for clojure development

2011-09-27 Thread Arthur Edelstein
> When you're selecting a library to solve a particular problem, you > normally have to do some research and evaluate more than one library > so, for me, the activity of the project and software versions > supported are part of that necessary research. I can't imagine "just > using" some random lib

Re: suggestion for clojure development

2011-09-27 Thread Arthur Edelstein
On Sep 27, 4:43 pm, Sean Corfield wrote: > On Tue, Sep 27, 2011 at 4:28 PM, Brian Marick wrote: > > I think "is it actively maintained?" is not a particularly interesting > > question for a community. The question is: "is this a useful library?" > > Then: "is the original author maintaining it?

suggestion for clojure development

2011-09-27 Thread Arthur Edelstein
Dear Everyone, I would like to make a suggestion for the future of Clojure, and hopefully prompt a discussion. My comment comes as a result of my experience trying to port code to 1.3. I have run into numerous problems, most of which come from 1.3's incompatibilities with my 1.2- targeted code and

Re: Reload/Reimport Java Class

2011-08-27 Thread Arthur Edelstein
Hi Asim, In the clooj IDE, you can invoke the "Restart REPL" menu command and your class will be reloaded. (Every time the REPL is "restarted," a new classloader is created and the old one is discarded. Note that restarting the REPL does not destroy your namespace mappings. It is necessary to crea

Re: JSON library for clojure 1.3

2011-08-08 Thread Arthur Edelstein
Hi Stuart, I've added a JIRA ticket (CLJ-826). Thanks, Arthur On Aug 7, 7:19 am, Stuart Sierra wrote: > Hi Arthur, > > I think thos would make a reasonable addition. If you'll make a JIRA ticket > in the backlog, I'll see if I can push it forward. Ultimately, it will be > Rich's decision, of co

Re: JSON library for clojure 1.3

2011-08-06 Thread Arthur Edelstein
>From clojure.contrib.string 1.2, I have found myself using drop, take, and butlast. (These are more than just wrappers for String/substring, because they behave nicely when indices exceed the string length.) I like these methods in part because they match the behavior of corresponding sequence met

Re: JSON library for clojure 1.3

2011-08-01 Thread Arthur Edelstein
On Aug 1, 7:34 pm, Vincent wrote: > how can i test using clooj ide... will lein deps, then run clooj allow me > test in repl window Yes, please give it a try. Any jar in the lib directory (as typically deposited by lein or cake) should be available on the classpath. After calling lein deps, you w

Re: JSON library for clojure 1.3

2011-08-01 Thread Arthur Edelstein
Similar question: where is clojure.contrib.string for 1.3? There are a lot of useful functions in clojure.contrib.string that aren't in clojure.string 1.3. Thanks! :) Arthur On Aug 1, 5:57 am, Stuart Sierra wrote: > clojure.contrib.json has been continued as > clojure.data.json:https://github.

Re: clojurescript interop problems

2011-08-01 Thread Arthur Edelstein
On Aug 1, 12:45 pm, Arthur Edelstein wrote: > > Wasn't Rich trying to come up with a solution which could be retrofitted > > into Clojure ? > > I was trying to see how to avoid having to change anything in Clojure > proper. In the strategy I'm humbly suggesting,

Re: clojurescript interop problems

2011-08-01 Thread Arthur Edelstein
> Wasn't Rich trying to come up with a solution which could be retrofitted > into Clojure ? I was trying to see how to avoid having to change anything in Clojure proper. In the strategy I'm humbly suggesting, the syntax from Clojure could work as-is. Just use same the dot notation (as in Clojure,

Re: clojurescript interop problems

2011-08-01 Thread Arthur Edelstein
> > > One option is (. target :slot), possibly with the not-so-great (.:slot > > > target) as well. > > > Why not simply (target :slot) and (:slot target) as one means of > > (:slot target) would do what, when facing an object which implements the > Associative interface ? Here's what I was trying

Re: clojurescript interop problems

2011-08-01 Thread Arthur Edelstein
> One option is (. target :slot), possibly with the not-so-great (.:slot   > target) as well. Why not simply (target :slot) and (:slot target) as one means of accessing field values. Then you can still have clojure's traditional (.x target) execute when x is a function object and return x's value

Re: ClojureScript

2011-07-22 Thread Arthur Edelstein
Hi Christopher, > We plan to have a recording of tonight's talk posted soon. I'm looking forward to seeing it. Thanks! :) Arthur -- 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

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Arthur Edelstein
Hi Dave, > Cool project, especially if it manages to *stay* lightweight :) Thanks -- I hope it will! :) > * You might want to take a look at JSyntaxPane > (https://code.google.com/p/jsyntaxpane/) for the editor. In theory > adding Clojure syntax highlighting should be straightforward and they >

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Arthur Edelstein
> FWIW I just double-clicked on the clooj jar and it launched like any other > application -- I didn't have to know that it was a jar or even what a jar is. > Assuming that this also works on other OSes (I'm using Mac OS X) then I think > this is already beginner friendly. I *think* it also incl

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> But please, please, please DON'T ABANDON THIS PROJECT. I'll do my best to hang on. :) > Thinking~~: > - Maybe we need CLOOJ or something similar for .NET as well. David > Miller's work should be rewarded with a CLOOJ of it's own. > - A webstart version. > - I hope that we don't start to see hun

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
This is a very helpful discussion -- I'm going to think about tabs on the hammock. On Jul 18, 8:06 pm, Ken Wesson wrote: > On Mon, Jul 18, 2011 at 5:14 PM, abp wrote: > > Why is it necessary to press TAB at all? Couldn't auto-indent be the > > default for a line and only manually reindented line

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
ve also started a Google group for anyone who wants to continue discussing clooj: http://groups.google.com/group/clooj - Arthur Edelstein On Jul 18, 12:03 am, Arthur Edelstein wrote: > Hi Everyone, > > I want to let you know about clooj, a small, simple IDE for clojure > that I have

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Shantanu, > Just wanted to highlight that both Emacs Clojure-mode and Eclipse/ > CounterClockWise use TAB to auto-indent the current line correctly. > So, I guess the expectation would be likewise for the respective > proportion of Clojure users. Though of course the key bindings should > be re

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Timothy, Thanks for your message. > I don't know if it has been mentioned yet, but I'm not getting > error-output in the REPL. If I type > > (println foo) > > then do CTRL+E > > I see the REPL spit out the lines I entered, then nothing... I don't know why are aren't getting an error message.

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> I use TAB. Just about the only file type I edit for which it doesn't > do this are Makefiles. C/C++, Clojure/Lisp, O'Caml source files, etc, > I use TAB in Emacs and expect it do make the current line indented > appropriately, whether I'm at the beginning, end or in the middle of > the line. I ca

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> Yes, it does say that now that I'm checking again, I must have missed > it the first time around. I just confused it with a regular file > dialog box. My feeling about a different style dialog box stands, Thanks for pointing it out; I'll try to fix that. > I'm much, much more > interested in a

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> Not sure if I'm not misunderstanding the initial creating of a > project, but it seems to me that I am using a file dialog box for a > directory selection. As it wasn't entirely clear what it expected me > to do at that point, I just typed in some name without knowing for > sure if it was suppose

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> One of my biggest complaints against larger IDE's is trying > to get them to look at the lein classpaths. Getting the same result in > my repl as I get by doing "lein run" would be awesome. That's more or less what I've been attempting to do, but I need to check carefully that I have covered the

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> Another kick-ass feature would be first-class integration with > Leiningen (and likewise, with Cake) - you can discover the list of > commands using the "lein" command without any args. Once you discover > the command names you can display it in a menu. When a user clicks one > of those menu ite

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> > The REPL input is the lower right pane. I think I should add some > > labels on each pane. > > Ah yes -- now I see it and that works fine. Thanks also to Adam Burry for > pointing this out. As Tamreen Khan noted it's a little confusing that there's > a prompt in the upper pane while input can

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Tamreen, On Jul 18, 5:38 am, Tamreen Khan wrote: > It's a little confusing to see what's normally the text for the prompt, > "user=>", be in the window that shows the result. Why can't both the prompt > and the results be shown in the same area? That is a good point. I wanted a multi-line edi

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
On Jul 18, 3:16 am, Florian Over wrote: > Hmm, good idea > but somehow i can't save ... > It always says "Oops" "Unable to save file" > When i'm at home i will give it another try. Hi Florian, There are two requirements: 1. You need to have a project open, in a writable directory. 2. You need to

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Lee, > Tab moves it to the right, shift-tab moves it to the left, but is there a > way to say "move it to the correct place A very good point -- added to the clooj github issues. > - I just created a new project and I get a user prompt in the REPL pane but I > can't type anything into tha

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Florian, > but somehow i can't save ... > It always says "Oops" "Unable to save file" Sorry, you need to choose "File > New" first, or open a project with existing source files. I will try to fix this issue soon. -- You received this message because you are subscribed to the Google Groups "C

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
On Jul 18, 2:31 am, Shantanu Kumar wrote: > This is so cool. Any chance you can use Laurent Petit's > Paredit?https://github.com/laurentpetit/paredit.clj Thanks, that's a very interesting idea. Perhaps, if Laurent doesn't mind! :) > Any roadmap for features? Syntax highlight, autocomplete etc

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> Yep, this is great! How about syntax highlighting? Thanks, good suggestion! I'm not a huge fan of most syntax highlighting -- what do you think would be helpful but unobtrusive? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
tinue further development. Feedback of all kinds and code contributions are much appreciated! :) Arthur Edelstein San Francisco -- clooj, a lightweight IDE for clojure --- the application clooj is a small, simple IDE (integrated development environment) for the clojure programming language.

"meta" bytecode redundancy?

2010-10-21 Thread Arthur Edelstein
Hi Everyone, I have a question about an apparent redundancy in clojure's generated class files. Out of curiosity I was inspecting the core class files using the Java Decompiler JD-GUI. For example, here is the decompiled version of core$dec.class (the implementation of the dec function): package