[Chicken-users] Help test Chicken in OpenWRT (Linux distribution for wireless routers)

2019-03-19 Thread Jeronimo Pellegrini
Hello, I have written a set of Makefiles for building some Lisps, including Chicken, on OpenWRT, and would like to know if some Chicken users would be interested in testing. Here: https://gitlab.com/jpellegrini/openwrt-packages Please tell me if it works for you! Thanks, J. __

Re: [Chicken-users] help on find a lisp paper by John McCarthy

2017-10-27 Thread Jinx
I think this is exactly what I wanted! thank u for ur help! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] help on find a lisp paper by John McCarthy

2017-10-27 Thread Phil Bewig
http://delivery.acm.org/10.1145/81/808386/p215-mccarthy.pdf?ip=198.209.225.227&id=808386&acc=ACTIVE%20SERVICE&key=F82E6B88364EF649%2EEA777AEEAA51B01B%2E4D4702B0C3E38B35%2E4D4702B0C3E38B35&CFID=999374817&CFTOKEN=78744412&__acm__=1509128711_9f195cf9fe92408377c1edaff75b3e69 On Fri, Oct 27, 2017 a

Re: [Chicken-users] help on find a lisp paper by John McCarthy

2017-10-27 Thread Erik Falor
On Fri, Oct 27, 2017 at 05:35:32PM +0800, Jinx wrote: > > the Paper is about 2-3 pages long, at least can be downloaded on > the internet for free in pdf, > > the content is on how to constuct lisp from several axioms, more in > a math paper fashion. > > the paper is a late time working paper M

[Chicken-users] help on find a lisp paper by John McCarthy

2017-10-27 Thread Jinx
the Paper is about 2-3 pages long, at least can be downloaded on the internet for free in pdf, the content is on how to constuct lisp from several axioms, more in a math paper fashion. the paper is a late time working paper McCarthy, not the "Recursive Functions of ... Machine, Part I" , there

Re: [Chicken-users] Help with columnar formatting in the fmt egg

2015-11-30 Thread Alex Shinn
On Fri, Nov 20, 2015 at 5:53 AM, Christian Kellermann wrote: > > I would like to ask some help for finding the right fmt expression to > print entries formatted as like this: > > 2015-11-20 foo bar baz... Some·Label Some·Other·Label > -123.23-100.00 >

[Chicken-users] Help with columnar formatting in the fmt egg

2015-11-20 Thread Christian Kellermann
Hi! I would like to ask some help for finding the right fmt expression to print entries formatted as like this: 2015-11-20 foo bar baz... Some·Label Some·Other·Label -123.23-100.00 Yet·Another·Label

Re: [Chicken-users] Help with usage of process ...

2015-10-10 Thread Matt Welland
On Fri, Oct 9, 2015 at 7:25 PM, Evan Hanson wrote: > Hi Matt, > > My guess is that because you don't close the output port before waiting > for results, dot(1) sits there waiting for more input and your procedure > appears to hang. > Ah, yes, dot is not processing the input until it is read in i

Re: [Chicken-users] Help with usage of process ...

2015-10-09 Thread Evan Hanson
Hi Matt, My guess is that because you don't close the output port before waiting for results, dot(1) sits there waiting for more input and your procedure appears to hang. I'd try closing `oup` once you've written your graph to the process, for example by making the thunk you use for the "dot writ

[Chicken-users] Help with usage of process ...

