Oliver J Hunt | 1 Apr 2006 04:59
Picon
Picon

YHC .NET backend

Does anyone know if there are any papers available on how the Yhc .NET 
back end works?

I've looked briefly at the codegen and output and as far as I can make 
out it is performing
complete type erasure and converting everything to (effectively) 
typeless closures.  Does anyone know
if this is what is going on, or am i missing something entirely?

Cheers,
  Oliver
Neil Mitchell | 2 Apr 2006 21:17
Picon
Gravatar

Re: YHC .NET backend

Hi Oliver,

> Does anyone know if there are any papers available on how the Yhc .NET
> back end works?
Nope, none yet (and not sure there ever will be).

> I've looked briefly at the codegen and output and as far as I can make
> out it is performing
> complete type erasure and converting everything to (effectively)
> typeless closures.
The back end of Yhc is entirely typeless, so that is almost certainly
happening. I don't know many details beyond that...

Thanks

Neil
Robert Dockins | 14 Apr 2006 02:30

Bytecode module interface

Hello all,

I'm interested in doing some YHC bytecode manipulation, and I'd like to be 
able to read a bytecode module using Haskell.  In the online Haddock docs, 
there's a lovely-looking module named 'Module' which contains

readModule :: String -> Module

http://www-users.cs.york.ac.uk/~ndm/yhc/docs/Module.html

However, 'Module' doesnt appear in the 'yhc' or 'yhc-devel' repositories.  
Does this code exist somewhere else?  How can I get at it?

Thanks
Rob Dockins
Neil Mitchell | 14 Apr 2006 23:09
Picon
Gravatar

Re: Bytecode module interface

Hi Robert,

http://www.haskell.org//pipermail/yhc/2005-November/000004.html

The code is from there. Its quite old and I know I have a newer
version somewhere, but not necessilary sure I have a more complete
version anywhere. It doesn't deal with all instructions, but the basic
format is there. It has no output capability, but thats something
thats definately needed in future.

Ultimately my goal is to create a Yhc.Bytecode library which is used
by both Yhc and anyone elses code. Unfortunately I've been rather
pressed for time lately.

Thanks

Neil

On 4/14/06, Robert Dockins <robdockins <at> fastmail.fm> wrote:
> Hello all,
>
> I'm interested in doing some YHC bytecode manipulation, and I'd like to be
> able to read a bytecode module using Haskell.  In the online Haddock docs,
> there's a lovely-looking module named 'Module' which contains
>
> readModule :: String -> Module
>
> http://www-users.cs.york.ac.uk/~ndm/yhc/docs/Module.html
>
>
(Continue reading)

Robert Dockins | 15 Apr 2006 21:56

Re: Bytecode module interface

On Friday 14 April 2006 05:09 pm, you wrote:
> Hi Robert,
>
> http://www.haskell.org//pipermail/yhc/2005-November/000004.html
>
> The code is from there. Its quite old and I know I have a newer
> version somewhere, but not necessilary sure I have a more complete
> version anywhere. It doesn't deal with all instructions, but the basic
> format is there. It has no output capability, but thats something
> thats definately needed in future.

Thanks for this Neil.  Can I assume this code is also under the GPL?
(BTW, I couldn't find any licensing materials in the YHC source repos; you'll 
probably want to tighten that up).

> Ultimately my goal is to create a Yhc.Bytecode library which is used
> by both Yhc and anyone elses code. Unfortunately I've been rather
> pressed for time lately.

In that case I may see if I can move this code in that direction.  I have the 
idea that it would be nice to automaticly derive interfaces and serialization 
code from the xml structure found in the YHC source, and use Eternal 
Compatibility in Theory to maintain compatibility across bytecode versions.

Rob Dockins

> Thanks
>
> Neil
>
(Continue reading)

Neil Mitchell | 15 Apr 2006 22:21
Picon
Gravatar

Re: Bytecode module interface

Hi Robert,

