Re: CoffeeScript lexer

From: mitchell <code%caladbolg.....at.gtempaccount.com>
Date: Tue, 24 May 2011 05:40:46 -0700 (PDT)

Robert,

On May 23, 3:22 pm, Robert <ro....at.web.de> wrote:
> Hi Mitchell,
>
> I copied regex support from the Javascript lexer to Coffeescript [1]
>
> Another question: how much overhead is embedding another lexer in the
> HTML-lexer?
> It is possible to use CoffeeScript in <script type="text/coffeescript"> tags.
> It's easy to add, just copying the Javascript embedding and replacing
> "javascript" with "coffeescript".
> Should I just add it to the wiki or is this worth including? (It's of
> course not recommended
> for production :-)

Overhead should be minimal and you can embed coffeescript just like
javascript. Is coffeescript a common thing to see? If so, it may be
worth
including.

mitchell

>
> Robert
>
Received on Tue 24 May 2011 - 08:40:46 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:08:36 EST