Re: Static linking of Guile extensions

2017-09-08 Thread Ludovic Courtès
Hi Maxim, Maxim Cournoyer skribis: > scheme@(guile-user)> (use-modules (ice-9 readline)) > While compiling expression: > ERROR: In procedure dynamic-link: file: "libguilereadline-v-18", message: > "file not found" You could patch Guile to link guile-readline/*.lo into libguile-2.2.la (which wo

Re: What's required to include sxml->html?

2017-09-08 Thread Ludovic Courtès
Hi Amirouche, Amirouche skribis: > What's required to include sxml->html inside guile? At least tests and documentation, similar to what we have for all the other modules. I agree it would be useful! Ludo’.

Re: What's required to include sxml->html?

2017-09-08 Thread Thompson, David
>From what I can tell, this is more-or-less my (haunt html) module [0] with the import/export syntax changed and a hack to special-case

Re: Auto compile from many different languages that interoperates with guile

2017-09-08 Thread Stefan Israelsson Tampe
FYI I just added generators with a small extension, to the python compiler, now this works: module(f) def foreach(f,l): for x in l: f(x) def gen(l): def f(x): yield(gen) x foreach(f,l) for x in gen(list(1,2,3)): pk(x) >> 1,2,3 Have fun On Fri, Sep 1, 2017 at 1

Re: Auto compile from many different languages that interoperates with guile

2017-09-08 Thread William ML Leslie
On 9 September 2017 at 08:25, Stefan Israelsson Tampe wrote: > def gen(l): > def f(x): > yield(gen) x > Whoa. You're yielding from a different frame?! -- William Leslie Notice: Likely much of this email is, by the nature of copyright, covered under copyright law. You absolutely M

Re: What's required to include sxml->html?

2017-09-08 Thread Amirouche
Le 08/09/2017 à 18:02, Thompson, David a écrit : From what I can tell, this is more-or-less my (haunt html) module [0] with the import/export syntax changed and a hack to special-case