Re: [Chicken-users] which RxRS?

2013-12-11 Thread Alex Queiroz
On Wed, Dec 11, 2013 at 1:08 AM, Giorgio Flaverli flave...@aol.com wrote:

 @John Cowan;


 So I don't think my language was excessively harsh. You really have no
 idea what you're talking about advocating multiple incompatible standards
 and huge incomprehensible standards instead of the concise gems that R5RS
 and R4RS were. With people like you on the loose a language can be
 destroyed (and probably was destroyed, as it's hard to compete with Python
 nowadays for any language; back in 2007 there was still a a chance to focus
 on software, not on misguided standards).



http://cdn.meme.li/instances/400x/20599681.jpg

-- 
-alex
http://unendli.ch/
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Unbounded stack growth

2012-07-12 Thread Alex Queiroz
Hallo,

On Thu, Jul 12, 2012 at 4:25 AM, Alex Shinn alexsh...@gmail.com wrote:

 I disagree - I think a stack grown too large is likely indicative
 of a programming error, or at the very least an inefficient
 algorithm.  In the general case I want my programs to be
 able to allocate as much heap as possible, but have a
 separate limitation on the stack.


Programming errors or inefficient algorithms should crash C programs,
not Scheme programs.

-- 
-alex
http://www.artisancoder.com/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Unbounded stack growth

2012-07-12 Thread Alex Queiroz
On Thu, Jul 12, 2012 at 9:47 AM, Alex Shinn alexsh...@gmail.com wrote:

 Wow, if you've got a magical Scheme compiler that
 can read my mind and fix all my bugs for me I'll switch
 right now! :)


 Are you really saying that it is ok for a Scheme program to crash
with a segmentation fault because of programming errors, and not just
because of compiler bugs?

-- 
-alex
http://www.artisancoder.com/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Hash table equality pitfall

2012-03-02 Thread Alex Queiroz
On Thu, Mar 1, 2012 at 7:01 PM, Peter Bex peter@xs4all.nl wrote:

 If they do it correctly, how do they deal with differences in initial
 bucket size, and what do they do with hash tables having identical
 key/values but different hashing or different comparison procedures?


If I were to write a `equal?` procedure for hash-tables, my test for
correctness would be:

(equal? hash-table1 hash-table2) iff (equal? (hash-table-alist
hash-table1) (hash-table-alist hash-table2))

provided that `hash-table-alist` does the obvious thing.

-- 
-alex
http://www.artisancoder.com/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Hash table equality pitfall

2012-03-02 Thread Alex Queiroz
Hallo,

Sending back to list...

On Fri, Mar 2, 2012 at 10:43 AM, Pierpaolo Bernardi olopie...@gmail.com wrote:
 On Fri, Mar 2, 2012 at 10:32, Alex Queiroz asand...@gmail.com wrote:
 On Thu, Mar 1, 2012 at 7:01 PM, Peter Bex peter@xs4all.nl wrote:

 If they do it correctly, how do they deal with differences in initial
 bucket size, and what do they do with hash tables having identical
 key/values but different hashing or different comparison procedures?


 If I were to write a `equal?` procedure for hash-tables, my test for
 correctness would be:

 (equal? hash-table1 hash-table2) iff (equal? (hash-table-alist
 hash-table1) (hash-table-alist hash-table2))

 provided that `hash-table-alist` does the obvious thing.

 I'd expect a procedure named hash-table-alist to return an alist in
 no particular order.

 I guess you meant to insert a couple of sorts in there.    ;^)


You are right, the obvious hash-table-alist is not so obvious then. :)

-- 
-alex
http://www.artisancoder.com/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] A fix for parallel build (gmake -j)

2011-10-06 Thread Alex Queiroz
Hallo,

On Thu, Oct 6, 2011 at 4:31 PM, Mario Domenech Goulart
mario.goul...@gmail.com wrote:

 We'd be changing a critical part that works just for the sake of
 speeding up a process that is rarely executed (the build process).


It's not so rare when you are developing Chicken itself.

-- 
-alex
http://www.artisancoder.com/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] valgrind

2011-09-30 Thread Alex Queiroz
Hallo,

On Thu, Sep 29, 2011 at 10:25 PM, Jörg F. Wittenberger
joerg.wittenber...@softeyes.net wrote:

 The pattern is to allocate some space on the stack, fill stuff in,
 eventually jump to the continuation.  GC will only happen during the
 jump, not within the time between allocation and assignment of initial
 values.  (Beware: It's my reading of source!)


As I remember, at every entry point of the generated C functions there
is a test for the height of the C stack so far. If the size (height *
sizeof(C_word)) is bigger than the current nursery size, a GC occurs.
At every other point alloca is supposed to succeed.

-- 
-alex
http://www.artisancoder.com/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Different factorial results

2011-06-03 Thread Alex Queiroz
Hallo,

On Fri, Jun 3, 2011 at 7:06 PM, Peter Bex peter@xs4all.nl wrote:

 It's not in core mostly because it would make things slower (though I'm
 not 100% convinced of that; there's type dispatching for fixnums/flonums
 already anyway) and because it is an extra-large additional pile of code.


 Indeed, I don't buy the slowness argument either. Make fixnums be
the fast path and branch prediction will do the rest.

-- 
-alex
http://www.artisancoder.com/

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] German Lisp Workshop at the CCC in Cologne

2011-03-14 Thread Alex Queiroz
Hallo,

On Sun, Mar 13, 2011 at 11:43 PM, Ivan Raikov ivan.g.rai...@gmail.com wrote:

  Apparently, there is also a Common Lisp implementation of readline
 (MIT-licensed):

 http://common-lisp.net/project/linedit/

 It looks baroque, but perhaps bits and pieces can be scavenged for a
 minimal Chicken readline.


 It would probably be easier to steal something from Gambit-C's gsi.

-- 
-alex
http://www.artisancoder.com/

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] IPhone

2009-04-13 Thread Alex Queiroz
Hallo,

On 4/13/09, felix winkelmann bunny...@gmail.com wrote:
 On Thu, Apr 9, 2009 at 11:41 PM, Nicholas Indy Ray arel...@gmail.com 
 wrote:
   I think actually getting it running should be trivial, interfacing
   with cocoa might be a bit harder, but not impossible. I figure the
   largest problems is that the Apple developer agreement has strict
   requirements against GC, and in a GC language I figure it's likely to
   run up against the memory limit, and get the IPhone kernel to kill the
   app before you have a chance to GC.


 This is so crazy. As if GC'd memory management would be less safe
  the manual memory management. The absurdity is breathtaking.

  (this is just a general side note about Apple's policies - not about
  your comment)


 I am not agreeing with Apple at all, but they might be afraid of GC pauses.

-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] IPhone

2009-04-13 Thread Alex Queiroz
Hallo,

On 4/13/09, Elf e...@ephemeral.net wrote:

 
 I am not agreeing with Apple at all, but they might be afraid of GC
 pauses.
 
 

  how would they know its a gc pause?  it would just look like a bunch of
 memory
  accesses to them.


 They might be afraid of how GC pauses may give the user the
impression of slowness.

-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] IPhone

2009-04-13 Thread Alex Queiroz
Hallo,

On 4/13/09, Elf e...@ephemeral.net wrote:

  opposed to how the browser, window collapser, window expander, history, and
  general ui give the user an impression of slowness? :)


 Do not argue with me, argue with them.

-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] trac instancesy

2009-04-07 Thread Alex Queiroz
Hallo,

