Re: Enhancement to the syntax system?

2012-07-04 Thread Marijn
x27;x))) )) (m) but I get error messages which I don't know what to do about. Do you have running examples of code not producing the result you want? Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http:/

Re: Enhancement to the syntax system?

2012-07-10 Thread Marijn
`(let ((x 1)) #,stx)) (define-syntax (m stx) (syntax-case stx () ((_) #`(let ((x 2)) #,(f #'x))) )) (m) it now produces 1 instead of the expected 2. It seems to me that both these results cannot be correct simultaneously, but I'll await the experts' opinion on that.

Re: Adding to guile curly-infix (SRFI 105), neoteric- & sweet-expressions

2012-08-27 Thread Marijn
cons 1 2). Using `f(1 2) |-> (f 1 2)' you can push open parens left meaning (a (b c)) is equal to ((a b c)). Can you shed some light on these issues? Marijn > We plan to submit all three abbreviations as three separate SRFIs. > The first one, curly-infix-expressions, is new draft SRF

Re: bug#12665: regexp fault for closing square bracket within character class

2012-10-18 Thread Marijn
t; OK, I see. I guess I got used to PCRE for too long :) Sorry for my > mistake. ``Regular expressions crammed into string-syntax'' really needs to be deprecated in Scheme implementations. SRE[1][2] is more expressive and doesn't suffer from such exceptions. Marijn [1]:http:/

Re: [PATCH 03/10] minor vm-engine cleanups

2013-06-05 Thread Marijn
_MASK] +# define > NEXT_JUMP() goto *jump_table[FETCH () & SCM_VM_INSTRUCTION_MASK] > #else -#define NEXT_JUMP()goto vm_start +# define NEXT_JUMP() > goto vm_start #endif These added spaces are weird (and illegal?). Marijn -BEGIN PGP SIGNATURE- Vers

Re: Guile virtual machine targets

2011-05-02 Thread Marijn
is a package on the gnu ftp for version 0.1.0[3]. I checked my distribution packages and since they included version 0.1.2 I decided to investigate a bit further. This version was released in 2008 and you can it from http://download.savannah.gnu.org/releases/dotgnu-pnet/libjit-releases/ Marijn

Re: Patch to add (define-syntax (foo bar) ...) support

2011-09-05 Thread Marijn
but if that's important to anyone, feel free to come up with > another name :-) Some alternative names might be syntax-case/fn, syntax-case/l, syntax-case/lambda (but kinda defeats the purpose of not having to type lambda). Anyway, less typing for macro boilerplate

Re: A Plan for Hacking

2011-09-26 Thread Marijn
Map applies proc element-wise to the elements of the lists and returns a list of the results, in order. The dynamic order in which proc is applied to the elements of the lists is unspecified. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with

Re: when and unless

2011-12-05 Thread Marijn
REPL seem to agree that they should: $ racket Welcome to Racket v5.2.0.4. > (when #t 'hello) 'hello > (unless #f 'hi) 'hi Is there some other source that suggests that the return value should be unspecified? Marijn [1]:http://clhs.lisp.se/Body/m_

Re: [PATCH] add regexp-split

2011-12-30 Thread Marijn
function. I've raised the issue with them as well, but there are some doubts that it is useful/sane to support this. Perhaps other schemes' regexp libraries should be compared as well. Their tests would certainly be useful and may point out other incompatibilities that no-one is aware o

Re: [PATCH] add regexp-split

2011-12-30 Thread Marijn
ient", not "the > developer think it's useful". Idem ditto. > Just my mumble, no any offense. Thank you for telling us this > issue. ;-) Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enig

Re: [PATCH] add regexp-split

2011-12-30 Thread Marijn
groups in their version, but they don't have the empty matches either. How about that... Surely by now you can see that it's worth discussing over the semantics of regexp-split. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG

Re: The empty string and other empty strings

2012-01-16 Thread Marijn
tring) to be un-eq? nor eq? to (string), but let's get a broader perspective. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8T3yoACgkQp/VmCx0OL2wG4QCeJkTP7qhm/ll6g/szLrz21uUB 0PwAoKLWlLOIIgcE

Re: [racket-dev] Enhancement to the syntax system?

2014-05-03 Thread Marijn Schouten (hkBst)
On 07/10/2012 05:03 PM, Matthew Flatt wrote: > At Tue, 10 Jul 2012 10:51:57 -0400, Eli Barzilay wrote: >> 20 minutes ago, Marijn wrote: >>> >>> It seems to me that both these results cannot be correct >>> simultaneously, but I'll await the experts

popen test hangs (was GNU Guile 1.8.7 released)

2009-07-06 Thread Marijn Schouten (hkBst)
ong or how to find out more? Marijn - -- If you cannot read my mind, then listen to what I say. Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (GNU/Linux) Comme

Re: popen test hangs

2009-07-06 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Jerram wrote: > "Marijn Schouten (hkBst)" writes: > >> it seems that the popen test hangs: > > Grrr. I thought we'd nailed that... > >> then it hangs for at least an hour or so. My configure invo

Re: popen test hangs

2009-07-07 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marijn Schouten (hkBst) wrote: > Neil Jerram wrote: >> "Marijn Schouten (hkBst)" writes: > >>> it seems that the popen test hangs: >> Grrr. I thought we'd nailed that... > >>> then it hangs

Re: Elisp lexical-let

2009-07-22 Thread Marijn Schouten (hkBst)
the lexical variable `x' and also lexical-set(q). It seems to me that only the dereferencing of variables is dynamic or lexical, not the binding. Thus you don't even need lexical-let and `(lexical x)' would be `x' found in the lexical environment (if it isn't found you can

