This page is no longer maintained — Please continue to the home page at www.scala-lang.org

hacking the scala source

2 replies
Kevin Wright
Joined: 2009-06-09,
User offline. Last seen 49 weeks 3 days ago.
I'm currently exploring the nsc source, trying to get a good understanding of how it works and ideally write a plugin or two
(hopefully commit a few ideas and fixes back to scala core as well)

Problem I've found is that the overview documentation available on scala-lang is still a little bit weak... until I've got some momentum behind me it's always a nightmare figuring out the best place to start tackling a large codebase.  Someone needs to work with this stuff, get a good high-level overview, and write up their notes and experiences to go back on the website, so I'm nominating myself for the role :)

Having said all that, if anybody could give me a few pointers on what the important bits are and maybe any risky areas that I should be aware of, it would be a great help!


dmitriy
Joined: 2009-07-16,
User offline. Last seen 3 years 14 weeks ago.
Re: hacking the scala source

On Tue, 2009-07-21 at 10:36 +0100, Kevin Wright wrote:
> I'm currently exploring the nsc source, trying to get a good
> understanding of how it works and ideally write a plugin or two
> (hopefully commit a few ideas and fixes back to scala core as well)
>
> Problem I've found is that the overview documentation available on
> scala-lang is still a little bit weak... until I've got some momentum
> behind me it's always a nightmare figuring out the best place to start
> tackling a large codebase. Someone needs to work with this stuff, get
> a good high-level overview, and write up their notes and experiences
> to go back on the website, so I'm nominating myself for the role :)
>
> Having said all that, if anybody could give me a few pointers on what
> the important bits are and maybe any risky areas that I should be
> aware of, it would be a great help!
>
>

Hi,

I interesting at scala compile @ interpreter overwriting to get language
dialect. If it possible to start from that point. ;)

I agree to start as nsc plugin. Hopefully, will be able to help and
share experience.

Kevin Wright
Joined: 2009-06-09,
User offline. Last seen 49 weeks 3 days ago.
Re: hacking the scala source
See how the interpreter does it...

Not a bad idea, it should already be hitting all the right high-level entry points without getting too far into the guts of the system :)

On Tue, Jul 21, 2009 at 10:53 AM, Dmitriy Shabanov <shabanovd@gmail.com> wrote:
On Tue, 2009-07-21 at 10:36 +0100, Kevin Wright wrote:
> I'm currently exploring the nsc source, trying to get a good
> understanding of how it works and ideally write a plugin or two
> (hopefully commit a few ideas and fixes back to scala core as well)
>
> Problem I've found is that the overview documentation available on
> scala-lang is still a little bit weak... until I've got some momentum
> behind me it's always a nightmare figuring out the best place to start
> tackling a large codebase.  Someone needs to work with this stuff, get
> a good high-level overview, and write up their notes and experiences
> to go back on the website, so I'm nominating myself for the role :)
>
> Having said all that, if anybody could give me a few pointers on what
> the important bits are and maybe any risky areas that I should be
> aware of, it would be a great help!
>
>

Hi,

I interesting at scala compile @ interpreter overwriting to get language
dialect. If it possible to start from that point. ;)

I agree to start as nsc plugin. Hopefully, will be able to help and
share experience.

--
Cheers,

Dmitriy Shabanov


Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland