[PATCH] Update docs to reflect new external representation of tree-il letrec

2010-08-13 Thread No Itisnt
That was funny, just spent an hour trying to figure out what was wrong with my letrec when it was really that there's no explicit in-order? in the external representation anymore. 0001-Update-documentation-to-reflect-new-tree-il-external.patch Description: Binary data

Re: Random numbers (again) broken on 64-bit platforms

2010-08-01 Thread No Itisnt
On Sun, Aug 1, 2010 at 2:57 PM, Andy Wingo wi...@pobox.com wrote: Hi, On Sun 01 Aug 2010 20:44, Andreas Rottmann a.rottm...@gmx.at writes: I've spotted an issue with your fix: the way 64-bit random numbers are generated in scm_random() is bogus; Grr, indeed. Fix applied, thanks. Would

Re: PEG Parser Updates/Questions

2010-07-27 Thread No Itisnt
On Wed, Jul 28, 2010 at 12:13 AM, Michael Lucy michaelgl...@gmail.com wrote: Another question about module namespaces:  I have some syntax that I'd like to be available to code generated by macros in my module, but which I'd rather not export to the user (to avoid clobbering their functions).

badness

2010-07-23 Thread No Itisnt
I'm getting this not-so-helpful message from vars-bind-list in module/language/tree-il/compile-glil.scm. I've started at this for awhile and I still don't understand what's causing it. Here's the smallest test case I could construct that triggers it if this is at all helpful: Lua: function

Exposing more math functionality

2010-07-23 Thread No Itisnt
I'd like to patch Guile's math functionality to expose M_PI, modf, and probably other things as well. Before I started I thought I'd ask -- would such a patch be accepted? And is there any policy on where they should go? It seems a little crass to clutter up the (guile) namespace any more, but I

Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-11-164-gd26a26f

2010-07-11 Thread No Itisnt
Hi, yes that was part of a patch Andy approved but I never committed the second part due to issues. On Sun, Jul 11, 2010 at 5:55 PM, Ludovic Courtès l...@gnu.org wrote: Hi! No Itisnt theseaisinhere+...@gmail.com writes: commit d26a26f6c0fbdb971995d1b3dcf3345831eb12d7 Author: No Itisnt

Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-11-164-gd26a26f

2010-07-11 Thread No Itisnt
See [PATCH] Allow printing of malformed tree-il On Sun, Jul 11, 2010 at 7:09 PM, No Itisnt theseaisinh...@gmail.com wrote: Hi, yes that was part of a patch Andy approved but I never committed the second part due to issues. On Sun, Jul 11, 2010 at 5:55 PM, Ludovic Courtès l...@gnu.org wrote

Re: [PATCH] Allow printing of malformed tree-il

2010-07-09 Thread No Itisnt
Looks good; a couple of comments inline. If you want to kill trailing whitespace, though, please do that as a separate commit, without any functional changes How do you reconcile that with 'delete-trailing-whitespace? Here we should produce a warning, I think, even if we are permissive.

Re: GSOC PEG project

2010-07-05 Thread No Itisnt
On Mon, Jul 5, 2010 at 6:59 PM, Michael Lucy michaelgl...@gmail.com wrote: On Mon, Jul 5, 2010 at 5:40 PM, Ludovic Courtès l...@gnu.org wrote: Hi! Thanks for the status report! Michael Lucy michaelgl...@gmail.com writes: Files I've added so far: guile/modules/ice-9/peg.scm (I assume this

[PATCH] Allow printing of malformed tree-il

2010-07-02 Thread No Itisnt
I've noticed while renovating my parser that it's pretty common for unwanted values to weasel their way into tree-il. This patch adds an optional else clause to unparse-tree-il, so when it's told to be permissive, it will allow non-tree-il values through without error, so as not to cause errors

Re: expression

2010-06-23 Thread No Itisnt
On Wed, Jun 23, 2010 at 4:09 PM, Michael Lucy michaelgl...@gmail.com wrote: Hey, Is there any scheme expression that will just get ignored when the scheme code is compiled? I'm generating some code with a function like: (define (gen-update-ab updatea updateb)  `(begin     ,(if updatea

Re: Build problem unrelated patch

