Re: [Chicken-users] Wiki Syntax and Chicken for Python Programmers

2009-06-18 Thread Jim Ursetto
2009/6/18 Jack Trades : >  I did notice though that it says you can't use parameters in the > table tags, which is kind of essential for the Chicken for Python > Programmers document.  Is this likely to change soon? No, but you can fudge it using . Why do you need parameters? Jim _

Re: [Chicken-users] Wiki Syntax and Chicken for Python Programmers

2009-06-18 Thread Jim Ursetto
On Thu, Jun 18, 2009 at 4:23 PM, Jack Trades wrote: > On Thu, Jun 18, 2009 at 5:05 PM, Jim Ursetto wrote: >> >> Why do you need parameters? > > Unless I'm misunderstanding;  to colorize cells and align text. OK. Well, inserting direct HTML into the wiki is probably s

Re: [Chicken-users] Native Threads and Concurrent Processing

2009-06-21 Thread Jim Ursetto
On Sun, Jun 21, 2009 at 10:51 AM, Glen Foy wrote: > Ten years from now we are going to have multicore machines with a dazzling > number of processors.  Native threads and concurrent processing support will > be increasingly important. > > I sure would like to see Chicken support native threads on M

Re: [Chicken-users] Re: Problems installing eggs

2009-07-22 Thread Jim Ursetto
Regarding objc, it's in the repository but incomplete. Regarding MacPorts, if you *always* want to look in a nonstandard location for libraries, you should be able to add /opt/local/lib and /opt/local/include to the gcc/ld flags when you compile Chicken. Easiest way to do this is probably to edit

Re: [Chicken-users] Egg example

2009-07-24 Thread Jim Ursetto
Hi Bill, I just checked out release 4 eggs as the anonymous user with the following: svn co https://galinha.ucpel.tche.br/svn/chicken-eggs/release/4 chicken-eggs4 Maybe there was a transitory error? Please post the error you get. Jim On Tue, Jul 21, 2009 at 2:37 PM, bill wrote: > Christian, >

Re: [Chicken-users] Egg example

2009-07-25 Thread Jim Ursetto
ist > b...@bugs:~$ > > If I change the 4 to a 3 it works. > > Bill > > Jim Ursetto wrote: >> >> Hi Bill, >> >> I just checked out release 4 eggs as the anonymous user with the >> following: >> >> svn co https://galinha.ucpel.tche.br/svn

Re: [Chicken-users] Conversion of PLT packages to eggs

2009-07-25 Thread Jim Ursetto
As long as the license supports it, by all means! 2009/7/25 Michael Maul : > There are a number of PLT packages that I have been wanting to use in > chicken. > So far the only porting effort has been pretty much converting between PLT's > package syntax and > chicken's modules. My question is woul

Re: [Chicken-users] chicken wiki search

2009-07-27 Thread Jim Ursetto
On Sun, Jul 26, 2009 at 3:24 PM, Nicholas "Indy" Ray wrote: > the wiki has become almost unsearchable, with a large portion of pages > that have been indexed and are not there anymore. > Regardless, is there any way I can help to get the wiki search more > functional, or alternatively would it be

Re: [Chicken-users] Re: (abs 2147483648) evaluates to negative number