Re: Elisp lexical-let

2009-07-23 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Kraft wrote: > Hi Marijn, > > Marijn Schouten (hkBst) wrote: >> Guile also has lexical and dynamic variables; the fluids[1]. Queinnec >> in his >> book LiSP also describes a system that has (default) lexical and dyna

Re: Elisp lexical-let

2009-07-24 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Kraft wrote: > Hi, > > thanks for your comments; I'm still a bit confused, though :$ > > Marijn Schouten (hkBst) wrote: >>> What's about this: >>> >>> (defun test () a) >>&

Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled

2009-08-04 Thread Marijn Schouten (hkBst)
t; something to investigate, unless the cause is already known A more idiomatic way to implement it that also works in other Schemes is: ; $ larceny -- acker.scm -e "(time (pretty-print (A 3 9)))" -e "(quit)" ; $ mzscheme -f acker.scm -e "(time (display (A 3 9))(ne

Re: what am I doing wrong building 1.8?

2007-08-19 Thread Marijn Schouten (hkBst)
.. guile-readline... + cd guile-readline + ./autogen.sh configure.in:8: installing `./missing' configure.in:8: installing `./install-sh' Makefile.am: installing `./depcomp' + echo 'Now run configure and make.' Now run configure and make. + echo 'You must pass the `--enab

Re: what am I doing wrong building 1.8?

2007-08-20 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ludovic � wrote: > Hi, > > "Marijn Schouten (hkBst)" <[EMAIL PROTECTED]> writes: > >> + gnulib-tool --update >> gnulib-tool: *** cannot find ./configure.ac >> gnulib-tool: *** Stop. > > Normally,

Re: what am I doing wrong building 1.8?

2007-08-20 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ludovic � wrote: >>> "Marijn Schouten (hkBst)" <[EMAIL PROTECTED]> writes: >>> >>>> + gnulib-tool --update >>>> gnulib-tool: *** cannot find ./configure.ac >>>> gnulib-tool: *** St

Re: what am I doing wrong building 1.8?

2007-08-21 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ludovic � wrote: > Hi, > > "Marijn Schouten (hkBst)" <[EMAIL PROTECTED]> writes: > >> Ludovic � wrote: > >>> Strange. I use the exact same version of `gnulib-tool' here and it >>> finds

"guile-config link" reports LDFLAGS it has been compiled with

2007-12-16 Thread Marijn Schouten (hkBst)
BS" +GUILE_LIBS="$LIBS" GUILE_CFLAGS="$PTHREAD_CFLAGS" AC_SUBST(GUILE_LIBS) AC_SUBST(GUILE_CFLAGS) as reported in http://bugs.gentoo.org/show_bug.cgi?id=202205 thank you, Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML <http://www.gentoo.org/pr

Re: guile-1.8.4 build failed on Leopard.

2008-04-11 Thread Marijn Schouten (hkBst)
3 [2]:http://bugs.gentoo.org/attachment.cgi?id=145645 Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://en

goops comments about new module system

2008-04-17 Thread Marijn Schouten (hkBst)
get the new module system */ So I was wondering which module system these comments refer to. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU

[PATCH] libtool-2.2.4

2008-05-06 Thread Marijn Schouten (hkBst)
guile-config]) ~ AC_CONFIG_SRCDIR(GUILE-VERSION) ~ AM_INIT_AUTOMAKE([gnu no-define check-news]) Marijn [1]: http://bugs.gentoo.org/show_bug.cgi?id=212723 - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode ---

Re: [PATCH] libtool-2.2.4

2008-05-08 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Jerram wrote: | "Marijn Schouten (hkBst)" <[EMAIL PROTECTED]> writes: | |> --- configure.in.old2008-05-06 23:48:26.0 +0200 |> +++ configure.in2008-05-06 23:48:26.0 +

Re: math tests on amd64

2008-06-20 Thread Marijn Schouten (hkBst)
+nan.0 On my amd64 linux system I get: guile> (version) "1.8.5" guile> (eqv? 0.0 (exp -inf.0)) #t guile> (exp -inf.0) 0.0 HTH, Marijn > On i386 and sparc64 this passes. I ran paranoia and that passed (with > not even flaws). Does this test pass for others on other o

Re: Compiling GUILE

2008-08-31 Thread Marijn Schouten (hkBst)
pass gcc the option "-m32" or "-m64" to force 32-bit or 64-bit code. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux

Re: A bug, unless I'm mistaken

2009-02-10 Thread Marijn Schouten (hkBst)
gt; Regards > > Michael > > > Works for me with 1.8.6 on linux. - -- Sarcasm puts the iron in irony, cynicism the steel. Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode -BEGIN PGP SIGNAT

Re: A bug, unless I'm mistaken

2009-02-10 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marijn Schouten (hkBst) wrote: > Michael Burschik wrote: >> (use-modules (oop goops)) > >> (define-class () >> name) > >> (make ) > > > >> This makes guile 1.8.5 crash with a segment

Re: vm status update

2009-02-16 Thread Marijn Schouten (hkBst)
x27;s > not much difference. See vm-engine.c for more details. It seems that > native compilation would be much better than a "reckless" engine. > > Well, that's about it as far as changes go. And as far as status? I'm > going to update the docs for chang