Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Lexer for Scala
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Philippe Lhoste  
View profile  
 More options Sep 10 2012, 5:48 am
From: Philippe Lhoste <Phi...@GMX.net>
Date: Mon, 10 Sep 2012 11:48:08 +0200
Local: Mon, Sep 10 2012 5:48 am
Subject: Re: Lexer for Scala
On 08/09/2012 04:01, Duke Normandin wrote:

> I've decided to learn Scala.  Is there an up-to-date SciTE lexer kicking around for this
> language? Much obliged!!

Not an official one.
I made one when I started to learn Scala, but it is a bit incomplete, that's why I haven't
submitted it to the Scintilla project yet.
For example, it doesn't support well the XML literals. Although these can be tricky, if
they have Scala code in them.
Otherwise, the support of the language is quite complete, I think (but I haven't looked at
macros yet, not even sure if there is a special syntax).

http://autohotkey.net/~PhiLho/SciTE4AHK.zip

You can find there, among others, the source code of the lexer, a relatively recent
version of SciLexer.dll (you have to compile the lexer yourself if you use a non-Windows
platform) and the scala.properties file.

I also have a test file where I tried to pack most of the syntax of Scala:

http://bazaar.launchpad.net/~philho/+junk/Scala/view/head:/TestLexer....

(It compiles, but it is nonsensical!)

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.