On 4/7/09, Elf e...@ephemeral.net wrote:

  The new trac instances run by Ivan are at www.chicken-scheme.org and
 www.chickenscheme.org .  Thanks be to Eric for the redirect.


 Good work, but I believe it would be better to redirect here:

http://www.irp.oist.jp/trac/chicken

-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-27 Thread Alex Queiroz
Hallo,

On 3/27/09, Leonardo Valeri Manera l.valeriman...@gmail.com wrote:
 Ok, you need coreutils, but without link - for cat. Possibly you just need 
 cat?

  So far so good, now it dies at:

  link -nologo  chicken-bug.obj -out:chicken-bug.exe \
   libchicken-static.lib ws2_32.lib advapi32.lib
  cc-c -o chicken.import.o chicken.import.c
  process_begin: CreateProcess(NULL, cc -c -o chicken.import.o
  chicken.import.c, ...) failed.
  make (e=2): The system cannot find the file specified.
  make[1]: *** [chicken.import.o] Error 2

 make[1]: Leaving directory `D:/software/Dev/Chicken/chicken-4.0.0'
  make: *** [all] Error 2


 The MS compiler is 'cl.exe'.

-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Alex Queiroz
Hallo,

On Thu, Mar 26, 2009 at 4:50 PM, Leonardo Valeri Manera
l.valeriman...@gmail.com wrote:
 MSYS sh (and possibly the MSYS-* apps) do really convoluted quote,
 slash and path mangling to make sh on windows feel like sh on unix.


 I guess the point is that you can build Chicken with MinGW +
cmd.exe and use it inside MSYS without problems. Thus, no need for
both makefiles.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-26 Thread Alex Queiroz
Hallo,

[Putting chicken-users back...]

On Thu, Mar 26, 2009 at 5:00 PM, Leonardo Valeri Manera
l.valeriman...@gmail.com wrote:
 That's true, but you can't build chicken with mingw+cmd.exe using
 MSYS' make. As I found out today. It will hilariously fail to find
 basic stuff because its convinced the paths are different. I'm not
 sure what happens when you try to build eggs, but I'm sure that's
 another fertile breeding ground for hilarious failtrains.

 Anyways, on a completely different topic, it should build with all
 versions of MSVC ya? I'm gonna try 2k8 and 2k8+ICC11 tomorrow.


 Yes, you cannot. That's why you should use *MinGW*'s make.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] egg announcement: remote-repl

2008-08-19 Thread Alex Queiroz
Hallo,

On Tue, Aug 19, 2008 at 11:52 AM, Jörg F. Wittenberger
[EMAIL PROTECTED] wrote:
 There are IMHO more important things we should concentrate on.  There's
 still

 a) a broken SRFI-34 egg - something easily ignored

 b) a race condition in the scheduler (which's fix I meanwhile fixed wrt.
 to multiple threads waiting for the same fd, though I would not expect
 that to ever happen; but I got tired of reposting) - this one definately
 needs to be handled by the scheduler; it's impossible to overwrite the
 relevant part (at least if the doc's are right [hint]) and absolutely
 necessary if you don't want your progs run havoc when a fd becomes
 invalid for whatever reason.

 c) Sometimes I get my app eating all memory just after a fork and before
 I come to process-execute.  Since I disabled interrupts in this section
 already, I'm sort of lost.  If someone had an idea what the hell that
 one could possibly be...


 I don't know how many eggs you are currently using, but I guess I
should point out that Gambit-C has working SRFIs 18 and 34. It also
has Termite, another look at multithreading.

Cheers,
-- 
-alex
http://www.ventonegro.org/
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] google summer of code

2008-03-05 Thread Alex Queiroz
Hallo,

On Wed, Mar 5, 2008 at 11:05 AM, felix winkelmann [EMAIL PROTECTED] wrote:

  If you'd like to help or suggest something, please provide input
  in the next days. I will be gone over the weekend, but am back at the
  start of next week.


 I'd like to suggest work on:

1) The GTK+ bindings
2) The ability to consume CLR libraries
(http://repository.readscheme.org/ftp/papers/sw2003/Dot-Scheme.pdf)

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] google summer of code

2008-03-05 Thread Alex Queiroz
Hallo,

On Wed, Mar 5, 2008 at 1:52 PM, Heinrich Taube [EMAIL PROTECTED] wrote:
  2. superhard: realtime gc =:)


 Well, that would mean a brand new implementation of Chicken.

-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Unfair question: best Lisp for web development?

2008-02-27 Thread Alex Queiroz
Hallo,

On Wed, Feb 27, 2008 at 4:08 PM, Peter Bex [EMAIL PROTECTED] wrote:

  This is no longer true according to David.  He tells me he has fixed
  sendfile so it will work in Windows.  Or is there something else that
  prevents Spiffy from working under Windows?  If so, please create a
  ticket in Trac and I will investigate.


 Yes, I was talking about sendfile. As I am using a modified
spiffy egg, I don't know  if the current sendfile solves the problem.
I am going to take a look, though.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: A few questions

2008-01-31 Thread Alex Queiroz
Hallo,

On Jan 31, 2008 2:27 PM, Elf [EMAIL PROTECTED] wrote:

 we could just define a special form
 (define-with-docstring name|lambda list list|string body...)
 which would just be syntactic sugar for a define and a procedure-data.
 this of course leaves variables and macros undefined.


Stealing names from Common Lisp:

(define-macro (describe name)
`(get ,name 'docstring ))

(define-macro (defun name args docstr . body)
   `(let ()
  (define ,name (lambda ,args ,@body)
  (put! ,name 'docstring ,docstr)))

(define-macro (defvar name docstr value)
`(let ()
   (define ,name ,value)
   (put! ,name 'docstring ,docstr)))

(define-macro (defmacro name args docstr . body)
 `(let ()
(define-macro (,name ,@args) ,@body)
(put! ,name 'docstring ,docstr)))

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: A few questions

2008-01-31 Thread Alex Queiroz
Hallo,

On Jan 31, 2008 2:51 PM, David Brown [EMAIL PROTECTED] wrote:
 On Thu, Jan 31, 2008 at 02:43:39PM -0200, Alex Queiroz wrote:

 (define-macro (defun name args docstr . body)
`(let ()
   (define ,name (lambda ,args ,@body)
   (put! ,name 'docstring ,docstr)))

 In common lisp, the docstring is optional.  Basically, if (string?
 docstring) then use it, otherwise it is the beginning of the body.


 Well, I was stealing *names*. :-)

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] A few questions

2008-01-29 Thread Alex Queiroz
Hallo,

On Jan 29, 2008 3:47 PM, Hans Nowak [EMAIL PROTECTED] wrote:

 1. Does Chicken (or Scheme in general) support docstrings?


 No and no.


 Is there a way to do something similar in Chicken?  Or, in other words, is
 there a way for Chicken code to tell if it's being run a script, or being
 loaded as auxiliary code?


 Create a MAIN function (the name does not matter). When compiling
a stand-alone application, add this to the csc command line:

$ csc -postlude (main)


 But I cannot do the same thing with macros:

#;6 (define-macro (m x) `,x)
#;7 (m 3)
3
#;8 m
 Error: unbound variable: m

 Why is that?  There is probably a good reason why I cannot type 'm' and get
 back something like '#macro (m x)', but what is that reason?  Also, is there
 a way to get a list of defined macros?


 Macros are not first-class objects in Scheme. They are used to
preprocess your code before evaluation, therefore they don't live in
the environment. You can test the expasion of a macro with the
MACROEXPAND-1 procedure.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] printf in libchicken.a ?

2008-01-24 Thread Alex Queiroz
Hallo,

On Jan 24, 2008 3:16 PM, Rick Taube [EMAIL PROTECTED] wrote:
 hi are 'printf' and friends supposed to be in libchicken.a ??  I cant
 tell from the documentation about unit 'extras' if its supposed to be
 in the lib or not. im attempting to statically link to libchicken.a
 on osx/ppc but printf fprintf and sprintf dont get resolved.


 I don't believe that Chicken's printf results in a _printf
symbol. The problem seems to be the lack of libc's printf.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: Strange observation: Chicken, C, C++: Joe Average does benchmarking

2007-12-19 Thread Alex Queiroz
Hallo,

On Dec 18, 2007 11:33 PM, Zbigniew [EMAIL PROTECTED] wrote:
 I take it the 64-bit build works, then? :)

 The optimization options for Chicken on OS X are pretty conservative:
 only -Os -fomit-frame-pointer.  Your options are probably better.
 But, I noticed you didn't add -m64 to your C++ compile to activate
 64-bit mode, which adds a bunch of extra CPU registers as well.


 On x86-64 GCC uses -m64 by default, unless Apple changed something.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] New elevator-pitch page

2007-12-03 Thread Alex Queiroz
Hallo,

On Dec 3, 2007 2:26 AM, John Cowan [EMAIL PROTECTED] wrote:
 I've added a wiki page based closely on Graham Fawcett's elevator pitch
 posting to this list.  I think it should be linked from the root page.
 Can someone with authority do that?  Thanks.


 What's the page?

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-26 Thread Alex Queiroz
Hallo,

On 10/26/07, Elf [EMAIL PROTECTED] wrote:

 heh, none of these are going to work everywhere.  all posix extensions are
 custom.  the only i/o procs in the standard are call-with-[input|output]file,
 with-[input|output]-to-file, current-[input|output]-port, 
 [input|output]-file?,
 [open|close]-[input|output]-file, write, display, read, load, eof-object?,
 newline, and the lovely and never implemented transcript-[on|off].  i know
 im missing some (character one, prolly), but the point is that the standard
 basically only says 'you need to be able to interact with the system' in terms
 of its i/o specification.  there has never been a general posix.1003 or 
 posix.2
 srfi submitted (or at least there has never been one posted).


 Yes, that's why a low-level egg is needed that uses POSIX where
available and (sigh) the Win32 API in Windows systems. In the ideal
world I would use only POSIX OSes, but unfortunately I can't and I'd
rather use scheme everywhere.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-26 Thread Alex Queiroz
Hallo,

On 10/26/07, Elf [EMAIL PROTECTED] wrote:


 (re: the daemon question, i would just use
   (foreign-lambda int daemon int int) ,
   but thats just me.)


 A very nice solution... If it worked (everywhere).

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Build failure on mixed 32/64 Linux

2007-10-18 Thread Alex Queiroz
Hallo,

On 10/18/07, John Cowan [EMAIL PROTECTED] wrote:
 I'm trying to build Chicken on a x86_64 Linux system where i486 is the
 target (IOW, 64-bit kernel with 32-bit userland).  That doesn't work.

 Here's the failure point:


 Your config-arch.sh script is guessing the amd64 arch but your C
compilers wants 32-bit code. You can simply tweak config-arch.sh to
return x86 for the time being. In the long run the Makefiles can be
changed to use an ARCH variable given in the command line.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Imlib2 question

2007-09-25 Thread Alex Queiroz
Hallo,

On 9/25/07, Peter Bex [EMAIL PROTECTED] wrote:
 On Tue, Sep 25, 2007 at 09:04:19AM -0400, William Ramsay wrote:
  Once I spelled receive correctly it works like a champ.   Thanks.I
  cannot
  get over what a great language Scheme is and what a great system Chicken is.
  Why would anyone use anything else?

 Would you mind convincing my boss?  :)


 Get into the queue! :-)

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Imlib2 question

2007-09-24 Thread Alex Queiroz
Hallo,

On 9/24/07, William Ramsay [EMAIL PROTECTED] wrote:
 Hi,

 Can anyone explain to me how to get the four values from the imlib2 egg
 procedure  (imlib:pixel/rgba img x y)?   It seems to only return the
 first value,
 but it's supposed to return four values.   This may be more of a scheme
 question than an imlib2 question, but either way I can't seem to get it
 to work.


 Are you using RECEIVE or LET-VALUES?

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Help w/ PCRE 7.4 migration

2007-09-24 Thread Alex Queiroz
Hallo,

On 9/24/07, Kon Lovett [EMAIL PROTECTED] wrote:

 I need the config.h files produced by PCRE 7.4 (ftp://
 ftp.csx.cam.ac.uk/pub/software/programming/pcre/) 'configure --enable-
 unicode-properties' from the following OS:

 Solaris 9   Sparc

 NetBDS  PowerPC  x86-64

 Linux   PowerPC  x86-64  x86  Alpha  ARM/XScale

 (http://galinha.ucpel.tche.br/portability except for MacOS PowerPC 
 Windows/MinGW32)


 Attached there is the config file for Linux x86-64.

Cheers,
-- 
-alex
http://www.ventonegro.org/


config.h
Description: Binary data
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] stable version?