2009-07-31 Thread Jim Ursetto
On Fri, Jul 31, 2009 at 8:14 AM, Alejandro Forero Cuervo wrote: >  (when (negative? (abs 2147483648)) >    (set! abs >      (lambda (x) >        (if (negative? x) >          (- x) >          x > > It seems to workaround the problem. #;5> (abs 12345678901) 539222987 I don't think so. ___

Re: [Chicken-users] (abs 2147483648) evaluates to negative number

2009-07-31 Thread Jim Ursetto
On Fri, Jul 31, 2009 at 8:02 AM, Alejandro Forero Cuervo wrote: > In Chicken 3.4.0 linux-unix-gnu-x86-64 the expression (abs 2147483648) > evaluates to -2147483648 in both csi and a compiled program (negative? > and positive?, however, seem to work correctly).  It evaluated > correctly in a 32-bits

Re: [Chicken-users] Re: (abs 2147483648) evaluates to negative number

2009-07-31 Thread Jim Ursetto
On Fri, Jul 31, 2009 at 2:00 PM, Alejandro Forero Cuervo wrote: > [The workaround] works for me: > #;2> (abs 12345678901) > 12345678901 Probably just happens to work, based on register setup. We are on different platforms. Anyway, try the patch for your original problem, also reported as a tick

Re: [Chicken-users] SQLite3 bindings for CHICKEN 4

2009-08-12 Thread Jim Ursetto
On Wed, Aug 5, 2009 at 9:02 AM, Thomas Chust wrote: > If, for example, you prepare a statement and forget to ever execute > and finalize it, my sqlite3 egg will at least tell you that you have > an unused statement lying around when you try to close the database. sqlite3 will tell you with an err

Re: [Chicken-users] chicken-install with bad infolist

2009-08-13 Thread Jim Ursetto
On Mon, Aug 10, 2009 at 8:55 PM, Sam Varner wrote: > "documentation" is not one of the properties listed in the docs. It > appears that its presence prevents srfi-42.setup-info from being > generated. It works for me. "documentation" is a valid property and should be honored unless you have a p

Re: [Chicken-users] Advice on require, use, import, etc.

2009-08-13 Thread Jim Ursetto
On Sun, Aug 9, 2009 at 11:52 AM, Sam Varner wrote: >     1. Should I prefer 'import' if it's available?  E.g (import srfi-4) >        instead of (use srfi-4). It's actually (require-library srfi-4) (import srfi-4) == (use srfi-4). The code load and module import are separate steps. E.g. $ csi -

Re: [Chicken-users] Readline trouble

2009-08-13 Thread Jim Ursetto
On Sun, Aug 9, 2009 at 10:19 PM, Sam Varner wrote: > Installing the readline egg with chicken-install fails: My guess is it is probably a special case of http://www.irp.oist.jp/trac/chicken/ticket/69, in which chicken-install does not stop on error. Just so you know we are looking at it. __

Re: [Chicken-users] Does Chicken garbage collect unreferenced symbols?

2009-08-22 Thread Jim Ursetto
On Sat, Aug 22, 2009 at 5:43 PM, John Cowan wrote: > If symbols aren't gc'd now, I'd like to argue for them to be. As per the Chicken README, symbol GC is disabled by default, but may be enabled globally at compiler build time, or per-app at runtime. SYMBOLGC=1 Always enable gar

Re: [Chicken-users] Chicken fails to build on Windows (mingw)

2009-08-23 Thread Jim Ursetto
On Sun, Aug 23, 2009 at 1:41 PM, Fadi Moukayed wrote: > Out of curiosity, why is Chicken using [random/srandom] instead of the > standard C rand/srand ? There shouldn't be any difference > functionality-wise AFAIK. rand(3) typically produces much less usable randomness than random(3) due to histo

Re: [Chicken-users] OS X 10.6 (Snow Leopard)

2009-08-29 Thread Jim Ursetto
It might be easier to compile with make PLATFORM=macosx ARCH=x86-64 as stated in the README. Jim On Sat, Aug 29, 2009 at 7:35 PM, Derrell Piper wrote: > It appears that the native Xcode 3.2 build tools are now 64-bit on 10.6 and > config-arch.sh isn't smart enough to distinguish the 64-bitness.

Re: [Chicken-users] OS X 10.6 (Snow Leopard)

2009-08-29 Thread Jim Ursetto
at 9:56 PM, Jim Ursetto wrote: > It might be easier to compile with > > make PLATFORM=macosx ARCH=x86-64 > > as stated in the README. > Jim > > On Sat, Aug 29, 2009 at 7:35 PM, Derrell Piper wrote: >> It appears that the native Xcode 3.2 build tools are now 64-bit on 10

Re: [Chicken-users] OS X 10.6 (Snow Leopard)

2009-08-29 Thread Jim Ursetto
00     EXECUTE    11       1172   NOUNDEFS > DYLDLINK TWOLEVEL > > Derrell > > On Aug 29, 2009, at 8:32 PM, Jim Ursetto wrote: > >> Is it really true that 10.6 gcc defaults to producing 64-bit binaries? >> I imagine that would break a lot of traditional UNIX builds.  If

Re: [Chicken-users] Chicken 4.1.0 on OpenBSD 4.4 on an AMD64

2009-08-31 Thread Jim Ursetto
2009/8/29 David N Murray : > I ran the runtests script after building 4.1.0 on an OpenBSD 4.4/AMD64 > box. > syntax tests (r5rs_pitfalls) ... > Failure: 1.1, expected '0', got '1'. > Failure: 1.2, expected '#t', got '#f'. > Passed: 1.3 Hi David, Thanks fo

Re: [Chicken-users] Error building sxpath egg

2009-09-01 Thread Jim Ursetto
On Tue, Sep 1, 2009 at 12:53 PM, Virgil King wrote: > I'm having trouble installing the sxpath egg using a fresh install of > 4.1.0 (built with ARCH=x86-64) on Snow Leopard: > > Error: during expansion of (import ...) - unbound variable: |???| Hmm. I was just able to build it with ARCH=x86-64 usi

Re: [Chicken-users] Error building sxpath egg

2009-09-01 Thread Jim Ursetto
On Tue, Sep 1, 2009 at 7:21 PM, Virgil King wrote: > Taking the hint about "weird chicken pieces" I tried moving aside > /usr/local/lib/chicken/4 before reinstalling 4.1.0 and sxpath and that > fixes my issue. Good catch. I can confirm it is looking in the installed repository first before the cu

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Jim Ursetto
I trust you will make any changes backwards-compatible and transparent for a while so we have a semblance of stability. Unless you are also proposing that you will modify every affected egg and add a cond-expand to distinguish between Chicken 4.1 and 4.2. I'll accept breakage if it gets me cool n

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread Jim Ursetto
require works but probably require-library in chicken 4 is the nearest equivalent to "use" in chicken 3. In chicken 4, use now does require-library + import, and the import is causing the problem. As far as modules, as a quick fix you can probably just wrap your geolib source file (etc.) in (modu

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread Jim Ursetto
On Sat, Sep 12, 2009 at 5:44 PM, John Cowan wrote: > Actually, you can't.  In Chicken 3, "use" would load stuff from the > current directory, but now it looks only in the installed-code > directory. Version 4.1.1 - SVN rev. 15417 #;1> (use a) ; loading ./a.import.so ... ; loading /Users/jim/loca

Re: use vs require (was Re: [Chicken-users] Proposed procedure movement in Chicken 4)

2009-09-12 Thread Jim Ursetto
On Sat, Sep 12, 2009 at 6:05 PM, Matthew Welland wrote: > On Saturday 12 September 2009 02:13:47 pm you wrote: >> require works but probably require-library in chicken 4 is the nearest >> equivalent to "use" in chicken 3. In chicken 4, use now does >> require-library + import, and the import is ca

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread Jim Ursetto
On Sat, Sep 12, 2009 at 6:50 PM, John Cowan wrote: > But if you haven't compiled it and just have the source, that doesn't work; > it used to in Chicken 3's csi. $ rm a.import.so $ rm a.so $ csi Version 4.1.1 - SVN rev. 15417 #;1> (use a) ; loading ./a.import.scm ... ; loading /Users/jim/local/c

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread Jim Ursetto
On Sat, Sep 12, 2009 at 9:14 PM, John Cowan wrote: > Okay, then, it seems you at least have to do csc -J. That is true, which is why I mentioned it in the next sentence. Jim ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.

Re: [Chicken-users] readline?

2009-09-13 Thread Jim Ursetto
On Sat, Sep 12, 2009 at 10:39 PM, David N Murray wrote: > > d...@kili:~/tr/scheme$ cat ~/.csirc > (require 'readline) > (current-input-port (make-gnu-readline-port)) > (gnu-history-install-file-manager (string-append (or (getenv "HOME") ".") > "/.csi.history")) Hi, Just change "require" to "requ

Re: [Chicken-users] readline?

2009-09-13 Thread Jim Ursetto
On Sun, Sep 13, 2009 at 11:28 AM, David N Murray wrote: > Thanks Jim.  That fixed it. I tried to update the Wiki > (http://chicken.wiki.br/readline#Examples) since that's where I got the > code from, but it tells me the page doesn't exist. Thanks. The wiki is confused. Looks like the correct pa

Re: [Chicken-users] Ref foreign type.

2009-09-21 Thread Jim Ursetto
Looks like there are two issues here. First, try applying the attached patch to fix a bug in c-backend. Second, your usage is incorrect--ref types require an operating system pointer or a locative (since they can be modified)--ref is the analog of c-pointer. For example, you can change your exam

Re: [Chicken-users] Re: Bignums in core

2009-10-03 Thread Jim Ursetto
On Sun, Oct 4, 2009 at 1:21 AM, Thomas Bushnell BSG wrote: > So what you're saying is, who cares about doing the right thing, let's > just do anything at all now. > > Well, my preference is to do the right thing.  What are you going to do > when the inexactness bites you? I suspect if there is an

Re: [Chicken-users] Re: chicken-install should use sudo -v

2009-10-06 Thread Jim Ursetto
On Tue, Oct 6, 2009 at 8:59 PM, Ivan Raikov wrote: > The implicit invocation of sudo violates the principle of least astonishment You have to explicitly provide the -s switch, so I disagree. >  I opposed the inclusion of the sudo mis-feature in chicken-setup, but > it nevertheless got included i

Re: [Chicken-users] chicken-install should use sudo -v

2009-10-06 Thread Jim Ursetto
On Thu, Oct 1, 2009 at 10:56 AM, John Cowan wrote: > Currently when you install an egg with many dependencies using the -s > (sudo) switch, you have to wait to enter your password until the first > time chicken-install invokes sudo.  If, on detecting the -s switch, > chicken-install immediately ra

Re: [Chicken-users] Chicken release 4.2.0

2009-10-08 Thread Jim Ursetto
I am not sure any of the developers have 10.6 yet. Perhaps you could try make PLATFORM=macosx ARCH=x86-64 and see if that works. It's not a perfect solution, as it will build 64-bit even if you wanted 32, but try it and let us know. 2009/10/7 Joshua Griffith : > Hello, > When compiling Chicken

[Chicken-users] chicken-doc

2009-12-01 Thread Jim Ursetto
Hi there, I've uploaded two new eggs, chicken-doc and chicken-doc-admin, into the Chicken 4 egg repository. chicken-doc allows you to explore Chicken manual and egg documentation from the command-line and the REPL. Documentation is generated from a checkout of the wiki, and is stored locally. T

Re: [Chicken-users] wiki question

2009-12-16 Thread Jim Ursetto
On Wed, Dec 16, 2009 at 9:15 AM, Derrell Piper wrote: >  I click, 'edit' and change "[[stream-ext]]" to, say, "[[mailbox]]", and then > click, 'preview' and the two links in the preview show up as: > > https://galinha.ucpel.tche.br/cgi-bin/svnwiki/default/mailbox > https://galinha.ucpel.tche.br/c

Re: [Chicken-users] Re: new egg documentation bootstrap

2009-12-18 Thread Jim Ursetto
On Fri, Dec 18, 2009 at 12:48 AM, Sven Hartrumpf wrote: > Thu, 17 Dec 2009 18:12:52 -0500, ddp wrote: >> Besides, I live in emacs.  Why do I have to edit in this little weird >> box with almost none of my normal keymap? > > That can be solved by using a browser with a suitable editor plugin. > For

Re: [Chicken-users] How to increase the trace output?

2009-12-19 Thread Jim Ursetto
On Fri, Dec 18, 2009 at 10:20 AM, Christian Kellermann wrote: > I'd like to see the [syntax] trace reaching farther back than this to see > where the entry point has been csc is a driver for chicken. Try this: $ csc -v -compiler "`which chicken` -:a100" aa.scm Syntax error: illegal atomic form

Re: [Chicken-users] readline egg, MacPorts, and OS X 10.6 (Snow Leopard)

2009-12-26 Thread Jim Ursetto
2009/12/25 Derrell Piper : > Fortunately, the readline in MacPorts works with the readline egg; it's > just a matter of getting chicken-install to compile and link against > /opt/local. To do that, I hacked readline.setup. Actually all you should have to do is set CSC_OPTIONS="-I/opt/local/includ

[Chicken-users] chicken on mingw fails (redux)

2010-01-07 Thread Jim Ursetto
This is with recent git (8b1b582). No msys, just plain mingw. There were a couple problems I was able to fix: bootstrap/posixwin.c was too old (I patched it), and the Makefile wanted to build chicken-setup but could not (I commented it out). However I can not get past the final issue: it doesn't

[Chicken-users] Re: chicken on mingw fails (redux)

2010-01-07 Thread Jim Ursetto
On Thu, Jan 7, 2010 at 3:45 PM, Jim Ursetto wrote: > However I can not get past the final issue: it doesn't build the > binary .import.* files.  It doesn't seem to know how to build the .c > counterpart, scheme.import.c, even though it's in rules.make. It was pointed out

Re: [Chicken-users] vector-lib ported to hygienic chicken

2010-01-15 Thread Jim Ursetto
I guess I am basically maintaining vector-lib. The new test suite is good, but the patch is mostly noise and reverts some changes that were made for Chicken. The existing code is synced with the reference implementation as of 2008-01-12. If you can apply *only* the changes from the ref. impl. fr

[Chicken-users] Note to eggdoc users on chicken-doc

2010-01-22 Thread Jim Ursetto
Hello, eggdoc users. chicken-doc now supports eggdoc, but a few issues arose with existing eggdocs, described below. If you modify an eggdoc, ideally make a new SVN tag (if you use tags/), because the repository scan for eggdocs uses the newest released egg. 1) I fixed minor typos in: glpk lalr

Re: [Chicken-users] [newbie] destroying foreign objects

2010-01-29 Thread Jim Ursetto
On Jan 30, 2010, at 12:22 AM, Marco Maggi wrote: I am skimming through Chicken's documentation to understand what it can do; is there a way to automatically apply a finalisation function when a pointer to a foreign object (C language structure) is garbage collected? Some

Re: [Chicken-users] utf8 and pdf eggs

2010-02-08 Thread Jim Ursetto
As far as I can tell pdf egg itself does not support UTF8 output as it does not generate a unicode character map. You would have to pass in a Latin-1 string. For example you can save your file (which I assume is in UTF-8) as ISO-8859-1 using "M-x set-buffer-file-coding-system iso-latin-1"

Re: [Chicken-users] Controlling output of processes

2010-03-12 Thread Jim Ursetto
What you want to do in effect is redirect stderr to stdout so that output comes out in the right order. The simplest way using a UNIX shell as you know is: (system "ls -l 2>&1") We can avoid relying on the shell via something like: (define command "ls") (define args '("-l")) (process-wait

Re: [Chicken-users] OK, I jumped the gun a little

2010-03-20 Thread Jim Ursetto
On Mar 20, 2010, at 11:59 AM, Mark Carter wrote: Sorry guys. In my recent report, I mentioned about not being able to bootstrap. I didn't read the README :( I'm supposed to obtain a bootstrapper from http://chicken.wiki.br/chicken-projects/bootstrap/ Unfortunately, there isn't one available

Re: [Chicken-users] Performance of write-char (and I/O in general)

2010-03-25 Thread Jim Ursetto
gcc is smarter than you think. Compare the assembly output of the two and you will find the fprintf call without the IF check is optimized into an fputc. - movl$97, (%esp) - call_fputc + movl(%edi), %eax + movl4(%eax), %eax + movl%eax, (%esp)

Re: [Chicken-users] Is there interest in a new egg (fast-io)?

2010-04-06 Thread Jim Ursetto
On Apr 6, 2010, at 15:11, Jeronimo Pellegrini wrote: > "unsafe-io" > "fast-unsafe-io" > "unsafe-io-procedures" > "nonstandard-fst-io" ieee-io ;)___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-use

Re: [Chicken-users] If anyone wants an RPM version of Chicken Scheme

2010-04-10 Thread Jim Ursetto
Hi, Out of curiosity what does /usr/lib point to on a Fedora 12 system? Do you have to specify --libdir=/usr/lib64 when you call "./configure" for every single package? On Apr 9, 2010, at 2:12 PM, Adam Young wrote: I built an RPM version of Chicken Scheme for Fedora 12. If anyone would c

Re: [Chicken-users] If anyone wants an RPM version of Chicken Scheme

2010-04-12 Thread Jim Ursetto
Mixing works fine on Debian, on 64-bit Debian /usr/lib contains the native libraries and lib64 is a symlink to /usr/lib, with lib32/ being a separate directory. This allows apps that expect plain /usr/lib to work normally. What I'm not clear on is why this is requires a patch in the first

Re: [Chicken-users] If anyone wants an RPM version of Chicken Scheme

2010-04-13 Thread Jim Ursetto
review it, making sure to run `make distclean` beforehand. On Apr 13, 2010, at 10:50 AM, Adam Young wrote: On 04/12/2010 05:53 PM, Jim Ursetto wrote: Mixing works fine on Debian, on 64-bit Debian /usr/lib contains the native libraries and lib64 is a symlink to /usr/lib, with lib32/ being a

Re: [Chicken-users] If anyone wants an RPM version of Chicken Scheme

2010-04-13 Thread Jim Ursetto
13, 2010, at 1:47 PM, Adam Young wrote: On 04/13/2010 02:11 PM, Jim Ursetto wrote: I looked at the patch already, the INSTALL_LIB_HOME should take precedence and is set by `make LIBDIR=/usr/lib64`, as you did in the .spec file. In other words this should work without a patch unless there

Re: [Chicken-users] Next Chicken release (4.4.0)

2010-04-19 Thread Jim Ursetto
On Tue, Mar 2, 2010 at 06:56, felix winkelmann wrote: > That was a stupid error by me. I have resurrected pointer-offset (it still > stays deprecated, but it is available again). It is not available. You resurrected it in d15fc586510d but deleted it again a few days later in merge 91b23b12c01, w

Re: [Chicken-users] objc egg in 4.4.0

2010-04-20 Thread Jim Ursetto
objc is now working and passes basic tests on OS X 10.5.8. Apple deprecated some of the ObjC API as of 10.5, so I don't know if it will work at all on 10.6. Jim On Apr 5, 2010, at 4:25 AM, Drew Hess wrote: Hi, Is the objc egg supposed to work with Chicken 4.4.0, or is it still unsupported

Re: [Chicken-users] Is there interest in a new egg (fast-io)?

2010-04-22 Thread Jim Ursetto
On Apr 6, 2010, at 9:34 AM, Jeronimo Pellegrini wrote: BTW, I've benchmarked complex reading ad writing too. I suppose the difference is huge for reading complexes because the read procedure doesn't know that it's a complex number. Hi there. Your numbers looked odd to me so I downloaded and

[Chicken-users] chickadee

2010-05-05 Thread Jim Ursetto
Hi all, I have placed an experimental chicken-doc server, chickadee, at http://3e8.org/chickadee/ It should be reasonably stable. Jim ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] chickadee

2010-05-05 Thread Jim Ursetto
On Wed, May 5, 2010 at 14:02, Shawn Rutledge wrote: > That's cool, seems quite fast too.  However try regex search for > define-method.  It finds the objc implementation but not tinyclos. You got unlucky there. The tinyclos document is one of the few that is not marked up correctly. > Is this g

Re: [Chicken-users] chickadee

2010-05-05 Thread Jim Ursetto
On Wed, May 5, 2010 at 14:02, Shawn Rutledge wrote: > I think search is more useful than lookup.  You could simplify by > having just one button, or at least having search be the default when > you hit enter on the input field. Search is cpu and disk intensive, may return thousands of matches, a

Re: [Chicken-users] On eggs and their licensing

2010-06-02 Thread Jim Ursetto
On Jun 2, 2010, at 9:43, Stephen Eilert wrote: > As I have some code that I would like to contribute back to Chicken, > in the form of eggs, I have started to look into the licensing issue. > I've asked that on #chicken, and the response was that I should choose > my own license. Good advice. >

Re: [Chicken-users] On eggs and their licensing

2010-06-02 Thread Jim Ursetto
On Jun 2, 2010, at 12:34 PM, Jim Ursetto wrote:You did have an interesting idea in re license info display.  Using the setup api, it should be pretty easy to write a program to display the license for each egg and recursively for its dependencies, since it's in the egg metadata.  Do you w

Re: [Chicken-users] Creating new types and their representation in the REPL

2010-07-07 Thread Jim Ursetto
Just FYI, If you go to chickadee and start typing define-record, you will see define-record-printer in the search box. On Jul 7, 2010, at 17:27, Jack Trades wrote: > > On Wed, Jul 7, 2010 at 1:58 PM, Peter Bex wrote: > > Use define-record-printer: > http://chicken.wiki.br/man/4/Non-standar

Re: [Chicken-users] unbound variable: make-hash-table

2010-07-09 Thread Jim Ursetto
(use srfi-69) On Jul 9, 2010, at 11:44, Martin DeMello wrote: > What's going wrong here? > > $ cat t.scm > > (define *hash* (make-hash-table)) > > $ csi t.scm > > ; loading t.scm ... > #;1> *hash* > # > > $ csc t.scm > $ ./t > > Error: unbound variable: make-hash-table > >Call history

Re: [Chicken-users] unbound variable: make-hash-table

2010-07-09 Thread Jim Ursetto
Martin, feel free to join us on freenode on #chicken as well, we can answer all kinds of questions there. On Jul 9, 2010, at 12:04, Mario Domenech Goulart wrote: > Hi Martin > > On Fri, 9 Jul 2010 22:14:09 +0530 Martin DeMello > wrote: > >> What's going wrong here? >> >> $ cat t.scm >> >

Re: [Chicken-users] using constants from define-foreign-enum-type via a module

2010-07-26 Thread Jim Ursetto
The right way is to use include, foreign variables are not visible outside the compilation unit they are declared in. Alternatively if you want a user accessible interface to the constants, and do not want to use the conversion procedures, use regular old define and export that binding: (defi

Re: [Chicken-users] using constants from define-foreign-enum-type via a module

2010-07-26 Thread Jim Ursetto
r automatic conversion between C numeric enums and Scheme symbolic enums. It doesn't look like you need that. On Mon, Jul 26, 2010 at 16:14, Martin DeMello wrote: > Right now, just the constant values. All I need is for them to be kept > in sync with the C enum. > > martin &

[Chicken-users] Re: chicken-doc

2010-07-30 Thread Jim Ursetto
On Tue, Dec 1, 2009 at 03:03, Jim Ursetto wrote: > chicken-doc allows you to explore Chicken manual and egg documentation > from the command-line and the REPL.  Documentation is generated from a > checkout of the wiki, and is stored locally. To try it out, you > will need to install

[Chicken-users] sql-de-lite integrated SQLite3 library

2010-08-11 Thread Jim Ursetto
Hi there. SQLite3 is a great, lightweight database, but I have hesitated to use it in Chicken applications because it's not guaranteed to be installed or recent enough on a user's machine -- especially if they're on Windows or OS X. Installing it can be an annoying extra step for your users. To

Re: [Chicken-users] Initial release of epoll egg

2010-08-18 Thread Jim Ursetto
On Aug 18, 2010, at 12:10, Peter Bex wrote: > On Wed, Aug 18, 2010 at 10:05:50AM -0700, David Reynolds wrote: >> If you've seen my last email, you know I'm working on some server technology >> called Rooster. I broke out the epoll stuff into its own egg and put it on >> github here: http://gith

Re: [Chicken-users] Scheme code to be read

2010-08-18 Thread Jim Ursetto
On Aug 18, 2010, at 12:21, Mario Domenech Goulart wrote: > > That's indeed a good idea (as long as the eggs are not mine). "That's awful"___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Announcing call-cc.org

2010-08-20 Thread Jim Ursetto
On Fri, Aug 20, 2010 at 16:49, Alex Shinn wrote: > Mario Domenech Goulart writes: > If you have an old checkout of any or all of the eggs repo > and don't want to download the whole thing again, the magic > incantation for SVN to point to the new server seems to be: > > svn switch --relocate htt

[Chicken-users] Re: chicken-doc

2010-09-01 Thread Jim Ursetto
On Fri, Jul 30, 2010 at 12:34, Jim Ursetto wrote: > Hi all.  Pre-built documentation tarballs are now being generated > daily from the latest wiki documentation. Hi chicken-doc-u-hens, chicken-doc 0.4 is now in the wild and sports a more efficient repository format which decreases

Re: [Chicken-users] Incremental build, tricks or tips anyone?

2010-09-05 Thread Jim Ursetto
Matthew, Would it be possible for you to use the make macro that is built into setup-api (and therefore chicken-install), along with 'csc -t' for example to do the translation from .c to .o, rather than manually invoking gcc? csc can also be called in a separate step to link your object files to

Re: [Chicken-users] tinyclos fails to install ...

2010-09-05 Thread Jim Ursetto
On Sep 5, 2010, at 17:24, Matthew Welland wrote: > I don't see any options to force chicken-install to use an older version of > an egg. Is my only option to either manually get the older egg or manually > make a new chicken? chicken-install tinyclos:1.6.4 _

Re: [Chicken-users] 4.6.1 performance boost

2010-09-24 Thread Jim Ursetto
Felix, Which commit is this in? I would like to try "before" and "after" tests to confirm. Jim On Fri, Sep 24, 2010 at 11:50, Felix wrote: > From: Mario Domenech Goulart > Subject: [Chicken-users] 4.6.1 performance boost > Date: Fri, 24 Sep 2010 09:17:20 -0400 > >> Hi >> >> I don't know what ki

Re: [Chicken-users] More on Packaging eggs

2010-09-29 Thread Jim Ursetto
On Sep 29, 2010, at 16:10, Peter Bex wrote: > > wiki-parse was and initial attempt to tweak what was originally a parser > by Alex Shinn for mediawiki syntax, so that it could read svnwiki syntax. > > If Alex still wants to support it (I wouldn't recommend it, we've hacked > this egg beyond all

Re: [Chicken-users] dev-snapshot 4.6.3

2010-10-07 Thread Jim Ursetto
On Wed, Oct 6, 2010 at 07:58, Felix wrote: > - the `regex' library unit has been removed and is separately >  available as an extension which should be fully backwards- >  compatible Just wanted to clarify that if you are upgrading over an older version in the same install location, you will have

Re: [Chicken-users] Using irregex safely & responsibly [Was: Re: dev-snapshot 4.6.3]

2010-10-07 Thread Jim Ursetto
On Thu, Oct 7, 2010 at 15:53, Peter Bex wrote: > In your egg's file, where you would previously use this idiom: > > (require-library regex)      ; or (use regex) for the lazy & sloppy > (import irregex) > > you can now replace it with this block (you can delete emulation of > procedures you are su

Re: [Chicken-users] Using irregex safely & responsibly [Was: Re: dev-snapshot 4.6.3]

2010-10-08 Thread Jim Ursetto
On Fri, Oct 8, 2010 at 02:09, Peter Bex wrote: > That's not quite true; some of the compatibility code is still necessary > to make up for the changes in the API. If that's the case, it means that eggs compiled with 4.6.0 aren't compatible with those compiled with 4.6.2, because that compatibilit

Re: [Chicken-users] Using irregex safely & responsibly [Was: Re: dev-snapshot 4.6.3]

2010-10-08 Thread Jim Ursetto
bump binversion to 6 after all. :( On Fri, Oct 8, 2010 at 16:00, Jim Ursetto wrote: > 2) eggs using the old irregex API would be compatible with all Chicken > versions without rebuilding. ___ Chicken-users mailing list Chicken-users@nongnu.or

Re: [Chicken-users] Using irregex safely & responsibly

2010-10-11 Thread Jim Ursetto
On Mon, Oct 11, 2010 at 02:51, Peter Bex wrote: > On Mon, Oct 11, 2010 at 01:17:49PM +0900, Alex Shinn wrote: > However, in case of substring and index operations, the result is > always an integer/a string.  Returning #f is completely unambiguous > in those cases, so I don't see the need to add

Re: [Chicken-users] Using irregex safely & responsibly

2010-10-11 Thread Jim Ursetto
On Sun, Oct 10, 2010 at 23:17, Alex Shinn wrote: > Jim Ursetto writes: > >> There is some inconsistency in the docs: >> >> irregex-match-num-submatches: Returns the number of numbered >> submatches that are defined in the >> irregex or match object. >>

Re: [Chicken-users] Installing data files for eggs

2010-10-18 Thread Jim Ursetto
On Sat, Oct 2, 2010 at 13:55, Peter Bex wrote: > Hi all, > > Is there a proper way to install data files from egg .setup-files? > I couldn't find anything at http://wiki.call-cc.org/manual/Extensions > so I rolled my own for the "slatex" egg: > [...] > The disadvantages are obvious: these files do

Re: [Chicken-users] /sbin/ldconfig: libchicken.so not a symbolic link

2010-10-20 Thread Jim Ursetto
Hi there. Did you happen to install over an older version of chicken, one which may have left a libchicken.so remnant there? From your mail, it sounds like libchicken.so already existed and it was a real file instead of a symlink, is that correct? Jim 2010/10/18 Yi DAI : > Hi, > > After installi

Re: [Chicken-users] /sbin/ldconfig: libchicken.so not a symbolic link

2010-10-20 Thread Jim Ursetto
Ok, thanks. Could you redirect your entire build output from 4.6 to a file and send it along (or upload it somewhere if you don't want to send to the whole list). Maybe that will provide a clue. Jim On Oct 20, 2010, at 16:52, Yi DAI wrote: > > > On Wed, Oct 20, 2010 at

Re: [Chicken-users] Installing data files for eggs

2010-10-21 Thread Jim Ursetto
On Thu, Oct 21, 2010 at 01:11, Felix wrote: > IIRC, debian only allows post-installation changes to VARDIR. Does this > apply to DATADIR as well? Where do you (Peter, Jim) see this data files > to be copied to on egg-installation? I have no idea about either VARDIR or DATADIR. I have just been

[Chicken-users] Re: New directory during extension install

2010-10-22 Thread Jim Ursetto
Oh, thank you. That's the first good explanation I got regarding the difference between (posix create-directory) and (chicken eggs create-directory/parents). That means I can't create directories without creating their parents then, right? Say out of some misguided safety precaution I don't want

Re: [Chicken-users] using mmap files as strings?

2010-10-23 Thread Jim Ursetto
On Sat, Oct 23, 2010 at 05:04, Peter Bex wrote: > On Fri, Oct 22, 2010 at 05:58:02PM -0600, Alan Post wrote: >> This is excellent, I've learned a lot more about how all of this >> works together now. >> >> What method would I use to convert a pointer and a length to a >> string?  Even though I'm c

[Chicken-users] Chicken Gazette - Issue 9

2010-10-25 Thread Jim Ursetto
_/_/_/ _/_/_/ / _/_/_/_/ _/_/_/ _/ _/ _/_/_/_/_/ / _/_/_/ _/ _/_/_/ _/_/_/_/ _/_/ / _/_/_/ _/ _/_/ _/_/_/_/ / _/_/_/ _/_/ _/

Re: [Chicken-users] Chicken Gazette - Issue 9

2010-10-25 Thread Jim Ursetto
Hi Alan. On Mon, Oct 25, 2010 at 18:06, Alan Post wrote: >  $ sudo chicken-doc-admin -m man/4 > >  Error: (irregex-match-start-index) not a valid index >  # >  8 It's a problem with irregex in 4.6.2 (the one that was fixed by Peter). You have to pull the irregex-bugfixes branch or downgrade to

Re: [Chicken-users] Re: on the hardship of upgrading chicken from 4.6.1 to 4.6.3 -- what I forgot

2010-11-17 Thread Jim Ursetto
On Wed, Nov 17, 2010 at 15:35, Jörg F. Wittenberger wrote: > * A lot of changes are about white space / reformatting or insignificant > things as replacing angle brackets with round ones.  Especially in LISP > languages, where this amounts to large line wise diff's for no > structural reason. `gi

Re: [Chicken-users] Can an egg have a library and executable with the same name?

2010-11-25 Thread Jim Ursetto
On Nov 25, 2010, at 2:09, Peter Bex wrote: > On Wed, Nov 24, 2010 at 08:16:55PM -0700, Alan Post wrote: >> If it isn't, can someone point me to an egg that has >> a library and an executable named after the egg? > > awful does this. And chicken-doc, chicken-doc-admin, and chickadee. Jim ___

Re: [Chicken-users] Scheme Code beautifier

2010-11-30 Thread Jim Ursetto
Sure Joe, you can use indent-region, which is bound to M-C-\. It won't change your linebreaks, but it will reindent your code. 2010/11/29 Joe Python : > Is there a 'Scheme Code beautifier' where I can call within emacs to tidy up > existing code with correct indentations? > >

Re: [Chicken-users] Re: seg fault

2010-12-01 Thread Jim Ursetto
I swear this was documented in the README, but I can't find it now. Anyway, instead of changing the Makefile, you just need to pass ARCH=x86-64 to the make command, like: make PLATFORM=macosx ARCH=x86-64 Sorry for the inconvenience. Jim On Mon, Nov 29, 2010 at 17:44, David Dreisigmeyer wrote:

Re: [Chicken-users] Re: seg fault

2010-12-01 Thread Jim Ursetto
We've been over this a few times and haven't found a reliable solution, mainly because no devs have 10.6. The issue is not the kernel but the default output format of gcc itself. If anyone has a reliable way to determine that for all 10.6 installs, and which still works for all 10.4 and 10.5,

Re: [Chicken-users] Re: seg fault

2010-12-01 Thread Jim Ursetto
No, this is not a kernel issue but a gcc output issue. On Dec 1, 2010, at 7:48, David Dreisigmeyer wrote: > Would this help(?): > > ioreg -l -p IODeviceTree | grep firmware-abi > > (From here: > http://www.zdnet.com/blog/apple/will-your-mac-boot-64-bit-snow-leopard-by-default-not-unless-its

Re: [Chicken-users] Re: seg fault

2010-12-01 Thread Jim Ursetto
However, yours is an unusual case while on Snow Leopard it is extremely common. If gcc is configured to build 64-bit then we should be able to detect that and use the appropriate apply-hack without forcing the user to set ARCH. Which is already the current solution. On Dec 1, 2010, at 12:53,

Re: [Chicken-users] objc install error on OS X 10.6.5

2010-12-01 Thread Jim Ursetto
It's not supported on 10.6, I apologize. For this one there is no workaround. On Dec 1, 2010, at 12:09, David Dreisigmeyer wrote: > I can't install the objc egg (see below). Thanks again. -Dave > > P.S. Sorry for all of the emails. > > > > Last login: Wed Dec 1 13:02:2

<    1   2   3   4   5   >