« Return to Thread: [scala] use scala to make a custom language

Re: [scala] use scala to make a custom language

by frapas :: Rate this Message:

Reply to Author | View in Thread

... I understand.
But IMHO, without custom precedence, the ability to create/overoad operators is less useful.

Francesco


On Tue, Jul 8, 2008 at 11:22 AM, Sean McDirmid <sean.mcdirmid@...> wrote:
I doubt that custom precedence would ever come to Scala. That would
require syntactic level configurability based on the type of a symbol,
and most language people wouldn't dare to mix type checking with
parsing, its probably not a good idea. (The exception being C++, but I
think they do something hacky to avoid that).

On Tue, Jul 8, 2008 at 4:55 PM, Francesco Pasqualini <frapas@...> wrote:

> I hope this will be implemented in future Scala releases.
> Any prevision ?
> It could be a great feature and with the ability to implement foreign
> languages syntax  in Scala it will be easiest to port chunk of code and
> library from different languages to Scala.

 « Return to Thread: [scala] use scala to make a custom language

LightInTheBox - Buy quality products at wholesale price!