2007-09-21 Thread Alex Queiroz
Hallo,

On 9/21/07, John Cowan [EMAIL PROTECTED] wrote:
 Shawn Rutledge scripsit:

  It would be nice if there were auto-generated stable Windows (and
  Mac) binaries too.  It's just make PLATFORM=cross-linux-mingw for
  Windows, right?

 I don't really see much point.  Windows users may like installable binaries
 (I did too when I was being a Windows user) but the target for Chicken
 is developers.  Developers shouldn't be afraid to compile code.


 So only Unix developers are welcome? Because today Chicken is
very difficult to compile on Windows, it's not just a case of
lazyness.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] stable version?

2007-09-21 Thread Alex Queiroz
Hallo,

On 9/21/07, Peter Bex [EMAIL PROTECTED] wrote:

 Moral of the story is: Any system is supported as long as there is someone
 there to actually provide that support.  Otherwise it's not going to happen.


 Fair enough.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] (include) in (repl)

2007-09-20 Thread Alex Queiroz
Hallo,

On 9/20/07, Dan Muresan [EMAIL PROTECTED] wrote:
 Hi,

 if I compile x.scm which contains simply

 (repl)

 with

 csc -v -R syntax-case -run-time-macros x.scm

 I get the following error during (repl) execution:

 $ ./x
 #; (require 'syntax-case)
 ; loading /opt/chicken-2.7/lib/chicken/2/syntax-case.so ...
 ; loading /opt/chicken-2.7/lib/chicken/2/syntax-case-chicken-macros.scm ...
 Warning: the following toplevel variables are referenced but unbound:
when (in one-file.481)

 #; (include none.scm)
 ; including none.scm ...
 Error: unbound variable: when

 Am I doing something wrong? This is the current development snapshot
 of Chicken, but it seems to happen in 2.6 as well for me (and I didn't
 have this problem in 2.5).


 Use the following x.scm:

=
(cond-expand
   (compiling (include chicken-more-macros))
   (else))

(repl)
=

 and compile as you did.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Extending R5RS

2007-09-13 Thread Alex Queiroz
Hallo,

 It seens that the revolution is on the way:

http://groups.google.com/group/comp.lang.scheme/browse_thread/thread/758f28cdc6058cf6?hl=en

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Seg fault in lookup-table egg