2010-06-17 Thread No Itisnt
ping -- could someone take a look at this? Thanks. On Sun, Jun 6, 2010 at 4:37 PM, No Itisnt theseaisinh...@gmail.com wrote: +/lib/c++defs.h +/lib/iconv.h +/lib/netdb.h I don't see these in my tree So where would they come from? Obviously I'm not an autotools pro. autoconf (GNU Autoconf

Re: Lua

2010-06-14 Thread No Itisnt
Hey, now would be a great time for a critique of my Lua project if you are willing, so I can incorporate any criticisms or ideas you may have before the GSOC midterm date. I'm closing in on finishing the base language and I hope to complete it this week if time permits. Great news. I haven't

Re: Lua

2010-06-13 Thread No Itisnt
Hey, now would be a great time for a critique of my Lua project if you are willing, so I can incorporate any criticisms or ideas you may have before the GSOC midterm date. I'm closing in on finishing the base language and I hope to complete it this week if time permits. - I am using #nil for

Re: Portability fixes for win32 cross compiling

2010-06-08 Thread No Itisnt
This one is wrong: the file uses mmap(3), which is declared in sys/mman.h according to http://www.opengroup.org/onlinepubs/9699919799/functions/mmap.html. This function is missing on MinGW, though, but there’s currently no replacement in Guile.  Would you like to work on it? Sorry, I don't

Re: Build problem unrelated patch

2010-06-06 Thread No Itisnt
+/lib/c++defs.h +/lib/iconv.h +/lib/netdb.h I don't see these in my tree So where would they come from? Obviously I'm not an autotools pro. autoconf (GNU Autoconf) 2.65 automake (GNU automake) 1.11.1 Revised patch attached also.

Compiler optimizations and Guile's module system

2010-06-04 Thread No Itisnt
I was thinking about inlining, contant propagation, and that class of optimizations recently. Wouldn't Guile's module system (specifically, module-set!) interfere with doing these optimizations on module-level bindings? If a binding is inlined, propagated, etcetera, and the binding was set! by

Re: Lua

2010-06-03 Thread No Itisnt
Couple of questions: - Right now I've stuffed everything into one file. When it doesn't recompile automatically (as in I run it without making changes, after a run that autocompiled it) it can't resolve MAKE-APPLICATION from (language tree-il) so a bunch of my tests cause errors. Any known bugs

Re: Lua

2010-06-03 Thread No Itisnt
Not a known bug, no. Can you make a test case? Yes, attached. It appears to happen when (rnrs control) is used. This is with the latest master commit. No, it will not. The primitive-ref return thing is a hack; the proper way to do this (I think?) is to use prompts and aborts, and also enhance

Build problem unrelated patch

2010-06-03 Thread No Itisnt
Recently I get a build failure on libguile/guile-procedures.texi: guile: uncaught throw to misc-error: (dynamic-link file: ~S, message: ~S (libguile-srfi-srfi-1-v-4 file not found) #f) Which would appear to be because srfi/ is not yet built. Anyone get the same problem? I'm not sure how to go

Re: Build problem unrelated patch

2010-06-03 Thread No Itisnt
Whoops! Here's the patch On Thu, Jun 3, 2010 at 8:45 PM, No Itisnt theseaisinh...@gmail.com wrote: Recently I get a build failure on libguile/guile-procedures.texi: guile: uncaught throw to misc-error: (dynamic-link file: ~S, message: ~S (libguile-srfi-srfi-1-v-4 file not found) #f) Which

Re: char-set-contains? and #eof

2010-05-31 Thread No Itisnt
On Mon, May 31, 2010 at 3:39 AM, Andy Wingo wi...@pobox.com wrote: Hi, [keeping the list cc'd] I apologize ; I keep doing that because I'm using this webmail interface. I really need to set up my email properly one of these days.

Re: Lightning Bindings

2010-05-28 Thread No Itisnt
Neat! Have you looked into libjit? The only reason I bring it up is because it seems to be more popular than Lightning and already has some third-party language bindings. On Thu, May 27, 2010 at 4:03 PM, Noah Lavine noah.b.lav...@gmail.com wrote: Dear Guile Developers, After watching the

Re: Custom printers for SRFI-9 records

2010-05-26 Thread No Itisnt
it won't happen again. On Tue, May 25, 2010 at 11:18 PM, No Itisnt theseaisinh...@gmail.com wrote: On Tue, May 25, 2010 at 3:56 PM, No Itisnt theseaisinh...@gmail.com wrote: I agree. Here's a patch that adds (srfi srfi-9 gnu) with set-record-printer! and adds a subsection to the SRFI-9 part

Re: Custom printers for SRFI-9 records

2010-05-26 Thread No Itisnt
OK. s/GUILE/Guile/ and two spaces after and end-of-sentence period. How so? Two trailing spaces after the period or two newlines? Is there a style guide somewhere? I was mainly copying and pasting from srfi-modules.texi. I’d rather call it ‘set-record-type-printer!’ (it prints records, but

Re: Custom printers for SRFI-9 records

2010-05-25 Thread No Itisnt
On Tue, May 25, 2010 at 3:56 PM, No Itisnt theseaisinh...@gmail.com wrote: I agree. Here's a patch that adds (srfi srfi-9 gnu) with set-record-printer! and adds a subsection to the SRFI-9 part of the manual for it. I can go ahead and commit it, if that's OK. On Tue, May 25, 2010 at 2:23 PM

Custom printers for SRFI-9 records

2010-05-24 Thread No Itisnt
One thing I'm missing, and maybe I just didn't see it, is a way to define custom printers for SRFI-9 records. (define-syntax define-record-printer (syntax-rules () ((_ name thunk) (struct-set! name vtable-index-printer thunk Does something like that already exist? If not, 1) do

Lua

2010-05-22 Thread No Itisnt
Hello, I'm going to be implementing Lua 5.1 for Guile as a Google Summer of Code under the GNU Project this year. My project is defined as the Lua 5.1 programming language and standard library excluding the string, coroutine, and debug modules I left a little bit of wiggle room in the standard

Re: a plan for native compilation

2010-04-16 Thread No Itisnt
One option I am really starting to like is LLVM. I know what you're thinking, huge memory consumption, giant dependency, etc, but it's so cool! It supports every desktop architecture too.

Re: Hosting for Guile-PHP

2010-04-12 Thread No Itisnt
I have nothing to add except that's very impressive. Did you use any lexer/parser generators?

Re: GSOC applications coming up

2010-03-30 Thread No Itisnt
Hi, I don't think I can reply on the GSOC site, so I'll put it here Specifics on your proposal: * cothreads: Guile's partial continuations can implement this construct well, and correctly; while it's not necessary, it would be lots of fun. See Prompts in the manual. I left it out because

GSOC applications coming up

2010-03-28 Thread No Itisnt
Side note: For those of you who don't follow the libgc list, libgc is now patched to work with Valgrind. Checkout the CVS version, compile with -DUSE_GET_STACKBASE_FOR_MAIN and valgrind away. I'm sorry I wasn't able to contribute anything yet (although I did in a roundabout way). At the moment

Re: Potential Lua implementation for Guile?

2010-03-15 Thread No Itisnt
So my grudging thought is, OK. But if I could steer you to finish some JS things or optimize some Elisp code or work on a Waddell-style inliner or a Scheme native compiler, these are also interesting and useful projects :-) I'm pretty focused on Lua for the summer project at the moment -- I

Re: Valgrind fix

2010-03-12 Thread No Itisnt
Boehm GC CVS now has a patch that will fix this behavior. Compile with threads and -DUSE_GET_STACKBASE_FOR_MAIN. See the following thread for details. http://comments.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/3788 If Hans Boehm agrees, the behavior will probably become default

RE: Valgrind fix

2010-03-08 Thread No Itisnt
Here's a program that demonstrates the actual issue at hand. Basically, libgc finds the stack address from either glibc or the kernel, which is not what it wants because valgrind messes with the address space of the host program. This is only on Linux, but I understand the issue is similar on

Potential Lua implementation for Guile?

2010-03-08 Thread No Itisnt
I want to apply for GSOC this year. Since Guile has recently obtained a compilation/language framework, I was thinking that an implementation of the Lua language for Guile, under the auspices of the GNU Project, would be a good fit. A little background on Lua: It has a reputation as an