2015-10-09 Thread Matt Welland
I'm trying to use the posix process call to run the graphviz dot program, hand it some input data and collect the output. I'm not able to figure out how to correctly use process to do this. My code is below. Any hints would be much appreciated. (define (tests:run-dot indat outtype) ;; outtype is p

Re: [Chicken-users] Help with udp6 / socket

2015-02-17 Thread Jim Ursetto
I’ve documented the family parameter to udp-open-socket and fleshed out the examples (including a daytime client/server pair). Hope this helps. http://api.call-cc.org/doc/udp6 Jim > On Feb 17, 2015, at 03:56, Scott McCoid wrote: > > Hi Jim, > > This completely worked for me, thanks for the

Re: [Chicken-users] Help with udp6 / socket

2015-02-17 Thread Scott McCoid
Hi Jim, This completely worked for me, thanks for the clear example! I didn't even think to check if (udp-open-socket) also accepted extra arguments. Thanks again! Scott On Tue, Feb 17, 2015 at 4:17 AM, Jim Ursetto wrote: > Scott, > > This works on my system (10.10.2, CHICKEN 4.8.0.6). Note t

Re: [Chicken-users] Help with udp6 / socket

2015-02-16 Thread Jim Ursetto
Scott, This works on my system (10.10.2, CHICKEN 4.8.0.6). Note the undocumented argument to udp-open-socket… not sure what I was thinking. If this works for you, I will document the argument and add the example to the wiki. (use udp6) (define s (udp-open-socket 'inet6)) (udp-bind! s "::" 13

Re: [Chicken-users] Help with udp6 / socket

2015-02-16 Thread Scott McCoid
Hi Christian! Thanks for the quick help and netcat tip. I was able to send from my script and receive with netcat (for example: *nc -u -6 -l 8000*) without any problems. (sending to port 8000 in my script) I've tried doing the reverse situation, where I receive on the script side and send using n

Re: [Chicken-users] Help with udp6 / socket

2015-02-16 Thread Christian Kellermann
Hi Scott! Scott McCnoid writes: > I'm reasonably new to chicken-scheme (and scheme in general), and I'm > having trouble with the udp6 (and likewise, socket) eggs. I'm trying to run > the example code, but the connection is always refused. > > *Error: (socket-receive!) cannot read from socket -

[Chicken-users] Help with udp6 / socket

2015-02-16 Thread Scott McCoid
Hello, I'm reasonably new to chicken-scheme (and scheme in general), and I'm having trouble with the udp6 (and likewise, socket) eggs. I'm trying to run the example code, but the connection is always refused. *Error: (socket-receive!) cannot read from socket - Connection refused: #* I looked int

Re: [Chicken-users] Help with foreign code and lists on the stack and heap

2014-05-06 Thread Peter Bex
On Tue, May 06, 2014 at 03:39:31AM -0600, Alex Stuart wrote: > Greetings, > Hi there! > I want to append the latter list to the former and pass it to a second > callback function. I'm trying to do this by setting the cdr of the first > list's last pair (using C_set_block_item). However, the appe

[Chicken-users] Help with foreign code and lists on the stack and heap

2014-05-06 Thread Alex Stuart
Greetings, I need some help. I am calling a foreign C function that calls back to Scheme (using CHICKEN_apply). The callback returns a list as its value. The foreign function creates a static reference to this list (using CHICKEN_new_gc_root). The foreign function then creates a different list on

Re: [Chicken-users] Help needed on a project intended to promote some important ideas.

2014-01-22 Thread Matt Welland
To clarify, by "do not reply to this email" I meant "do not reply to the list" but instead email me directly at estifo...@gmail.com. I'm trying to be a good citizen here and not clog up the lists with email that will annoy people. Also, I need someone with illustration and or image skills. On Tu

[Chicken-users] Help needed on a project intended to promote some important ideas.

2014-01-21 Thread Matt Welland
Hi, This is a long shot and I apologize in advance for any time wasted and for cross-posting to unrelated groups. Please: DO NOT reply to this email. I have been working on a project that I believe will do a good job in raising awareness of alternative voting systems. Initially I want to contrast

Re: [Chicken-users] help with implicit renaming macro

2013-11-11 Thread Alan Post
On Mon, Nov 11, 2013 at 09:36:48PM +0100, Peter Bex wrote: > On Mon, Nov 11, 2013 at 01:22:40PM -0701, Alan Post wrote: > > I'd like to rewrite this macro as an implicit renaming > > macro, which seems to require that I traverse form and > > insert (inject arg1) wherever I find arg1, and to do > >

Re: [Chicken-users] help with implicit renaming macro

2013-11-11 Thread Peter Bex
On Mon, Nov 11, 2013 at 01:22:40PM -0701, Alan Post wrote: > I'd like to rewrite this macro as an implicit renaming > macro, which seems to require that I traverse form and > insert (inject arg1) wherever I find arg1, and to do > the same for arg2. Hi Alan, Actually, you only need to inject the a

[Chicken-users] help with implicit renaming macro

2013-11-11 Thread Alan Post
I have a routine with several input arguments and one output argument. I want to write a macro to wrap my output argument such that I can pass the results of my input arguments to my output argument. (See below) I have this working with an explicit renaming macro, but this is overkill. I could

Re: [Chicken-users] help :)

2013-06-05 Thread Christian Kellermann
* Pedro Melendez [130605 17:48]: > Hey Dan, > > What's the preferred method to ask? I didn't know about the IRC channel and > now I am dubious what would be better if asking over there or using the > email list... I'd say most general questions and newbie questions can be answered by the #chicke

Re: [Chicken-users] help :)

2013-06-05 Thread Pedro Melendez
Hey Dan, What's the preferred method to ask? I didn't know about the IRC channel and now I am dubious what would be better if asking over there or using the email list... Cheers, Pedro. On Wed, Jun 5, 2013 at 11:44 AM, Dan Leslie wrote: > Feel free to ask questions in the IRC channel, #chick

Re: [Chicken-users] help :)