2007-08-23 Thread Alex Queiroz
Hallo,

On 8/22/07, felix winkelmann [EMAIL PROTECTED] wrote:

 I have experienced this problem several times myself. What usually
 helps is reinstalling all eggs that use misc-extn. Is there unsafe code
 in there?


 Kon told me in private email to completely remove misc-extn and
reinstall. It is working fine now.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Eggology

2007-08-21 Thread Alex Queiroz
Hallo,

On 8/21/07, Benedikt Rosenau [EMAIL PROTECTED] wrote:

 Today, I ran an upgrade because 'chicken-meta-setup check'
 showed new eggs. However after installing the new tinyclos,
 misc-extn, and lookup-table eggs, a new check with
 chicken-meta-setup failed because that crashes.


 Kon told me to rm -f eggs/misc-extn* and reinstall. That solved
the problem.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Seg fault in lookup-table egg

2007-08-20 Thread Alex Queiroz
Hallo,

On 8/20/07, Kon Lovett [EMAIL PROTECTED] wrote:

 On Aug 20, 2007, at 6:46 AM, Alex Queiroz wrote:

  Hallo,
 
   After updating to the latest lookup-table egg, I get seg faults
  in chicken-meta-setup check, both in x86 and x86-64 Linux boxes.
 

 I don't. If misc-extn is out-of-date then a problem, but the .setup
 specifies rel 3.0 of misc-extn so it shouldn't build anyway.

 (I didn't bump the relno for lookup-table. Just posted 1.501)


 misc-extn is updated to the latest version.

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Scheme is dead, long live Scheme

2007-08-17 Thread Alex Queiroz
Hallo,

On 8/17/07, John Cowan [EMAIL PROTECTED] wrote:
 Ivan Raikov scripsit:

 Well, I see no need to start pining for the good old days yet, as
  like you say we still have R5RS and Chicken at our
  disposal. Unfortunately, if R5RS implementations do continue to vastly
  outnumber R6RS implementations, the language will be split in two
  camps,

 The language is massively fragmented already, so this is nothing new.


 Yeah, why write a report that would make things better?

  But that's what you get when the Editors' Committee chooses to wish
  away the reality of existing Schemes,

 I prefer the view of the ANSI/ISO C standards committee:  Old code
 is important; old implementations are not.  Even Sun has now been
 dragged kicking and screaming into the ISO C age.


 The difference is that the C standard usually gets better...

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Fwd: Queinnec's Lisp in Small Pieces for CAN$3.95+shipping

2007-08-09 Thread Alex Queiroz
Hallo,

On 8/9/07, Brandon Van Every [EMAIL PROTECTED] wrote:
 
  LiSP is now their #1 bestseller, bigger even than Harry Potter!

 That's a joke, right?  How would I compare sales numbers of Amazon
 books?  I'm reading the 7th Harry Potter book now.


http://www.amazon.ca/gp/bestsellers/books/

Cheers,
-- 
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Happy birthday, Chicken!

2007-07-20 Thread Alex Queiroz

Hallo,

On 20 Jul 2007 00:25:07 -0300, Mario Domenech Goulart
[EMAIL PROTECTED] wrote:

Hi folks,

Today is Chicken's 7th birthday (see
http://groups.google.com/group/comp.lang.scheme/msg/edfb2da16fd89fae).



Yay for the Mighty Chicken!


Thanks Felix and all the contributors who help Chicken grow. :-)



+1!

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] gdbm and windows

2007-07-16 Thread Alex Queiroz

Hallo,

On 7/16/07, Martin DeMello [EMAIL PROTECTED] wrote:

Does anyone know if chicken/gdbm works on windows? I have an app using
GDBM that I'd like to port to windows at some point, but I don't
actually have a windows setup to try it on right now. Should I be
making plans to move it over to sqlite3 or something?



I don't know about GDBM, but I can tell the sqlite3 egg is very neat.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] FLTK and CEGUI

2007-07-10 Thread Alex Queiroz

Hallo,

On 7/10/07, Brandon Van Every [EMAIL PROTECTED] wrote:


I realize that not everyone's a game developer or cares about such
capabilities.  But I thought I would mention it since it's something I
might be interested in.  It deserves consideration for those who think
an OpenGL based GUI is the way to go.  Also the license is better:
CEGUI is MIT, FLTK is LGPL.



FIY, for non-native widgets there is also Agar:

http://www.hypertriton.com/agar/

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] passing a string to foreign-lambda*

2007-07-08 Thread Alex Queiroz

Hallo,

On 7/8/07, Martin DeMello [EMAIL PROTECTED] wrote:

Is there any way to do this?

(define str hello)
(foreign-lambda* int ((int x)) str)



(define str Hello)

(define my-func
(let ((foreign (foreign-lambda* int ((int x) (c-string str))
 do stuff with x and str...)))
  (lambda (x)
(foreign x str

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] passing a string to foreign-lambda*

2007-07-08 Thread Alex Queiroz

Hallo,

On 7/8/07, Martin DeMello [EMAIL PROTECTED] wrote:


No, I don't want to pass str into the foreign function, i want str to
*be* the foreign function. That is, I want to use a variable rather
than an explicit string, or a macro that generates and inserts a
string into the right place.



So you want foreign-lambda, and not foreign-lambda*.

(define-macro make-foreign
  (lambda (name)
`(define ,name (foreign-lambda int ,(symbol-string name) int

Usage:

(map make-foreign '(func1 func2 func3))

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] passing a string to foreign-lambda*

2007-07-08 Thread Alex Queiroz

Hallo,

On 7/8/07, Alex Queiroz [EMAIL PROTECTED] wrote:


Usage:

(map make-foreign '(func1 func2 func3))



Ooops. Sorry, you can't do that because make-foreign is not a variable.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] passing a string to foreign-lambda*

2007-07-08 Thread Alex Queiroz

Hallo,

On 7/8/07, Alex Queiroz [EMAIL PROTECTED] wrote:


 Ooops. Sorry, you can't do that because make-foreign is not a variable.



I guess this is better:

(define-macro make-foreign
 (lambda (funcs)
   (map
(lambda (func)
  `(define ,func (foreign-lambda int ,(symbol-string func) int)))
funcs)))

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Complaining as ordered: pre-declare-external?

2007-07-08 Thread Alex Queiroz

Hallo,

On 7/8/07, Robin Lee Powell [EMAIL PROTECTED] wrote:


(I was ordered to complain by the Cowan)

I have code that calls (with easyffi) a C library function.  One
argument is a function.  I've defined, with define-external, the
scheme function play.  I pass a pointer to play to the C library
function with (location play).  This breaks if play is not defined
on the same Scheme source file as the C library function call.

I'll let jcowan speak to the details, as I don't get it.

18:17  jcowan You need (location play) because that's the only
way to pass a C pointer to a function (afaik)



I don't know if this applies to the easyFFI, but one can use the
functions defined with (define-external) in (foreign-lambda*) bodies,
which have been useful to me.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] A Kudo

2007-07-08 Thread Alex Queiroz

Hallo,

On 7/8/07, Robin Lee Powell [EMAIL PROTECTED] wrote:


I'm thinking of writing an FFI tutorial for people who just want it
to work sort of page.  Where is the best place to put such a thing?



Put it in the wiki:

http://chicken.wiki.br/tutorials

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] preferred gui library

2007-07-05 Thread Alex Queiroz

Hallo,

On 7/5/07, Martin DeMello [EMAIL PROTECTED] wrote:


