2009/6/26 James Reeves <weavejes...@googlemail.com>

>
> On Jun 25, 7:01 pm, Four of Seventeen <fsevent...@gmail.com> wrote:
> > On Jun 25, 12:18 pm, James Reeves <weavejes...@googlemail.com> wrote:
> >
> > > Some languages go a step further, and highlight syntax errors directly
> > > with some ASCII art:
> >
> > >   Unmatched delimiter:
> > >     (let [x map inc nums)]
> > >                         ^
> >
> > The javac compiler, for one.
>
> Huh. So it does. Okay, maybe it's not an impractical idea after all :)
>
>
I think it is worth looking at what JRuby does when it spits out an error.
They don't show a Java stacktrace at all but rather one that looks a lot
closer to what native Ruby shows.  I'd suggest Java stack traces are a poor
fit for reporting clojure errors since they don't match that closely to the
underlying language structure.

--~--~---------~--~----~------------~-------~--~----~
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 moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to