2013-06-05 Thread Dan Leslie
Feel free to ask questions in the IRC channel, #chicken on irc.freenode.net -Dan On 6/5/2013 7:07 AM, nehal singhal wrote: Hi, I am a newbie to chicken.Can i get some aid as to how to start coding through chicken. I was recently learning racket and also have know-how of Python-2.6. Plea

Re: [Chicken-users] help :)

2013-06-05 Thread Mario Domenech Goulart
Hi, On Wed, 5 Jun 2013 16:07:56 +0200 nehal singhal wrote: >I am a newbie to chicken.Can i get some aid as to how to start > coding through chicken. I was recently learning racket and also have > know-how of Python-2.6. >Please guide a little. Welcome. There's the "Getting started" ch

Re: [Chicken-users] help :)

2013-06-05 Thread Matt Gushee
Hi, Nehal-- Have you seen the "Chicken for Python programmers" tutorial? http://wiki.call-cc.org/chicken-for-python-programmers That would be a good place to start. Then if you are still unsure how to proceed, you will probably get more help if you ask more specific questions. Best of luck with

[Chicken-users] help :)

2013-06-05 Thread nehal singhal
Hi, I am a newbie to chicken.Can i get some aid as to how to start coding through chicken. I was recently learning racket and also have know-how of Python-2.6. Please guide a little. regards, Nehal Singhal. ___ Chicken-users mailing list Chicken-u

[Chicken-users] Help request for zmq egg porting from zmq 2.2.0 to 3.2.2

2013-01-20 Thread Matt Welland
I'm trying to port the zmq egg from using zmq 2.2 to 3.2.2 and I'm not making very good progress. I'm hoping someone can provide some insight. Attached is the modified zmq egg code and a test case that exercises zmq in the way I'm using it in my application. the problem I get "Resource te

Re: [Chicken-users] Help building latest sources

2011-10-10 Thread Christian Kellermann
* Toby Thain [111009 23:05]: > On 08/10/11 8:27 AM, Vitaly Magerya wrote: > >>Did you build a boot chicken for bootstrapping? Note that you will need a > >>chicken installed for this. > >> > >>$ gmake PLATFORM=bsd boot-chicken > >>$ gmake PLATFORM=bsd CHICKEN=./chicken-boot > >>$ gmake PLATFORM=bs

Re: [Chicken-users] Help building latest sources

2011-10-09 Thread Toby Thain
On 08/10/11 8:27 AM, Vitaly Magerya wrote: Did you build a boot chicken for bootstrapping? Note that you will need a chicken installed for this. $ gmake PLATFORM=bsd boot-chicken $ gmake PLATFORM=bsd CHICKEN=./chicken-boot $ gmake PLATFORM=bsd install I have put up a little tutorial on the wiki

Re: [Chicken-users] Help building latest sources

2011-10-08 Thread Vitaly Magerya
> Did you build a boot chicken for bootstrapping? Note that you will need a > chicken installed for this. > > $ gmake PLATFORM=bsd boot-chicken > $ gmake PLATFORM=bsd CHICKEN=./chicken-boot > $ gmake PLATFORM=bsd install > > I have put up a little tutorial on the wiki for this here > http://wiki.ca

Re: [Chicken-users] Help building latest sources

2011-10-07 Thread Christian Kellermann
Hi Vitaly! * Vitaly Magerya [111008 00:06]: > Hi, folks. I'm trying to build the latest git sources (I've got 4.7.0 > installed); the build proceeds for a while and then fails like this: Did you build a boot chicken for bootstrapping? Note that you will need a chicken installed for this. $ gma

[Chicken-users] Help building latest sources

2011-10-07 Thread Vitaly Magerya
Hi, folks. I'm trying to build the latest git sources (I've got 4.7.0 installed); the build proceeds for a while and then fails like this: $ gmake PLATFORM=bsd ... chicken setup-api.scm [...] -output-file setup-api.c Syntax error (import): cannot import from undefined module

Re: [Chicken-users] Help using Chicken in Windows 7

2011-07-09 Thread Felix
From: William Tarimo Subject: Re: [Chicken-users] Help using Chicken in Windows 7 Date: Fri, 8 Jul 2011 14:32:15 -0400 > Hello All, > Thanks for the reply. I'm using Windows 7 32 bit machine. I reinstalled > Mingw (mingw-get-inst-20110530.exe) from the new link, thanks. But I c

Re: [Chicken-users] Help using Chicken in Windows 7