The Motif bit is offputting, but this looks like a very interesting
library - as you said, it's increasingly hard to find something that
is just a GUI. How did you discover it? I've never come across it
before.



It's developed at the same university of one of my preferred
languages, Lua.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] wxWidgets

2007-07-05 Thread Alex Queiroz

Hallo,

On 7/5/07, Brandon Van Every [EMAIL PROTECTED] wrote:

Ok, so, like, refresh my memory why people object to wxWidgets.
Because, you know, like, it seems a pretty obvious choice for
cross-platform GUI work.  http://www.wxwidgets.org

Is this about C++?



   Yes, and it's not just a GUI library (bloat), and is very big to
be bound by one person in a timely fashion.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] preferred gui library

2007-07-04 Thread Alex Queiroz

Hallo,

On 7/3/07, Martin DeMello [EMAIL PROTECTED] wrote:


I'm not really focused on a professional GUI - what I need is
i. A reasonably complete set of bindings
ii. A pleasant GUI development experience (I'd use OCaml, but lablgtk
is pretty ugly)
iii. The ability to deliver native executables on Linux and Windows at
least, preferably OS X as well



I was looking for something:

+ With native controls;
+ MIT or BSD-licensed;
+ Lightweight and *just* a GUI;
+ C, not C++;
+ Works in Linux  Windows, at least.

I couldn't find anything that covered all of this, so started an
IUP[1] binding. Unfortunately, under X11, it uses OpenMotif as a
backend, but the upcoming 3.0 version will have GTK+ as well. So far,
OpenMotif works for me.
Although the API is very small, the egg is far from finished
though, so probably this is not what you want. Otherwise, feel free to
ask more.

[1] - http://www.tecgraf.puc-rio.br/iup/

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] preferred gui library

2007-07-04 Thread Alex Queiroz

Hallo,

On 7/4/07, Brandon Van Every [EMAIL PROTECTED] wrote:

On 7/4/07, Alex Queiroz [EMAIL PROTECTED] wrote:

 + Lightweight and *just* a GUI;

  Although the API is very small, the egg is far from finished
 though, so probably this is not what you want. Otherwise, feel free to
 ask more.

Felix was intoning lightweight back when we had that GUI discussion.
 As I said then, the problem with that approach is, everyone wants
different versions of lightweight.  So by the time you get done
pleasing everybody, which is what needs to happen for projects to
become standardized, stable, well supported, and widely adopted, it's
not lightweight anymore.  At best it's middleweight and more typically
it becomes heavyweight.



The problem is the pleasing everybody part. I've read that GUI
thread and realised that a consensus was not achieved by the Elder
Ones. My need for a GUI is urgent (I almost switched to PLT). So,
instead of jumping into that endless discussion, I started hacking my
own egg, which primarily address my needs. The IUP API is so small I
had a working egg in a couple of days, and since I need just a few
widgets besides an OpenGL canvas, it's perfect for me.
The project started with a selfish goal but, if anyone finds IUP,
within its limitations, useful, I have nothing against sharing code
and joining efforts.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Noob question: (re)compile FFI-accessing code within REPL

2007-07-02 Thread Alex Queiroz

Hallo,

On 7/2/07, Martin Percossi [EMAIL PROTECTED] wrote:


All in all, I'm very satisfied with Chicken, and will continue to use
chicken for my scheme programming on Unix. I will however, steer clear
of windows, at least until I'm better at scheme programming and I can do
better than just pepper chicken-setup.scm with (print Got here!)
statements...



I use Chicken under Windows on a daily basis, and I am very
satisfied. Perhaps asking questions here instead of giving up entirely
can give better results?

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Noob question: (re)compile FFI-accessing code within REPL

2007-07-02 Thread Alex Queiroz

Hallo,

On 7/2/07, Martin Percossi [EMAIL PROTECTED] wrote:


In that case, I have a few questions regarding your setup:
- are you using free compiler tools or MS?


I am using MinGW's GCC, binutils, make etc.


- if you use free compiler tools, do you use msys, or just MinGW?


Just MinGW.


- what build file did you use in CMake -- msys or MinGW?


I've chosen MinGW Makefiles.


- where did you install msys/MinGW? As I mentioned, I put msys in
C:\msys\1.0, and put MinGW in C:\mingw. Is that ok?


My installation directories too.


- did you just install MSYS and MinGW using .exe installers? Or did you
do the install by hand -- i.e. unarchiving the various tarballs on the
MinGW downlad site? What other packages were required?


I got the tarballs:

+ binutils
+ gcc-core
+ w32api
+ mingw32-make
+ mingw32-runtime
+ mingw32-utils


- are you compiling and generally doing things from the MSYS terminal,
or from a CMD.EXE window?


From a CMD.EXE window.


- when I try to compile using chicken-setup inside MSYS, I get gcc
could not create output file -- or something like that (I'm at work
now, so don't have my windows box near me).  When I run in CMD.EXE I get
problems with untarring and unzipping the egg file. Have you seen
similar errors? Are you aware of workarounds?


You must grab gzip and tar for Windows. You can get them at
http://unxutils.sourceforge.net/

Personally, I have a c:\devtools directory hierarchy (bin, lib,
include etc.) with lots of useful tools and libraries.



Any suggestions/help would be much appreciated.



Hope this helps,

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Noob question: (re)compile FFI-accessing code within REPL

2007-07-02 Thread Alex Queiroz

Hallo,

On 02 Jul 2007 10:20:17 -0300, Mario Domenech Goulart 

Maybe you can add those information to the Compiling Chicken on
Windows XP with MinGW tutorial at
http://chicken.wiki.br/compiling-chicken-on-windows-xp-with-mingw



Done.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Noob question: (re)compile FFI-accessing code within REPL

2007-07-02 Thread Alex Queiroz

Hallo,

On 7/2/07, Martin Percossi [EMAIL PROTECTED] wrote:

Alex Queiroz wrote:

 You must grab gzip and tar for Windows. You can get them at
 http://unxutils.sourceforge.net/

 Personally, I have a c:\devtools directory hierarchy (bin, lib,
 include etc.) with lots of useful tools and libraries.

In other words you have, *in addition to C:\msys\1.0 and C:\mingw*, a
directory C:\devtools which contains the hierarchy of unxutils as well
as other utilities you found useful, right? I suppose that you also
added the C:\devtools\bin to you PATH, correct? Does windows require the
equivalent of LD_LIBRARY_PATH to be set to C:\devtools\lib ? Finally,
did you allow CMake to install in its default path (Program File\CMake)
or did you put it in devtools?



Yes, I have c:\devtools\bin in my PATH. There I have cmake,
darcs, wget, gzip, tar etc. as well as Chicken itself. When I
configured the Chicken installation base dir, I set it to c:\devtools.
Static libraries go to c:\devtools\lib, but DLLs go to
c:\devtools\bin, so Windows don't have a problem finding them. Chicken
eggs go to c:\devtools\lib\chicken\1, where Chicken can find them.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Strange sqlite3 egg error

2007-06-25 Thread Alex Queiroz

Hallo,

On 6/25/07, Thomas Christian Chust [EMAIL PROTECTED] wrote:


yes, there is a problem passing #f to sqlite3:exec. The problem is (at
least implicitly) documented and I have (at least twice) described it on
this list ;-)


Sorry for not looking at the archives, and thanks for taking the
time to explain it thoroughly once again.



As adding the method to your own code instead of the sqlite3 egg only
costs you about five lines of code but offers more flexibility, I think
my design decision was right -- but I'm open for suggestions of a more
clever solution which automatically does the right thing in many cases.



