Re: Clojure Code Analysis Tools

2008-12-11 Thread Peter Wolf
Hi Darren, Work continues. Merlyn has invited me to take over admin of the code. I have taken Merlyn's code as a base, and am fleshing it out. Currently, I am struggling though the lack of documentation and examples for building a custom language plugin. I have implemented a Lexer, and am

Re: Clojure Code Analysis Tools

2008-12-11 Thread [EMAIL PROTECTED]
On Dec 2, 4:52 pm, Peter Wolf <[EMAIL PROTECTED]> wrote: > > I vote that we take Merlyn's code as a base and put it on SourceForge.   > I'll add my Lexer and Parser and work on formatting, parens matching and > coloring.  Erik can add his REPL and completion stuff. > > However, I think it would be

Re: Clojure Code Analysis Tools

2008-12-02 Thread Dave Griffith
> Polite, certainly. But as ever, the bottom line is the license under > which it was released, and in this case that's the Apache License 2.0. > You should decide whether that's consistent with your intentions. It's worth noting that JetBrains has a history of including third- party plugins as

Re: Clojure Code Analysis Tools

2008-12-02 Thread Randall R Schulz
On Tuesday 02 December 2008 08:52, Peter Wolf wrote: > ... > > I vote that we take Merlyn's code as a base and put it on > SourceForge. I'll add my Lexer and Parser and work on formatting, > parens matching and coloring. Erik can add his REPL and completion > stuff. > > However, I think it would

Re: Clojure Code Analysis Tools

2008-12-02 Thread Peter Wolf
I just pulled the code down. While it's true that there is no implementation, Curious Bunny (merlyn) did an excellent job of making a minimal custom language plugin. This is something that is lacking in IntelliJ's own documentation. By making a trivial change to Curious's code I was able to c

Re: Clojure Code Analysis Tools

2008-12-02 Thread Thorsen Eric
We are working on a Netbeans plugin (.enclojure.org) and are currently working to isolate non-nb specific clojure-ide support code. We should have the basic libraries up this coming Monday. The code that is up there now has been following the changes in Clojure since February and is l

Re: Clojure Code Analysis Tools

2008-12-02 Thread Randall R Schulz
On Tuesday 02 December 2008 06:16, [EMAIL PROTECTED] wrote: > ... > > Just found this http://code.google.com/p/clojure-intellij-plugin/ - I > guess that's another one? Might be worth looking into working on that > rather than starting up a competitor. I retrieved the code. It is at best a skeleto

Re: Clojure Code Analysis Tools

2008-12-02 Thread Peter Wolf
Thanks, I strongly agree. I just emailed curious.attempt.bunny to join forces. Curious, are you out there? P [EMAIL PROTECTED] wrote: > On Dec 2, 12:54 pm, Peter Wolf <[EMAIL PROTECTED]> wrote: > >> Since the code doesn't exist yet, I'd have to say no... Like I said, >> I'm just getting

Re: Clojure Code Analysis Tools

2008-12-02 Thread [EMAIL PROTECTED]
On Dec 2, 12:54 pm, Peter Wolf <[EMAIL PROTECTED]> wrote: > Since the code doesn't exist yet, I'd have to say no...  Like I said, > I'm just getting started. > > How about I get the basic framework going so that IntelliJ knows about > CLJ files, and say paren matching works.  Then we can start a >

Re: Clojure Code Analysis Tools

2008-12-02 Thread Peter Wolf
Since the code doesn't exist yet, I'd have to say no... Like I said, I'm just getting started. How about I get the basic framework going so that IntelliJ knows about CLJ files, and say paren matching works. Then we can start a SourceForge project and others can implement the API for referenc

Re: Clojure Code Analysis Tools

2008-12-02 Thread [EMAIL PROTECTED]
On Dec 1, 4:11 pm, Peter Wolf <[EMAIL PROTECTED]> wrote: > > Since I plan to introduce Clojure into existing large Java projects, I want > to use a decent IDE.  So I am writing a Clojure plugin for my favorite-- > IntelliJ.  When I'm done I hope to offer a nice integrated environment > complete

Re: Clojure Code Analysis Tools

2008-12-01 Thread Randall R Schulz
On Monday 01 December 2008 08:44, Peter Wolf wrote: > Thanks Randall, > > If you go over to the IntelliJ plugin forums, you will see lots of me > struggling with the "Custom Language API". I'm still trying to get > the icons to change for CLJ files. So, please don't expect anything > soon. > > P

Re: Clojure Code Analysis Tools

2008-12-01 Thread Peter Wolf
Thanks Randall, If you go over to the IntelliJ plugin forums, you will see lots of me struggling with the "Custom Language API". I'm still trying to get the icons to change for CLJ files. So, please don't expect anything soon. P P.S. I have written the required Lexer and a Parser, however,

Re: Clojure Code Analysis Tools

2008-12-01 Thread Randall R Schulz
Hi, Peter, On Monday 01 December 2008 08:11, Peter Wolf wrote: > ... > > Since I plan to introduce Clojure into existing large Java projects, > I want to use a decent IDE. So I am writing a Clojure plugin for my > favorite-- IntelliJ. When I'm done I hope to offer a nice integrated > environmen

Re: Clojure Code Analysis Tools

2008-12-01 Thread Peter Wolf
I am an EMACS user, and I started off by trying SLIME. I liked it. Unfortunately, most of my work is in Java, and because every class has its own file, and Java is so "wordy", EMACS is a terrible Java environment (sorry... Java is a terrible language ;-)) Since I plan to introduce Clojure int

Re: Clojure Code Analysis Tools

2008-12-01 Thread Mark Feeney
I'm a long time vim user reluctantly using Emacs (via Clojure Box) for Clojure dev. SLIME and friends are just too convenient to pass up at the moment. I look forward to leaving Emacs though. It's not that it's bad (at all), I've just maxed out the amount of my brain I'm willing to devote to ob

Re: Clojure Code Analysis Tools

2008-12-01 Thread Mark Volkmann
On Mon, Dec 1, 2008 at 8:06 AM, Randall R Schulz <[EMAIL PROTECTED]> wrote: > > On Monday 01 December 2008 05:21, mehrheit wrote: >> On Sun, 30 Nov 2008 07:34:35 -0800 >> >> Randall R Schulz <[EMAIL PROTECTED]> wrote: >> > So... As I'm writing this, it occurs to me that the compiler >> > attaches

Re: Clojure Code Analysis Tools

2008-12-01 Thread Randall R Schulz
On Monday 01 December 2008 05:21, mehrheit wrote: > On Sun, 30 Nov 2008 07:34:35 -0800 > > Randall R Schulz <[EMAIL PROTECTED]> wrote: > > So... As I'm writing this, it occurs to me that the compiler > > attaches source location information (file name and line number) as > > metadata to any Var it

Re: Clojure Code Analysis Tools

2008-12-01 Thread mehrheit
On Sun, 30 Nov 2008 07:34:35 -0800 Randall R Schulz <[EMAIL PROTECTED]> wrote: > > So... As I'm writing this, it occurs to me that the compiler attaches > source location information (file name and line number) as metadata > to any Var it creates (I think that's the proper locus of the > attachm

Clojure Code Analysis Tools

2008-11-30 Thread Randall R Schulz
Hi, Speaking of program analysis tools (I was, in another thread), has anybody written anything along these lines for Clojure? I appreciate the (doc) and (find-doc) built-ins and use them quite a lot, but they don't help when it comes to analyzing existing Clojure source code. As a rank amate