On Sat Nov 19 13:46 2011, Andrew Brehaut wrote:
> I have written a new brush for the javascript Syntax Highlighter to
> replace sh-clojure. Rather than using the typical regex system, it has
> a full parser and simple form annotator. This should result in
> significantly better highlighting than earlier brushes.
> 
> You can find the project at https://github.com/brehaut/inc-clojure-brush.
> It's running on my blog, frinstance 
> http://brehaut.net/blog/2011/ring_introduction
> and http://brehaut.net/blog/2011/l_systems
> 
> Key features:
> 
>  * The head of every list is handled as either a function or method
> call. No need for a list of clojure.core tokens.
>  * Comments, (comment …), and #_ all supported.
>  * Local variables in common core forms are highlighted.
>  * Meta data and quoted forms have additional styling.

Looks nice.  I think I may just deprecate my project in favour of this
one, especially since I don't really have the time to update it these
days.

One idea that just occurred to me is that there may be a chance to
leverage ClojureScript for this.  I am not a ClojureScript (or
Javascript) expert, but it seems to me that using the ClojureScript
reader could help.

Nice work.

Daniel Solano Gómez

Attachment: signature.asc
Description: Digital signature

Reply via email to