2011-07-08 Thread John Cowan
William Tarimo scripsit: > Hello All, Thanks for the reply. I'm using Windows 7 32 bit machine. I > reinstalled Mingw (mingw-get-inst-20110530.exe) from the new link, > thanks. But I can't use the compiler or compile anything, I have > attached a screenshot of the interpreter window, assuming I'm

Re: [Chicken-users] Help using Chicken in Windows 7

2011-07-08 Thread Steve Graham
I know little about Chicken, but I would imagine you need to call csc at the cmd prompt, not within Chicken itself. --- On Fri, 7/8/11, William Tarimo wrote: From: William Tarimo Subject: Re: [Chicken-users] Help using Chicken in Windows 7 To: "Steve Graham" Cc: chicken-users@nongn

Re: [Chicken-users] Help using Chicken in Windows 7

2011-07-08 Thread William Tarimo
Hello All, Thanks for the reply. I'm using Windows 7 32 bit machine. I reinstalled Mingw (mingw-get-inst-20110530.exe) from the new link, thanks. But I can't use the compiler or compile anything, I have attached a screenshot of the interpreter window, assuming I'm supposed to run the compiler from

Re: [Chicken-users] Help using Chicken in Windows 7

2011-07-07 Thread Steve Graham
When I tried to compile (Win 7-64), I also had problems. Turned out that my copy of mingw did not contain gcc. Steve On Thu Jul 7th, 2011 11:26 AM EDT William Tarimo wrote: >Hello Chicken Users, >I have been trying to use Chicken to compile Scheme programs to C, but the >compiler isn't working

Re: [Chicken-users] Help using Chicken in Windows 7

2011-07-07 Thread Matt Welland
Hi William, I have corrected the link on the chicken-iup page to point to http://mingw.org, is this where you downloaded mingw from? At exactly what stage did compilation fail and are you able to run the interpreter? Does (load "example.scm") work? Are you able to compile a small C program with m

[Chicken-users] Help using Chicken in Windows 7

2011-07-07 Thread William Tarimo
Hello Chicken Users, I have been trying to use Chicken to compile Scheme programs to C, but the compiler isn't working for me. I followed the installation procedures at http://www.kiatoa.com/cgi-bin/chicken-iup/home to install Mingw and chicken-iup, I couldn't find Mingw on the page so I search els

Re: [Chicken-users] help -- segmentation fault when (import chicken)

2011-06-18 Thread HP Wei
OK, I also noticed David Murray's suggestion after I sent my previous email (on Sat eve) -- about 64 vs 32 bit issue. Now, ** from the src of 4.7.0 ** using David Murray's 'make install PLATFORM=macosx ARCH=x86-64 ==> it compiled ok !! and (import chicken) gives NO segmentation fa

Re: [Chicken-users] help -- segmentation fault when (import chicken)

