BNF of Scala syntax?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

BNF of Scala syntax?

Stanislas Klimoff-3
Hi guys,

I wonder if there a BNF or equivalent notation of the Scala syntax is available? I've discovered a TextMate Scala plugin that looks unsupported. It doesn't play well with some language constructs. I was going to bring some enhancements, but I don't want to reinvent a wheel if some formal description is available.

Stan

--
Best wishes,
  Stan Klimoff
  Grid Dynamics Consulting
Reply | Threaded
Open this post in threaded view
|

Re: BNF of Scala syntax?

Jamie Webb-2
On 2008-01-12 19:01:56 Stanislas Klimoff wrote:
> Hi guys,
> I wonder if there a BNF or equivalent notation of the Scala syntax is
> available? I've discovered a TextMate Scala plugin that looks
> unsupported. It doesn't play well with some language constructs. I
> was going to bring some enhancements, but I don't want to reinvent a
> wheel if some formal description is available.

It's an appendix to the language spec:

  http://www.scala-lang.org/docu/files/ScalaReference.pdf

/J
Reply | Threaded
Open this post in threaded view
|

Re: BNF of Scala syntax?

Stanislas Klimoff-2
Ahha. I knew it should be somewhere. Thanks for pointing it out!

Stan

On 1/12/08, Jamie Webb <[hidden email]> wrote:
On 2008-01-12 19:01:56 Stanislas Klimoff wrote:
> Hi guys,
> I wonder if there a BNF or equivalent notation of the Scala syntax is
> available? I've discovered a TextMate Scala plugin that looks
> unsupported. It doesn't play well with some language constructs. I
> was going to bring some enhancements, but I don't want to reinvent a
> wheel if some formal description is available.

It's an appendix to the language spec:

  http://www.scala-lang.org/docu/files/ScalaReference.pdf

/J



--
Best wishes,
  Stan Klimoff
  Grid Dynamics Consulting