> Thanks for this Neil.  Can I assume this code is also under the GPL?
All of the code is under the GPL, it says so on the wiki (maybe
putting the license on a wiki isn't the best idea...), I guess we
deleted LICENSE by accident at some point.

I wrote all the stuff in that .zip, so if another license is better
for you, I'm sure it can be arranged. Since the bytecode will be a
library, the GPL might not be the best choice anyway.

> In that case I may see if I can move this code in that direction.  I have the
> idea that it would be nice to automaticly derive interfaces and serialization
> code from the xml structure found in the YHC source, and use Eternal
> Compatibility in Theory to maintain compatibility across bytecode versions.

That would be very nice. If you look at 
/src/compiler98/ByteCode/data/haskell.xsl that generates some Haskell
code for reading bytecodes - I never got round to integrating it into
the haskell module reader, but it shouldn't be too hard. The Python
version of Yhi (Pyhi) uses that .xml already.

Thanks

Neil
Paolo Martini | 24 Apr 2006 18:58
Picon

Google Summer of Code 2006

Hello,

Haskell.org is going to partecipate as mentoring organization to the 
Google Summer of Code programme of this year.

We have formed a group of volunteers taking care of the administrative 
work as well as the mentoring part. The group is listed here: 
<http://haskell.org/haskellwiki/Summer_of_Code:_People>.

We are now looking for projects, and mentors.  We've reached number 24 
but we are happily going to add more, Haskell Open Source paid work for 
the summer!

If you run some active open source program you might want to mentor some 
student who will be working on your code, for example.  Either just add 
your ideas here: 
<http://haskell.org/haskellwiki/Summer_of_Code:_Project_suggestions> (as 
well as your informations on the People's page) or contact me for details.

I am also looking for students, I'd like to ear from them if they are 
going to partecipate with Haskell projects, last year I was alone! (I 
did write the bindings to the Cairo vector graphics library and 
integrated them in Gtk2Hs.)

Details about the programme itself can be found on the official webpage:
http://code.google.com/summerofcode.html

Hoping you like the idea as much as me,
Paolo.
--
(Continue reading)

Ivan Tarasov | 25 Apr 2006 18:32
Picon
Gravatar

Re: Google Summer of Code 2006

Hello,

it's really great to hear that Haskell.org is participating in SoC.

I'm planning to try myself as a student in writing an ATOM/RSS
aggregator in Haskell (I'm really tired of not being able to find a
good one, and also I'd like to learn Haskell as well), still I'm open
to other great ideas. I'm also interested in different branches of
mathematics, and Haskell is great for mathematics, so it is another
option for me.

If you have any questions/suggestions (e.g. you know that there exists
some great aggregator which works on linux/GTK+ :-) )/comments, I'd
like to hear from you!

Ivan.

On 4/24/06, Paolo Martini <paolo <at> nemail.it> wrote:
> Hello,
>
> Haskell.org is going to partecipate as mentoring organization to the
> Google Summer of Code programme of this year.
>
> We have formed a group of volunteers taking care of the administrative
> work as well as the mentoring part. The group is listed here:
> <http://haskell.org/haskellwiki/Summer_of_Code:_People>.
>
> We are now looking for projects, and mentors.  We've reached number 24
> but we are happily going to add more, Haskell Open Source paid work for
> the summer!
(Continue reading)

Paolo Martini | 26 Apr 2006 04:05
Picon

Haskell.org and Google Summer of Code 2006

Hello,

It is now official.  Haskell.org is a mentoring organization for this 
year's Summer of Code programme.

You can see it listed on the official site <http://code.google.com/soc/> 
clicking on `Haskell.org (ideas)' you'll be directed to the trac site we 
are setting up. (It's 4 AM and I've just finished adding the projects, 
and cleaning things up a bit.)

I am _very_ happy about seeing this project working out for real.  I 
fear that I wouldn't be able to reach everybody even mailing all the 
important mailing list; I hope many students will be able to take 
advantage of this great occasion.  Help me spread the word, tell 
everybody about the project :-)

You can find the new site here 
<http://hackage.haskell.org/trac/summer-of-code/>, the StartPage will be 
updated with details during the program.

Projects ideas and volunteers for mentoring are still very much welcome! 
students' application period starts on May 1.

Thanks very much for the support, hope to hear thoughts and proposals,
Paolo.
--

Gmane