2011-06-18 Thread HP Wei
I downloaded 4.7.0.tar and when I built I got the following error: sudo make PLATFORM=macosx Password: ... make -f ./Makefile.macosx CONFIG= all gcc -c apply-hack.x86.S -o apply-hack.x86.o apply-hack.x86.S:35:suffix or operands invalid for `call' make[1]: *** [apply-hack.x86.o] Error 1 make: **

Re: [Chicken-users] help -- segmentation fault when (import chicken)

2011-06-18 Thread David N Murray
On Jun 18, Christian Kellermann scribed: > * HP Wei [110618 03:53]: > > > > Machine: iMac Mac OS X 10.6.7 > > > > I installed chicken by the following command: > > > > sudo port install chicken I have no problem building chicken from sources on OS X 10.6.7. You need XCode installed and this wor

Re: [Chicken-users] help -- segmentation fault when (import chicken)

2011-06-18 Thread Christian Kellermann
* HP Wei [110618 03:53]: > > Machine: iMac Mac OS X 10.6.7 > > I installed chicken by the following command: > > sudo port install chicken > > - > > The resulting csc is used to compile the (print "hello") successfully. > > csi can also be invoked ok. > (ver

[Chicken-users] help -- segmentation fault when (import chicken)

2011-06-17 Thread HP Wei
Machine: iMac Mac OS X 10.6.7 I installed chicken by the following command: sudo port install chicken - The resulting csc is used to compile the (print "hello") successfully. csi can also be invoked ok. (version 4.4.0) macosx-unix-gnu-x86-64 [ 64 bit manyarg

Re: [Chicken-users] Help with writing a macro

2011-03-20 Thread Thomas Chust
2011/3/21 Patrick Li : > [...] > transform: > (temp (a b c) do-this do-that do-other) > to: > (do (do-this a b c some-more-args) >     (do-that a b c some-more-args) >     (do-other a b c some-more-args)) > The dot trick doesn't work in this circumstance. > [...] Hello Patrick, in that case I'm a

Re: [Chicken-users] Help with writing a macro

2011-03-20 Thread Patrick Li
Hi Thomas, Your solution does in fact do what I was asking for. The example I gave was just a simplified version of what I want to do. Sorry for being unclear. The following is closer to what I actually need to accomplish: transform: (temp (a b c) do-this do-that do-other) to: (do (do-this a b c

Re: [Chicken-users] Help with writing a macro

2011-03-20 Thread Thomas Chust
2011/3/21 Patrick Li : > [...] > I'm trying to write a macro that will tranform: > (temp (a b c) do-this do-that do-other) > into this: > (do (do-this a b c) >     (do-that a b c) >     (do-other a b c)) > [...] Try this: (define-syntax temp (syntax-rules () [(temp args command ...) (d

[Chicken-users] Help with writing a macro

2011-03-20 Thread Patrick Li
Hello everyone, I'm trying to write the following macro using the syntax-rules system, and got stuck trying to figure out the ellipsis. Would someone mind giving me a hand with this? I really appreciate it. I'm trying to write a macro that will tranform: (temp (a b c) do-this do-that do-other) i

Re: [Chicken-users] Help solving this phasing problem.

2011-02-13 Thread John Cowan
Peter Bex scripsit: > begin-also-for-syntax? begin-for-both-environments? :) I like this idea best, though better names are needed. Personally, I would prefer begin-utriusque-phasidis, but I can see why people might not like that. -- As you read this, I don't want you to feel John Cowan so

Re: [Chicken-users] Help solving this phasing problem.

2011-02-13 Thread Peter Bex
On Sun, Feb 13, 2011 at 01:59:47PM +0100, Felix wrote: > > This imports module-a (which can be internal and nobody has to know it's > > there) both for syntax and normally, and then re-exports the convenience > > function. > > > > Yes, this is ugly. > > Well, is it? Not having an alternative doe

Re: [Chicken-users] Help solving this phasing problem.

2011-02-13 Thread Felix
From: Taylor Venable Subject: Re: [Chicken-users] Help solving this phasing problem. Date: Sat, 12 Feb 2011 18:04:13 -0500 > On Sat, Feb 12, 2011 at 16:51, Peter Bex wrote: >> This imports module-a (which can be internal and nobody has to know it's >> there) both for synt

Re: [Chicken-users] Help solving this phasing problem.

2011-02-13 Thread Felix
From: Peter Bex Subject: Re: [Chicken-users] Help solving this phasing problem. Date: Sat, 12 Feb 2011 22:51:05 +0100 > On Sat, Feb 12, 2011 at 04:35:23PM -0500, Patrick Li wrote: >> >> I have a *very* ugly workaround right now. >> I define the convenience function twic

Re: [Chicken-users] Help solving this phasing problem.

2011-02-12 Thread Taylor Venable
On Sat, Feb 12, 2011 at 16:51, Peter Bex wrote: > This imports module-a (which can be internal and nobody has to know it's > there) both for syntax and normally, and then re-exports the convenience > function. Pardon the interruption, but I wanted to check for my own understanding: is import-for-

Re: [Chicken-users] Help solving this phasing problem.

2011-02-12 Thread Patrick Li
Thanks Peter. That's perfectly good enough. As long as I'm not repeating myself and it's transparent to the user, I can live with it. You've been very helpful. -Patrick On Sat, Feb 12, 2011 at 4:51 PM, Peter Bex wrote: > On Sat, Feb 12, 2011 at 04:35:23PM -0500, Patrick Li wrote: > > > > I hav

Re: [Chicken-users] Help solving this phasing problem.

2011-02-12 Thread Peter Bex
On Sat, Feb 12, 2011 at 04:35:23PM -0500, Patrick Li wrote: > > I have a *very* ugly workaround right now. > I define the convenience function twice. Once normally. And again within a > begin-for-syntax form. You can do the same trick as before: (module module-a (convenience-function) (import

[Chicken-users] Help solving this phasing problem.

2011-02-12 Thread Patrick Li
Hello everyone, I'm creating a module that exports two things, a macro and a function. The definition of the macro happens to require the use of the function. I am having problems creating this module. The defined macro cannot access the function. --Example

Re: [Chicken-users] Help with tokyocabinet, C const

2009-12-31 Thread Peter Bex
On Thu, Dec 31, 2009 at 01:26:40AM -0600, Evan E. wrote: > Using easyffi, I've declared the foreign type and procedure. TCMAP is > a hash map struct, tcmapget returns a value for a given key from the > map object: > > ___declare(type, "MAP;(nonnull-c-pointer \"TCMAP\");tc-map-ptr") > const void *t

[Chicken-users] Help with tokyocabinet, C const

2009-12-30 Thread Evan E.
This may be beyond the scope of this mailing list, but here goes. I'm working on extending the tokyocabinet egg to include more functionality. It's gone well, but I'm running into an issue with one type/procedure. Using easyffi, I've declared the foreign type and procedure. TCMAP is a hash map st

[Chicken-users] Help with srfi 46 and syntax-case

2009-11-13 Thread Thomas Bushnell BSG
I have some code which currently uses syntax-case, and because it has nested macro definitions, it needs the (... ...) hack. When we migrate to Chicken 4.0, we'll need to convert that to the superior srfi 46 choose-your-own-ellipsis method. What I'd like to do, to facilitate migrate, is write a

Re: [Chicken-users] Help with the mysql egg

2008-01-23 Thread Jean-Philippe Theberge
Toby Butzon wrote: On Jan 22, 2008 2:41 PM, Kon Lovett <[EMAIL PROTECTED]> wrote: You might want to contact [EMAIL PROTECTED], the author. I don't know if he is active with egg maintenance though. I'm an active lurker... :) Any of those options is fine by me -- if a patch comes my way

Re: [Chicken-users] Help with the mysql egg

2008-01-22 Thread Toby Butzon
On Jan 22, 2008 2:41 PM, Kon Lovett <[EMAIL PROTECTED]> wrote: > You might want to contact [EMAIL PROTECTED], the author. I don't know > if he is active with egg maintenance though. I'm an active lurker... :) Any of those options is fine by me -- if a patch comes my way, I'll make sure it gets in

Re: [Chicken-users] Help with the mysql egg

2008-01-22 Thread Kon Lovett
On Jan 22, 2008, at 2:29 PM, Jean-Philippe Theberge wrote: OK, I keep in mind that you can easily and succesfully modify an egg you had never used. Sorry, not sure what you mean. A compliment? ;-) I think this should be added to the mysql egg. I can provide a diff or add it myself to the

Re: [Chicken-users] Help with the mysql egg

2008-01-22 Thread Jean-Philippe Theberge
OK, I keep in mind that you can easily and succesfully modify an egg you had never used. I think this should be added to the mysql egg. I can provide a diff or add it myself to the egg if I am provided with a repository access. Thanks a lot! -- JP Theberge Kon Lovett wrote: On Jan 22, 20

Re: [Chicken-users] Help with the mysql egg

2008-01-22 Thread Kon Lovett
On Jan 22, 2008, at 6:42 AM, Jean-Philippe Theberge wrote: Hi, I am having some trouble with the mysql egg mostly die to my misunderstanding of c-pointers With the egg you get data either by index or by name. What I would like is more something like this example from the mysql-api doc

[Chicken-users] Help with the mysql egg

2008-01-22 Thread Jean-Philippe Theberge
Hi, I am having some trouble with the mysql egg mostly die to my misunderstanding of c-pointers With the egg you get data either by index or by name. What I would like is more something like this example from the mysql-api documentation unsigned int num_fields; unsigned int i; MYSQL_FIELD

Re: [Chicken-users] help with intermittent crash (?)

2007-12-16 Thread Rick Taube
I dont know how this (very stale) post took so long to arrive to the users list but this bug has already been fixed by felix in the svn version of chicken so please disregard... On Nov 23, 2007, at 11:19 AM, Rick Taube wrote: OK i managed to trigger the crash using the Debug version of c

Re: [Chicken-users] help with intermittent crash (?)

2007-12-16 Thread Rick Taube
OK i managed to trigger the crash using the Debug version of chicken. Here is the trace in case anything is jumping out this is with Chicken init: heap=50 stack=64000. Date/Time: 2007-11-23 11:15:03.020 -0600 OS Version: 10.4.11 (Build 8S165) Report Version: 4 Command: Grace P

Re: [Chicken-users] help with intermittent crash (?)

2007-11-25 Thread felix winkelmann
On Nov 23, 2007 2:20 PM, Rick Taube <[EMAIL PROTECTED]> wrote: > > > - Try to run with different stack-sizes. The stack-allocation pattern > > > I noticed yesterday that if i change heap size 4x larger than default > i cant seem to trigger the crash. but when the bug happens there is > no message a

Re: [Chicken-users] help with intermittent crash (?)

2007-11-23 Thread Rick Taube
On Nov 23, 2007, at 5:32 AM, felix winkelmann wrote: - Try to run with different stack-sizes. The stack-allocation pattern of an application will greatly influence the frequency and point of GCs taking place, so sometimes changing the stack size ("-:s") will change the pattern and make it

Re: [Chicken-users] help with intermittent crash (?)

2007-11-23 Thread Rick Taube
ok I switched to the latest chicken in trunk that i compiled with debuggin like this: make PLATFORM=macosx DEBUGBUILD=1 sudo make PLATFORM=maxosx install then I ran my app with heap=50 stack=64000 C_heap_size_is_fixed = 1; and it didnt crashed in 15 t

Re: [Chicken-users] help with intermittent crash (?)

2007-11-23 Thread Rick Taube
thanks for the help, felix! i found a fairly reliable way of triggering the bug yesterday, unfortunatly when i trigger it the only way to recover is to literally reboot my machine, kill simply wont kill the app that point, i cant even log out! im using chicken 2.731, ill switch to trunk and

Re: [Chicken-users] help with intermittent crash (?)

2007-11-23 Thread felix winkelmann
Hi, Rick! In the moment I'm pretty clueless about what might go wrong here, but I can give you a few tips that perhaps help us find the cause of this trouble: - Is storage consumption constant (top(1)) over a longer run? - Try to run with a fixed heap ("-:h..." runtime options, enter "-:?" to

[Chicken-users] help with intermittent crash (?)

2007-11-21 Thread Rick Taube
Help! Im having an intermittent crash that Im fairlt sure is happing in gc under a callback into ChickenScheme. Ive spent several days trying to debug it without any luck. Ive included the crash report, the Thread 3 is my dedicated Scheme thread where the crash is happening. I am hoping th

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

2007-09-27 Thread Andre Kuehne
Kon Lovett wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, 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 9Sparc NetBDSPowerPC & x86-64

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

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

2007-09-24 Thread Peter Bex
On Mon, Sep 24, 2007 at 07:05:24AM -0700, Kon Lovett wrote: > Hi all, > > 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: > > NetBDSPowerPC & x86-64 He

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

2007-09-24 Thread Graham Fawcett
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: I've been meaning to add Solaris 10/SPARC to the "portability" list (a

[Chicken-users] Help w/ PCRE 7.4 migration

2007-09-24 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, 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

Re: [Chicken-users] help on embedding

2007-09-23 Thread Todd Ingalls
Yes, Thank you so much that is exactly what I was overlooking. On Sep 23, 2007, at 8:20 AM, Thomas Christian Chust wrote: Todd Ingalls wrote: [...] I can generate the c file just fine (> chicken chicken-bridge.scm -output-file chicken-bridge.cpp -quiet -no-trace -optimize-level 2 ...)

Re: [Chicken-users] help on embedding

2007-09-23 Thread Thomas Christian Chust
Todd Ingalls wrote: > [...] I can generate the c file just fine (> chicken > chicken-bridge.scm -output-file chicken-bridge.cpp -quiet -no-trace > -optimize-level 2 ...) and then when compiling the larger c > executable I pass DC_EMBEDDED and everything compiles and links just > fine. Howeve

[Chicken-users] help on embedding

2007-09-22 Thread Todd Ingalls
Hi, I have successfully gotten chicken embedded in a c executable I am working on (actually very easy) . I can use csc to compile a dynamic library to load into the embedded chicken to extend functionality. In the end what I was hoping to do was to generate a .c file using chicken which co

Re: [Chicken-users] help needed on egg repository maintenance

2007-08-23 Thread Mario Domenech Goulart
Hi Felix and folks, On Thu, 23 Aug 2007 02:07:04 +0200 "felix winkelmann" <[EMAIL PROTECTED]> wrote: > The time has come again, where I'm getting down on my knees > humbly begging for help: keeping the egg repository in shape > currently takes too much of the little time I have. I want to get a n

Re: [Chicken-users] help needed on egg repository maintenance

2007-08-23 Thread Elf
i'd be happy to put the time in if we can discuss it a bit more. i already have ~80% of the eggs installed locally so its to my benefit as well. :) -elf On Thu, 23 Aug 2007, felix winkelmann wrote: Hello, everybody. The time has come again, where I'm getting down on my knees humbly begging

[Chicken-users] help needed on egg repository maintenance

2007-08-22 Thread felix winkelmann
Hello, everybody. The time has come again, where I'm getting down on my knees humbly begging for help: keeping the egg repository in shape currently takes too much of the little time I have. I want to get a new release out, but the whole build situation and the texinfo manual integration makes thi

Re: [Chicken-users] Help with and-let* please.

2007-02-03 Thread Robin Lee Powell
On Sat, Feb 03, 2007 at 03:42:38PM -0800, Kon Lovett wrote: > > (and-let* > ([(begin (display "foo.\n") #t)] > [(= 2 1)] > [(begin (display "bar.\n") #t)] ) > (begin > (display "Still here.\n"))) > > You forgot the enclosing braces for each sub-form. ('[...]' is not >

Re: [Chicken-users] Help with and-let* please.

2007-02-03 Thread Kon Lovett
On Feb 3, 2007, at 2:33 PM, Robin Lee Powell wrote: I'm trying to work from http://srfi.schemers.org/srfi-2/srfi-2.html because the Chicken site is down, and I can't make and-let* work for me at all. I've shown two attempts below. In the chicken source, in csi.scm, there's: (and-let* ([(fx>=

[Chicken-users] Help with and-let* please.

2007-02-03 Thread Robin Lee Powell
I'm trying to work from http://srfi.schemers.org/srfi-2/srfi-2.html because the Chicken site is down, and I can't make and-let* work for me at all. I've shown two attempts below. In the chicken source, in csi.scm, there's: (and-let* ([(fx>= a len)] [o (fxmod len 16)] [(not

Re: [Chicken-users] Help with foreign-lambda

2006-05-19 Thread felix winkelmann
On 5/16/06, Hans Bulfone <[EMAIL PROTECTED]> wrote: hi, On Mon, May 15, 2006 at 11:59:09PM -0400, Jim Miller wrote: > I'm trying to least expensive way to wrap a C function into scheme. The > following is the C interface to the function I need: > > typedef long int integer; > typedef float real

Re: [Chicken-users] Help with foreign-lambda

2006-05-16 Thread Hans Bulfone
hi, On Mon, May 15, 2006 at 11:59:09PM -0400, Jim Miller wrote: > I'm trying to least expensive way to wrap a C function into scheme. The > following is the C interface to the function I need: > > typedef long int integer; > typedef float real; > > int gtd6_(integer *iyd, real *sec, real *alt,

[Chicken-users] Help with foreign-lambda

2006-05-15 Thread Jim Miller
I'm trying to least expensive way to wrap a C function into scheme.  The following is the C interface to the function I need: typedef long int integer; typedef float real; int gtd6_(integer *iyd, real *sec, real *alt, real *glat, real *glong, real *stl, real *f107a, real *f107, real *ap, integer

[Chicken-users] Help debugging windows build

2006-02-03 Thread Patrick Brannan
This email addresses a problem that is unique to a particular Windows XP installation. If you have no interest in this, then stop reading now. I normally don't submit this kind of stuff, but I am stuck and need some ideas. My hope is that someone who understands Windows compilation and shared libr

Re: [Chicken-users] Help with problem involving GC mixing C/Scheme

2005-05-09 Thread Alejandro Forero Cuervo
> Since funccall may trigger a garbage collection, the value func in > your run procedure may not be valid, once a GC occurred. [...] > > Here is an alternative version: > > (use format) > > (define-external (funccall (scheme-object func)) void (func)) > > (define run > (foreign-callback-lam

Re: [Chicken-users] Help with problem involving GC mixing C/Scheme

2005-05-08 Thread felix winkelmann
On 5/7/05, Alejandro Forero Cuervo <[EMAIL PROTECTED]> wrote: > > Hello. > > Some of my code that involved calling Scheme code from C recently > started crashing (probably because the input it handles grew > significantly). After investigation, I managed to isolate the error; > the following pro

[Chicken-users] Help with problem involving GC mixing C/Scheme

2005-05-07 Thread Alejandro Forero Cuervo
Hello. Some of my code that involved calling Scheme code from C recently started crashing (probably because the input it handles grew significantly). After investigation, I managed to isolate the error; the following program reproduces it: ;--- begin --- (use format) (define-external (funccal

Re: [Chicken-users] Help compiling and using an egg

2005-04-23 Thread Alejandro Forero Cuervo
> > Still, I think (load) should produce a more detailed output. :) > > Absolutely. Ahem, can you tell me what you did wrong, so that I can > figure out what to detect and show in the error message? I had left a â(declare (unit foo))â in the file. *blush* Sorry I took so long to reply. Alejo. h

Re: [Chicken-users] Help compiling and using an egg

2005-04-17 Thread felix winkelmann
On 4/18/05, Alejandro Forero Cuervo <[EMAIL PROTECTED]> wrote: > > Any ideas on what could be wrong? Perhaps (load) should produce a > > more detailed output explaining why it failed? > > Ack, nevermind; it was a stupid error on my part. > > Still, I think (load) should produce a more detailed o

Re: [Chicken-users] Help compiling and using an egg

2005-04-17 Thread Alejandro Forero Cuervo
> Any ideas on what could be wrong? Perhaps (load) should produce a > more detailed output explaining why it failed? Ack, nevermind; it was a stupid error on my part. Still, I think (load) should produce a more detailed output. :) Thanks. Alejo. http://bachue.com/alejo ---=( Comunidad de Usu

  1   2   >