I know next to nothing about tinyclos at this point, so I guess
I'll just use . :-)

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] GCC warnings

2007-06-17 Thread Alex Queiroz

Hallo,

On 6/14/07, felix winkelmann [EMAIL PROTECTED] wrote:

Hi, Alex

Did you change the CFLAGS?
How did you configure/build chicken?



I built a Debian package using code provided by someone in the
Debian bug tracker. Attached to this email is the diff against stock
2.6.

Cheers,
--
-alex
http://www.ventonegro.org/


chicken_2.6-1.diff.gz
Description: GNU Zip compressed data
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] GCC warnings

2007-06-13 Thread Alex Queiroz

Hallo,

In #chicken Felix said he gets no warnings with GCC 4.x during
compilation with Chicken. I was on Windows then, but now, as promised,
I get lots of these:

iup.c: In function 'f_844':
iup.c:4527: warning: unused variable 'a'
iup.c:4525: warning: unused variable 'tmp'

Code:

/* k842 in k839 in canvas_action_cb in k815 in k811 in k808 in k805 */
static void C_ccall f_844(C_word c,C_word t0,C_word t1){
C_word tmp;
C_word t2;
C_word *a;
if(C_truep(t1)){
C_trace(iup.scm: 82   func);
t2=t1;
((C_proc5)C_retrieve_proc(t2))(5,t2,((C_word*)t0)[5],((C_word*)t0)[4],((C_word*)t0)[3],((C_word*)t0)[2]);}
else{
t2=((C_word*)t0)[5];
((C_proc2)(void*)(*((C_word*)t2+1)))(2,t2,C_SCHEME_UNDEFINED);}}


And these:

iup.c:4544: warning: dereferencing type-punned pointer will break
strict-aliasing rules

Code:

if(!C_stack_probe(a)){

My box is Debian GNU/Linux 4.0 kernel 2.6 x86-64 GCC 4.1 3.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] [Scheme Steering Committee announcements] Will Clinger has resigned from the Editors Committee

2007-06-05 Thread Alex Queiroz

Hallo,

On 6/5/07, felix winkelmann [EMAIL PROTECTED] wrote:

On 6/4/07, Mitchell Wand [EMAIL PROTECTED] wrote:
 We are sorry to report that Will Clinger has resigned from the Editors
 Committee, effective on May 21, 2007.  We accept his resignation with regret
 and thank him for his service.

 According the Charter, the Steering Committee has three months to replace a
 resigning editor.  The Steering Committee has therefore decided to wait
 until after the ratification ballot before taking steps to replace him.


There goes another one...



Felix! Felix! Felix!

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Gtk with easyFFI

2007-06-04 Thread Alex Queiroz

Hallo,

On 6/4/07, felix winkelmann [EMAIL PROTECTED] wrote:

What errors do you get?



./gtk2-extract-all-types 'gdk_.*_get_type' `pkg-config --cflags
gtk+-2.0`  gdk-types; \
   split -l 60 -d gdk-types gdk-types-
Error: (directory) cannot open directory - No such file or directory:
-DPNG_NO_MMX_CODE

   Call history:

   gtk2-extract-all-types.scm: 23   argv
   gtk2-extract-all-types.scm: 79   argv
   gtk2-extract-all-types.scm: 80   argv
   map
   gtk2-extract-all-types.scm: 85   string-substitute
   gtk2-extract-all-types.scm: 84   map-directory
   gtk2-extract-all-types.scm: 31   directory?
   gtk2-extract-all-types.scm: 40   directory  --

./gtk2-extract-all-types 'gtk_.*_get_type' `pkg-config --cflags
gtk+-2.0`  gtk-types; \
   split -l 60 -d gtk-types gtk-types-
Error: (directory) cannot open directory - No such file or directory:
-DPNG_NO_MMX_CODE

   Call history:

   gtk2-extract-all-types.scm: 23   argv
   gtk2-extract-all-types.scm: 79   argv
   gtk2-extract-all-types.scm: 80   argv
   map
   gtk2-extract-all-types.scm: 85   string-substitute
   gtk2-extract-all-types.scm: 84   map-directory
   gtk2-extract-all-types.scm: 31   directory?
   gtk2-extract-all-types.scm: 40   directory  --

csc -DPNG_NO_MMX_CODE -C -I/usr/include/gtk-2.0 -C
-I/usr/lib/gtk-2.0/include -C -I/usr/include/atk-1.0 -C
-I/usr/include/cairo -C -I/usr/include/pango-1.0 -C
-I/usr/include/glib-2.0 -C -I/usr/lib/glib-2.0/include -C
-I/usr/include/freetype2 -C -I/usr/include/libpng12 -lgtk-x11-2.0 -L
-lgdk-x11-2.0 -L -latk-1.0 -L -lgdk_pixbuf-2.0 -L -lm -L
-lpangocairo-1.0 -L -lfontconfig -L -lXext -L -lXrender -L -lXinerama
-L -lXi -L -lXrandr -L -lXcursor -L -lXfixes -L -lpango-1.0 -L -lcairo
-L -lX11 -L -lgobject-2.0 -L -lgmodule-2.0 -L -ldl -L -lglib-2.0
-run-time-macros -o wrap wrap.scm
Error: (open-input-file) during expansion of
(gtype:init-types-from-file ...) - can not open file - No such file or
directory: gdk-types-00

   Call history:

   syntax(begin (gtype:init-types-from-file
gdk-types-00))
   syntax(gtype:init-types-from-file gdk-types-00)
   eval  (##sys#cons (quote foreign-code) (map (lambda
(name) (string-append g_type_name ( name ());\n))...
   eval  (map (lambda (name) (string-append
g_type_name ( name ());\n)) (with-input-from-file filename
re..
   eval  (with-input-from-file filename read-lines)  --
*** Shell command terminated with exit status 70: /usr/bin/chicken
wrap.scm -output-file wrap.c -quiet -feature PNG_NO_MMX_CODE
-run-time-macros
make: ** [wrap] Erro 70

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken and stalin

2007-06-04 Thread Alex Queiroz

Hallo,

On 6/4/07, Brandon Van Every [EMAIL PROTECTED] wrote:


Reading this thread, all I can say is man what a bunch of goofy
noodlers you are!  :-)  I can't even fathom the practical motivation
to do any of this, seeing as Stalin is the most user unfriendly and
unsupported Scheme distribution out there.


Speed.

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Gtk with easyFFI

2007-06-03 Thread Alex Queiroz

Hallo,

On 6/3/07, felix winkelmann [EMAIL PROTECTED] wrote:


It is currently hidden and only accessible via svn (a choice
by Tony Sidaway, the author). You can get it like this:



Did not build here buy hey, maybe that's why it's hidden. :-)

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Gtk with easyFFI

2007-06-02 Thread Alex Queiroz

Hallo,

On 6/1/07, William Ramsay [EMAIL PROTECTED] wrote:


Chicken combined with Gtk is the best GUI programming system I have ever
used, and I've used most of them.This is a great system with this
one minor glitch



Have you tried the Gtk+ egg?

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Disappearing functions from DLL

2007-05-23 Thread Alex Queiroz

Hallo,

On 5/23/07, felix winkelmann [EMAIL PROTECTED] wrote:


Sorry, but I need more information or some test code to help here.
Do you compile in unsafe mode? Does disappear mean they
are not there, or do references trigger the above error?
After loading, does (apropos stringpattern) list the functions
exported from the dll?



