Re: summer of code ideas

2011-03-08 Thread Ludovic Courtès
Hello, Noah Lavine writes: >>> We talked about having a Scheme-based language that could compile to >>> both plain C and JIT, but decided that would make the VM too >>> complicated, >> >> Maybe I forgot to feed that thread, but I think it might be easier to >> have a high-level representation th

Re: summer of code ideas

2011-03-07 Thread Mike Gran
From: Mark H Weaver >To: Jose A. Ortega Ruiz >Cc: guile-devel@gnu.org >Sent: Monday, March 7, 2011 5:10 PM >Subject: Re: summer of code ideas > >>"Jose A. Ortega Ruiz" writes: >>>    (use-modules (url://a-url.com library module #:optional a-rev-number)

Re: summer of code ideas

2011-03-07 Thread Mark H Weaver
"Jose A. Ortega Ruiz" writes: >>    (use-modules (url://a-url.com library module #:optional a-rev-number)) > > FWIW, i think this is a bad idea. It intermingles two concerns that are > othogonal, namely installing a package and using it. I very strongly agree with jao. Systems like this, e.g. P

Re: summer of code ideas

2011-03-07 Thread Noah Lavine
Hello, >> We talked about having a Scheme-based language that could compile to >> both plain C and JIT, but decided that would make the VM too >> complicated, > > Maybe I forgot to feed that thread, but I think it might be easier to > have a high-level representation the VM opcodes as sexps (possi

Re: summer of code ideas

2011-03-07 Thread Ludovic Courtès
Hi! Noah Lavine writes: > Yes, it's been a while since we talked about that :-). I still want to > do it, though. The current status as I see it is that I have a > prototype JIT that works, and a plausible way to integrate it into > Guile's VM. What needs to happen now is to write all of the opc

Re: summer of code ideas

2011-03-07 Thread Noah Lavine
Hello, > Really?  I thought you were toying with JIT.  :-) Yes, it's been a while since we talked about that :-). I still want to do it, though. The current status as I see it is that I have a prototype JIT that works, and a plausible way to integrate it into Guile's VM. What needs to happen now

Re: summer of code ideas

2011-03-07 Thread Jose A. Ortega Ruiz
On Mon, Mar 07 2011, Mike Gran wrote: [...] > A similar idea. > > Define a syntax for use-modules to pull modules off the net, something > like > >    (use-modules (url://a-url.com library module #:optional a-rev-number)) > FWIW, i think this is a bad idea. It intermingles two concerns that ar

Re: summer of code ideas

2011-03-07 Thread Ludovic Courtès
Hi! Noah Lavine writes: > I've been toying with the idea of an AOT compiler for Guile, and I > think that would make a good summer project. Really? I thought you were toying with JIT. :-) > I think you'd want to compile from Tree-IL to GCC's GIMPLE format (the > highest-level intermediate re

Re: summer of code ideas

2011-03-07 Thread Ludovic Courtès
Hello! Actually, a fun project would be to implement Nix storage model, its build primitive (‘derivation’), and assorted tools (garbage collector, etc.) in Guile Scheme. It doesn’t seem unrealistic, though it’s perhaps another project; OTOH you mentioned rollback so it’s not completely irrelevant

Re: summer of code ideas

2011-03-07 Thread Mike Gran
>Hey all, > >We need to get together a few Guile-proposed projects for SoC students >to hack on.  How about we collect them here in this thread.  I'll kick >it off with one idea: > >  * A CPAN for Guile.  A similar idea. Define a syntax for use-modules to pull modules off the net, something lik

Re: summer of code ideas

2011-03-07 Thread Andy Wingo
On Mon 07 Mar 2011 21:40, Noah Lavine writes: > Also, about your CPAN for guile (CGAN?) idea - it seems like with what > you said about stowfs that what you're looking for is similar to Nix, > but used to install Guile packages. (www.nixos.org) Yes indeed! > Do you think it would be useful to j

Re: summer of code ideas

2011-03-07 Thread Noah Lavine
Also, about your CPAN for guile (CGAN?) idea - it seems like with what you said about stowfs that what you're looking for is similar to Nix, but used to install Guile packages. (www.nixos.org) Do you think it would be useful to just compile a version of Nix with a different root directory, make so

Re: summer of code ideas

2011-03-07 Thread Noah Lavine
I've been toying with the idea of an AOT compiler for Guile, and I think that would make a good summer project. I think you'd want to compile from Tree-IL to GCC's GIMPLE format (the highest-level intermediate representation they have, I think). One interesting possibility would be basing it on St

summer of code ideas

2011-03-07 Thread Andy Wingo
Hey all, We need to get together a few Guile-proposed projects for SoC students to hack on. How about we collect them here in this thread. I'll kick it off with one idea: * A CPAN for Guile. My initial thoughts are that you want a combination of APT-like discovery and download of sources