On Tue, Jan 22, 2013 at 7:30 PM, Andy Wingo wrote:
> On Sat 12 Jan 2013 16:21, Nala Ginrut writes:
>
> > We'd like to start up guildhall.gnu.org, which is a guilers community
> > MAYBE based on savannah to let you guys share/fetch Guile packages. Just
> > like rubygems.org does. ;-)
>
> FWIW we
On Jan 22, 2013, at 21:52, Andy Wingo wrote:
Hello,
> Handling stride and bounds is not a problem. The generic array handle
> interface lets us do this in a straightforward way.
Certainly, but in this case, a vector is just an array of rank 1. I guess I
don't value that much having a specific
On Sat 19 Jan 2013 05:42, Peter Teeson writes:
> bad return from expression `(f-sum -1 2000 -3 400)':
> expected 3971999; got 3972255
>
> FAIL: test-ffi
>
>
> There are 2 compilers available from Apple for C/C++
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4
Andy Wingo skribis:
> On Mon 21 Jan 2013 17:19, l...@gnu.org (Ludovic Courtès) writes:
[...]
>> Perhaps we could have a couple of tests for -c, for instance, as shell
>> scripts in test-suite/standalone?
>
> That would be great. Would you be interested in doing this? :-)
Sure. :-)
The patch
Hi Daniel,
Thanks for thinking about this.
On Tue 22 Jan 2013 19:31, Daniel Llorens writes:
>> I think this is fair for type polymorphism. It makes sense to let
>> vector- work on uniform vectors because the implementation should be
>> identical.
>>
>> It's different for arrays because even fo
Ok, the unsyntax-72 code cannot be cleanly done I think. You really need
to use a reader macro. I leave the code base modding the reader char #.
as before and will simple wait for a a possibility of per port reader
option to be configured
via a library.
/Stefan
On Tue, Jan 22, 2013 at 5:38 PM, An
Hi wingo:
Yes this is something I can do. But on a second thought I can't find a way to
handle unsyntax-splicing without a splicing macro. Modding #, and not #,@
just screams for difficult errors to show up. Therefor I will in stead
just write
another macro unsyntax-72 that people can use.
btw, I
On Jan 22, 2013, at 15:31, Daniel Llorens wrote:
> On Jan 21, 2013, at 17:11, Andy Wingo wrote:
>> I always wondered why vector-ref and vector-set! didn't do what
>> generalized-vector-ref and generalized-vector-set! did. I mean, they
>> are primitive generics. Might it make sense to allow vec
On Tue 22 Jan 2013 17:19, Stefan Israelsson Tampe
writes:
>> > (read-hash-extend #\_ syntax-closure-reader)
>>
>> Have you tried having your srfi-72 module export a binding for unsyntax?
>
> I would like to use that of cause, but does it mix well with other
> already written code?
It should wor
done.
With little modify:
1. test-case/tests/rdelim.test: change 'delimiter fail, fail' to
'delimiter miss, fail'
2. doc/ref/api-io.texi: Sentence fix.
Thanks!
On Tue, Jan 22, 2013 at 8:44 PM, Andy Wingo wrote:
> On Thu 17 Jan 2013 10:07, Nala Ginrut writes:
>
> > On Wed, 2013-01-16 at 18:42
Hi Andy,
> > ‘load.test’ uses ‘compile-file’, and it seems that ‘compile-file’ does
> > an ‘open-input-file’ with no corresponding ‘close-port’. That may be
> > the problem.
>
> Can you try the following patch? ./check-guile load.test on your NFS
> machine should do it.
I did try and it still
Hi
On Tue, Jan 22, 2013 at 1:56 PM, Andy Wingo wrote:
>
> Hi,
>
> On Thu 17 Jan 2013 21:51, Stefan Israelsson Tampe
> writes:
>
> > Hi all, I wanted to resurrect the idea of a syntactic closure. I did
> > some thinking and
>
> Meta: I seem to be receiving your mails with this really strange li
On Tue 22 Jan 2013 16:24, Nala Ginrut writes:
> Yes, but do we have some kind of spec standard for guildhall packages?
The zip bundles, no? The guild tool should create the bundles.
I had another thought. When someone submits a bundle, they should HTTP
POST it to a URL on guildhall.gnu.org.
On Tue 22 Jan 2013 14:32, l...@gnu.org (Ludovic Courtès) writes:
> Andy Wingo skribis:
>
>> So, proposal: read-all{,!} to read-string{,!} and add optional count
>> argument to read-string, and leave it in ice-9 rdelim. WDYT?
>
> Go for it!
Done, thanks for the review :)
Andy
--
http://wingolo
On Mon 21 Jan 2013 17:19, l...@gnu.org (Ludovic Courtès) writes:
> Bikeshedding: I’d prefer --language.
Changed, and addressed your other comments. Attached.
> Perhaps we could have a couple of tests for -c, for instance, as shell
> scripts in test-suite/standalone?
That would be great. Would
On Jan 21, 2013, at 17:11, Andy Wingo wrote:
> Hi,
>
> Sorry for the long delay.
>
> Deprecating the generalized-vector functions sounds mostly sensible to
> me, and the proposed semantics of array-length sound fine. Attached is
> a first patch in that direction.
The changes look good to me.
Andy Wingo skribis:
> So, proposal: read-all{,!} to read-string{,!} and add optional count
> argument to read-string, and leave it in ice-9 rdelim. WDYT?
Go for it!
Ludo’.
Hi,
On Thu 17 Jan 2013 21:51, Stefan Israelsson Tampe
writes:
> Hi all, I wanted to resurrect the idea of a syntactic closure. I did
> some thinking and
Meta: I seem to be receiving your mails with this really strange line
wrapping. It's been this way for a while, and it makes it difficult to
On Thu 17 Jan 2013 16:34, Andy Wingo writes:
> What first writing a prototype that uses the VM trap interface?
^about
Andy
--
http://wingolog.org/
On Thu 17 Jan 2013 10:07, Nala Ginrut writes:
> On Wed, 2013-01-16 at 18:42 +0100, Andy Wingo wrote:
>> On Wed 07 Mar 2012 17:32, Nala Ginrut writes:
>>
>> > (call-with-input-string "asdf" (lambda (port) (read-delimited "@" port
>> > 'fail
>>
>> LGTM; just missing a test case. I would tig
Hi Nala,
This form is missing documentation and a test case. I would also add it
to (ice-9 control) instead of to the core, along with the corresponding
call/ec and perhaps the longer names as well.
On Mon 14 Jan 2013 16:20, Nala Ginrut writes:
> +(define-syntax-rule (let/ec k e e* ...)
> + (
On Tue 15 Jan 2013 10:32, l...@gnu.org (Ludovic Courtès) writes:
> Mike Gran skribis:
>
>> Opening a file that contains a coding declaration using an encoding other
>> than binary or the coding declared in the file seems like it would be
>> something of a corner case. So, IMHO it makes sense tha
On Sat 12 Jan 2013 16:21, Nala Ginrut writes:
> We'd like to start up guildhall.gnu.org, which is a guilers community
> MAYBE based on savannah to let you guys share/fetch Guile packages. Just
> like rubygems.org does. ;-)
FWIW we do have access to a guildhall.gnu.org and are in the process of
s
On Tue 22 Jan 2013 11:16, l...@gnu.org (Ludovic Courtès) writes:
> Andy Wingo skribis:
>
>> From 856d0ef6e7a5236da36c2fae13271e643580507d Mon Sep 17 00:00:00 2001
>> From: Andy Wingo
>> Date: Sun, 20 Jan 2013 20:26:59 +0100
>> Subject: [PATCH] `include' relative paths relative to including file
Hi folks!
Manual of (ice-9 colorized) updated.
Patch attached.
Thanks!
>From 4e4acbe884716b0c84f1c39bc054244112daf17d Mon Sep 17 00:00:00 2001
From: Nala Ginrut
Date: Tue, 22 Jan 2013 19:02:06 +0800
Subject: [PATCH] Update manual for (ice-9 colorized).
* doc/ref/misc-modules.texi: Add (ice-9 col
On Tue 22 Jan 2013 11:01, l...@gnu.org (Ludovic Courtès) writes:
>>> Are the names right?
>
> ‘read-all’ doesn’t convey the idea that it’s textual (unlike the R6RS
> names).
>
> Perhaps ‘port-contents-as-string’, or ‘read-all-string’, or...?
What about read-string with an optional #:count argumen
[trimming out guile-user]
For me, here is the list of symbols with no C counterpart, followed by a
commented list of all of them.
Symbols that a non-C program would need to interact with Guile:
SCM_BOOL_F
SCM_BOOL_T
SCM_ELISP_NIL
SCM_EOF_VAL
SCM_EOL
SCM_UNBOUND
Andy Wingo skribis:
> From 856d0ef6e7a5236da36c2fae13271e643580507d Mon Sep 17 00:00:00 2001
> From: Andy Wingo
> Date: Sun, 20 Jan 2013 20:26:59 +0100
> Subject: [PATCH] `include' relative paths relative to including file
>
> * module/ice-9/psyntax.scm (include): Like `load', interpret relative
Hi!
Andy Wingo skribis:
> On Tue 22 Jan 2013 10:15, Andy Wingo writes:
[...]
>> Patch attached. I didn't update the docs because it wasn't clear to me
>> that (ice-9 rdelim) is actually the right place to put it.
>>
>> What do you think? Should we perhaps put it in a new (ice-9 ports)?
I w
On Tue, 2013-01-22 at 09:22 +0100, Andy Wingo wrote:
> On Sat 08 Dec 2012 16:47, Nala Ginrut writes:
>
> > Test code here:
> > cut--
> > # echo "(+ 1 1)" > aa.scm
> > # guild compile aa.scm --from=scheme --to=glil -o aa.glil
> > # guild compile aa.g
On Tue 22 Jan 2013 10:15, Andy Wingo writes:
> Hi,
>
> On Sat 12 Jan 2013 22:22, l...@gnu.org (Ludovic Courtès) writes:
>
>> Andy Wingo skribis:
>>
>>> I find myself writing (read-delimited "" p) to slurp in a file as a
>>> string, but it's not a very straightforward way to say that.
>>>
>>> Wha
Hi,
On Sat 12 Jan 2013 22:22, l...@gnu.org (Ludovic Courtès) writes:
> Andy Wingo skribis:
>
>> I find myself writing (read-delimited "" p) to slurp in a file as a
>> string, but it's not a very straightforward way to say that.
>>
>> What about `read-all'? We could add it to `(ice-9 rdelim)', I
On Tue, 2013-01-22 at 16:31 +0800, Nala Ginrut wrote:
> On Tue, 2013-01-22 at 09:22 +0100, Andy Wingo wrote:
> > On Sat 08 Dec 2012 16:47, Nala Ginrut writes:
> >
> > > Test code here:
> > > cut--
> > > # echo "(+ 1 1)" > aa.scm
> > > # guild compil
On Sat 08 Dec 2012 16:47, Nala Ginrut writes:
> Test code here:
> cut--
> # echo "(+ 1 1)" > aa.scm
> # guild compile aa.scm --from=scheme --to=glil -o aa.glil
> # guild compile aa.glil --from=glil --to=assembly -o aa.asm
> e
34 matches
Mail list logo