I guess the code will be useless unless you install IUP. :-(

- I compile with just -s (not unsafe, not optimizing)
- (apropos) is not defined here
- Disappear means undefined variable when I call the function

One funny thing: When I put (display iup:main-loop) at the
beginning of file, #procedure (iup:main-loop) is shown and the
function is available from now on. Previously it wasn't.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Disappearing functions from DLL

2007-05-22 Thread Alex Queiroz

Hallo list,

I've come across a strange problem. I've written a binding for a
C library, that I compile as a DLL. I then try to interpret another
file with csi, which loads my DLL. The strange part is that some of my
functions disappear! All of them are defined with foreign-lambda and
some of them are ok, but others are not. The error I get is the
following:

Error: call of non-procedure: Error: unprintable non-immediate object encountere
d

   Call history:

   eval  [make-bezier-curve] (make-point x y z)
   eval  [make-point] (##sys#make-structure (quote point) x y z)
   eval  [draw-bezier-curve] (gl:Vertex3f (point-x q) (point-y q)
(point-z q))
   eval  [draw-bezier-curve] (point-x q)
   eval  [point-x] (##sys#check-structure x (quote point))
   eval  [point-x] (##sys#block-ref x 1)
   eval  [draw-bezier-curve] (point-y q)
   eval  [point-y] (##sys#check-structure x (quote point))
   eval  [point-y] (##sys#block-ref x 2)
   eval  [draw-bezier-curve] (point-z q)
   eval  [point-z] (##sys#check-structure x (quote point))
   eval  [point-z] (##sys#block-ref x 3)
   eval  [draw-bezier-curve] (gl:End)
   eval  [on-paint] (iupgl:swap-buffers ih)
   eval  [artisan-run] (iup:destroy! main-window)
   eval  [artisan-run] (iup:close)   --

The problem is the same with Darcs head from yesterday and
release 2.6. The platform is MinGW Win32, and both were built with
CMake. Both PCs are i386s running WinXP.

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] R6RS

2007-05-18 Thread Alex Queiroz

Hallo,

On 5/18/07, Stephen Ramsay [EMAIL PROTECTED] wrote:


I'd love it if someone could point me to some kind of bottom-line
overview of the new standard (what's new, what's being discarded,
etc.)  I've hunted around for such a thing and browsed through the
spec itself, and while I see lots of detailed discussion about it, I
haven't really been able to find a highlight reel for the new
standard.



I've read the spec, and I'd say the most important change is the
addition of libraries. Today all the major implementations have
different syntaxes for creating libraries/modules, and r6rs now comes
with official syntax and semantics for that.
Also, there are the standard libraries.

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] file-exists? on Windows

2007-05-14 Thread Alex Queiroz

Hallo,

On 5/14/07, Kon Lovett [EMAIL PROTECTED] wrote:


Maybe require Cygwin for Spiffy?



I hope this won't be necessary, since it would jeopardize the
product I'm about to deploy to a client.

--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Binding function which takles multiple values

2007-05-11 Thread Alex Queiroz

Hallo,

On 5/11/07, felix winkelmann [EMAIL PROTECTED] wrote:

But if you want more type-safety, or a general Scheme-interface (not just
use HBox in some code), then you should indeed consider creating a
pointer list in C, or converting a Scheme list to such a pointer list).



Thanks for all the answers. I'm going to create a pointer list in
C, using the code in trac as a starting point.

Cheers,
--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Binding function which takles multiple values

2007-05-10 Thread Alex Queiroz

Hallo,

I've got to bind one of the following functions:

handle* Hbox(Ihandle *child, ...);
handle* Hboxv(Ihandle **children);

Which one is easier in Chicken? I guess I'll have to create a list
using the C API, right?

Cheers,
--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Problems with chicken-setup in MinGW

2007-05-07 Thread Alex Queiroz

Hallo,

I tried to install the crunch egg. It requires the format-modular
egg, which tries to install an object file (format-modular.o).
Chicken-setup, unfortunately, translates the file name to
format-modular.obj, which does not work with MinGW. So I guess this is
a bug. :-)

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Problems with chicken-setup in MinGW

2007-05-07 Thread Alex Queiroz

Hallo,

On 5/7/07, Kon Lovett [EMAIL PROTECTED] wrote:


Known bug. See trac ticket #197: Windows -setup of static w/ .o
vs. .obj extn.



   I should have looked there before. Thanks!

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: url library

2007-05-04 Thread Alex Queiroz

Hallo,

On 5/4/07, Kon Lovett [EMAIL PROTECTED] wrote:


On May 4, 2007, at 6:01 AM, Elf wrote:


 theres a heisenbug in there somewhere, cause when i did chicken-
 setup url
 it failed, but chicken-setup -v url succeeded.  this is odd. :
 (  sorry.

 -elf


Sorry, cannot reproduce:



I was experiencing problems with chicken-setup spíffy the other
day, but now all seems fine.

--
-alex
http://www.ventonegro.org/
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Debian Package

2007-04-23 Thread Alex Queiroz

Hallo,

On 4/22/07, Alex Queiroz [EMAIL PROTECTED] wrote:


 Debian packages for the AMD64 architecture, version 2.6, are in:

http://www.ventonegro.org/chicken/

Their version is 0.1 to allow a smooth upgrade when the official ones hit sid.



Now with i386 packages, too.

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Debian Package

2007-04-22 Thread Alex Queiroz

Hallo,

On 4/22/07, Michael McDermott [EMAIL PROTECTED] wrote:

Here is the release 2.6 package I created for my own system.



Debian packages for the AMD64 architecture, version 2.6, are in:

http://www.ventonegro.org/chicken/

Their version is 0.1 to allow a smooth upgrade when the official ones hit sid.

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Debian package

2007-04-21 Thread Alex Queiroz

Hallo,

Does anybody know if 2.6 is close to hitting Debian unstable?

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Debian package

2007-04-21 Thread Alex Queiroz

Hallo,

On 4/22/07, Ivan Raikov [EMAIL PROTECTED] wrote:


  This is probably a question for Davide Puricelli [EMAIL PROTECTED]
who is the Debian maintainer of the Chicken package. There is
apparently a wishlist item filed for an update to 2.6:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418747



Hmm... I could build a package myself with the attached diff. Thanks!

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Vim mode for .ssp files

2007-04-17 Thread Alex Queiroz

Hallo,

Attached is a quick-hacked vim syntax file for editing scheme
server pages. Dunno if it's useful for anybody, but since it's so
small...

Cheers,
--
-alex
http://www.ventonegro.org/


ssp.vim
Description: Binary data
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: gtk2.egg problem

2007-04-15 Thread Alex Queiroz

Hallo,

On 4/12/07, Glen [EMAIL PROTECTED] wrote:



Chicken is terrific.  Chicken and gtk+ together are especially terrific.



The GTK egg is not listed in the eggs page. Is it because of an
alpha status?

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
[EMAIL PROTECTED]
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] gtk2.egg problem

2007-04-11 Thread Alex Queiroz

Hallo,

On 4/7/07, Glen [EMAIL PROTECTED] wrote:

Hi,

I'm running Chicken 2.6, Gentoo Linux x86, gtk+ 2.10.9.  I'd like to give the
gtk2.egg a try, but chicken-setup give me this error:

./gtk2-extract-all-types 'gdk_.*_get_type' `pkg-config --cflags gtk+-2.0` 
gdk-types; \
split -l 60 -d gdk-types gdk-types-
Error: (apply) parameter limit exceeded



Did you compile chicken with support to libffi?

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] A request

2007-04-04 Thread Alex Queiroz

Hallo,

On 4/4/07, Alex Queiroz [EMAIL PROTECTED] wrote:

On 4/4/07, Kon Lovett [EMAIL PROTECTED] wrote:

 Please evaluate the following on your available platforms  send me
 the results.


mingw32 - windows - unknown : #(18 53 13 4 3 107 3 93 #f 10800)



Fortaleza, CE, Brazil, UTC -03:00

--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] noobie question about chicken/swig/csi

2007-04-02 Thread Alex Queiroz

Hallo,

On 4/2/07, minh thu [EMAIL PROTECTED] wrote:


Well, in fact I found very practical to made that sort of stuff.
Write your C code then just a bit of Scheme so that Chicken is aware
of the C code. Compile, that's it.



I was talking about pure C modules.

Cheers,
--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] noobie question about chicken/swig/csi

2007-04-02 Thread Alex Queiroz

Hallo,

On 4/2/07, Graham Fawcett [EMAIL PROTECTED] wrote:


Do you mean writing Chicken code, compiling it to a library, and
linking it into a pure C application? Or, similarly, embedding
Chicken code in a C application? I haven't done that myself; I have
done callbacks from a C library, and that can be tricky.



I'm talking about writing code to be require'd by a Chicken app,
in pure C. A pure C module. :-)

