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
Scala ide within DSL editor
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Aaron_E  
View profile  
 More options Nov 12 2012, 4:09 pm
From: Aaron_E <ferbe...@gmail.com>
Date: Mon, 12 Nov 2012 13:09:43 -0800 (PST)
Local: Mon, Nov 12 2012 4:09 pm
Subject: Scala ide within DSL editor

Hi All,

I am creating a small DSL IDE that incorporates handlers written in scala.  
Is it possible to invoke the Scala IDE on said handlers inorder to show
syntax errors, and code highlighting?   If so how would I go about doing it?

Thanks,
Aaron


 
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.
iulian dragos  
View profile  
 More options Nov 15 2012, 8:12 am
From: iulian dragos <jagua...@gmail.com>
Date: Thu, 15 Nov 2012 14:11:47 +0100
Local: Thurs, Nov 15 2012 8:11 am
Subject: Re: [scala-ide-user] Scala ide within DSL editor

Hi,

On Mon, Nov 12, 2012 at 10:09 PM, Aaron_E <ferbe...@gmail.com> wrote:
> Hi All,

> I am creating a small DSL IDE that incorporates handlers written in
> scala.  Is it possible to invoke the Scala IDE on said handlers inorder to
> show syntax errors, and code highlighting?   If so how would I go about
> doing it?

It is possible, and it's being done now by at least two other plugins [1,
2]. You will have to write your own editor, though, and provide a mapping
between your DSL and a valid Scala program that can be compiled by the
Scala compiler. The code can still be cleaned a little, and a better API
will emerge eventually.

[1] https://github.com/scala-ide/scala-worksheet
[2] https://github.com/scala-ide/scala-ide-play2

cheers,
iulian

> Thanks,
> Aaron

--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »