plugged a memleak

2012-03-18 Thread Andy Wingo
Hi all, I just fixed a long-standing memory leak in Guile 2.0. (I say that like I'm proud or something, but of course I was the one the introduced it in the first place!) See c05805a4ea764dec5a0559edefcdfb9761191d07 in stable-2.0 for the gnarly details. The summary is that applicable smobs were

Re: Build/performance trouble?

2012-03-18 Thread Andy Wingo
On Fri 16 Mar 2012 19:44, Neil Jerram writes: > Except... that there does now seem to be a significant problem with > master's compilation time. In practice this is now taking so long that > it has no chance of completing (on my build machine) within a day. > Hence for now I'm going to disable t

Re: guile-contract guile-syntax-parse and clambda

2012-03-18 Thread Nala Ginrut
On Sun, Mar 18, 2012 at 8:20 PM, Stefan Israelsson Tampe < stefan.ita...@gmail.com> wrote: > Hi, > > I just wanted to mension three projects that I've been working on lately > (as some of you alerady know) > > > https://gitorious.org/guile-syntax-parse > ---

with-contract issues

2012-03-18 Thread Stefan Israelsson Tampe
Hi, Trying to implement with-contract I would like to mod define into a new variant depending on if the symbol is a contracted variable or not, if it's a contracted variable one should translate the define according to (deifne f/contracted val) -> (define-values () (begin (set! f/contracted val)

contract-out

2012-03-18 Thread Stefan Israelsson Tampe
Hi, I have an ideom that I wouldlike to model more clenaly. currently in guile-contract you do (contract-out-spec spec (f (-> symbol? symbol?))) (define (f x) x) ... (contract-out spec) This way we f will be exported using the contract (-> symbol? symbol?) e.g. it has to accept a symbol

syntax/loc

2012-03-18 Thread Stefan Israelsson Tampe
Hi, It is possible to get syntax location information via syntax-source, but trying to implement something like (define-syntax syntax/loc (syntax-rules () ((_ src stx) (let ((ret (syntax stx))) (set-syntax-source ret (syntax-source src)) ret I fail due to not ident

guile-contract guile-syntax-parse and clambda

2012-03-18 Thread Stefan Israelsson Tampe
Hi, I just wanted to mension three projects that I've been working on lately (as some of you alerady know) https://gitorious.org/guile-syntax-parse This is racket's syntax parse ported over to guile. It works now so well that I released a