Cheers,
--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Multi-file programs

2007-04-02 Thread Alex Queiroz

Hallo,

What's the usual way to write programs with several files?
(require-extension) or (unit)/(use) declarations? (unit)/(use) seems
the natural way, but since they do not work during interpretation they
cannot be used for RAD.

Cheers,
--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] noobie question about chicken/swig/csi

2007-04-02 Thread Alex Queiroz

Hallo,

On 4/2/07, Graham Fawcett [EMAIL PROTECTED] wrote:


 I guess there are so many ffi choices because it must be a pain
 to write pure C extensions, judged by what I've seen from chicken's
 output.

No, I don't think it follows that there are many FFI choices because
writing pure C extensions is a pain.



It was just a thought.



Don't judge the complexity of pure C modules by the scary appearance
of CSC-generated, CPS-mangled C code. Instead, write a pure C module
or two, in a natural style, and find out for yourself that it's not
that hard at all.



But I still have to sum up the sizes of everything I'm gonna need
to call C_alloca, then to set bit types in the right places of the
allocated memory, the functions have a variable number of arguments
etc., etc.
I'm not saying that this is a design flaw or something. It's just
that I'm used to write Lua extension modules, and it's even fun! But
of course Lua is only interpreted and was designed from the beginning
to be easily embeddable and extended.
And chicken has lots of FFI features that ameliorates this
problem if one mixes C and Scheme. It's just a different way of doing
things.

Cheers,
--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] noobie question about chicken/swig/csi

2007-04-02 Thread Alex Queiroz

Hallo,

On 4/2/07, Zbigniew [EMAIL PROTECTED] wrote:

I know what you mean.  The other day, while writing a pure assembly
module coded to the C++ ABI, I found myself thinking, this just isn't
tedious enough.  So saying, I renounced all foreign function
interface interfaces, and plunged into the murky and unfathomable
depths of Chicken's C.Time passed.  More time passed and I came up
momentarily for air.  Finally, some time passed and--well, you know
how these things go--I had inadvertantly Greenspun my pure C module
into a Lisp interpreter.  I was just about to put the finishing
touches on the FFI when I saw your post.



Your sarcasm is utterly unnecessary. I'm not attacking Chicken.
It was a passing remark about how the FFI is complicated by the way
Chicken uses the stack. But you people are very sensitive. Sorry for
that. I'm gonna try to refrain myself when thinking of posting random
thoughts.

Cheers,
--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] noobie question about chicken/swig/csi

2007-04-02 Thread Alex Queiroz

Hallo,

On 4/2/07, Zbigniew [EMAIL PROTECTED] wrote:

Just injecting a bit of humour into the proceedings.  No need to take offense.



Sorry to have misinterpreted you. Back to topic, I guess it's
just a different way of doing things. I'm gonna get used to it. :-)

Cheers,
--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] comparison of Chicken and Bigloo?

2007-03-31 Thread Alex Queiroz

Hallo,

On 3/30/07, Brandon J. Van Every [EMAIL PROTECTED] wrote:


 - Bigloo provides binaries for Fedora, Debian, and MS Visual Studio
platforms.  Chicken does not, you have to build from source.



Both are in Debian, although Chichen is still at 2.5.

Cheers,
--
-alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Windows binary of GTK+ egg

2007-03-05 Thread Alex Queiroz

Hallo,

I guess the subject line says it all. Can anybody help?

Cheers,
--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] gtk2 and gtk2-gobject eggs, release 0.3

2007-02-24 Thread Alex Queiroz

Hallo,

On 2/20/07, Tony Sidaway [EMAIL PROTECTED] wrote:

I've just committed gtk2-object.egg and gtk2.egg releases 0.3.



I get an error running 'chicken-setup gtk2':

downloading catalog ...
downloading catalog from www.call-with-current-continuation.org ...
downloading gtk2.egg from (www.call-with-current-continuation.org eggs
80) 
 gunzip -c ../gtk2.egg | tar xf -
Error: unbound variable: required-extension-version

Cheers,

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] cool 3d logo by Joshua Griffith

2007-02-21 Thread Alex Queiroz

Hallo,

On 2/21/07, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote:

 It's your right to not include it because it's your software but
 why do you think no wiki should have this feature?

Basically, because it doesn't scale and there are some way better ways
to navigate information.



As others pointed out, there are ways to make it scale well, like
Wikipedia for instance. But of course you have your priorities.



Thanks for your suggestion, though. :-)



No problem!

Cheers,

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] cool 3d logo by Joshua Griffith

2007-02-20 Thread Alex Queiroz

Hallo,

On 2/20/07, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote:


I'd be inclined to believe such functionality should -not- be
provided by a wiki system.



It's your right to not include it because it's your software but
why do you think no wiki should have this feature?

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Binding FILE* to port

2007-02-16 Thread Alex Queiroz

Hallo list,

Suppose I've got the following C function:

int ov_open(FILE* f, SomeStruct* st);

How could I bind it so the file pointer is replaced by a file port?

(ov-open port some-struct)

Cheers,

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] cool 3d logo by Joshua Griffith

2007-02-13 Thread Alex Queiroz

Hallo,

On 2/12/07, felix winkelmann [EMAIL PROTECTED] wrote:


(I've added it to our logos page at http://chicken.wiki.br/logos - unfortunately
svnwiki doesn't like me today, so I don't know whether they appear or not)



I'm new around here but... Why do you guys use it? I couldn't
even found a Page Index or something.

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] cool 3d logo by Joshua Griffith

2007-02-13 Thread Alex Queiroz

Hallo,

On 13 Feb 2007 10:50:55 -0200, Mario Domenech Goulart
[EMAIL PROTECTED] wrote:


I don't know exactly what Page Index is, but my guess is that you
want an index of all wiki pages.  In this case, you can always get a
local copy of the wiki repository (see http://chicken.wiki.br/svn%20checkout).



I hope I'm not sounding too harsh, but that's less than
desirable. Maybe it's because I'm a chicken newbie and so I'm trying
to get all the information I can, which right now is harder than it
should be.
BTW, I can't do an anonymous checkout using the instructions
provided in that page.

Cheers,

--
-alex
http://www.ventonegro.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users