Re: Removing deprecated wiki-parse egg from the repository [Was: Re: [Chicken-users] More on Packaging eggs]

2010-10-08 Thread Alex Shinn
If anyone is interested I can revert it to the original syntax used on the synthcode.com wiki, otherwise go ahead and delete it. iPhoneから送信 On 2010/10/08, at 16:21, Peter Bex wrote: > On Wed, Sep 29, 2010 at 04:25:09PM -0500, Jim Ursetto wrote: >>> wiki-parse was and initial attempt to tweak w

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

2010-10-08 Thread Felix
From: Jim Ursetto Subject: Re: [Chicken-users] Using irregex safely & responsibly [Was: Re: dev-snapshot 4.6.3] Date: Fri, 8 Oct 2010 16:00:05 -0500 > Why can't the compatibility code be included in the new irregex unit? > In other words, the old procedure names and behavior could be > deprecate

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

2010-10-08 Thread Jim Ursetto
Eh, let me clarify #2. Eggs built with 4.6.0 need to be recompiled with 4.6.2 regardless due to the C_regex_toplevel linking issues. However, once they are, they would also work with 4.6.0 again, as long as they stuck to the old irregex API. I think. This is pretty confusing. Maybe we should bu

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] Trouble with FFI and 64 bit machines

2010-10-08 Thread Stephen Eilert
On Fri, Oct 8, 2010 at 3:58 PM, Peter Bex wrote: > > I'm not sure if that's the problem with your egg, but this results in a > compiler warning because there's no prototype for that function, so > C assumes the return value's type is 'int', which is indeed a different > size than void * on x86_64.

Re: [Chicken-users] Trouble with FFI and 64 bit machines

2010-10-08 Thread Peter Bex
On Fri, Oct 08, 2010 at 03:39:46PM -0300, Stephen Eilert wrote: > I get the following compilation warning, which is likely the source of > the corrupt pointer: > > csc -c testcase.scm > testcase.c: In function 'stub3': > testcase.c:31: warning: cast to pointer from integer of different size > > E

[Chicken-users] Trouble with FFI and 64 bit machines

2010-10-08 Thread Stephen Eilert
Hi guys, As some of you might be aware, I am creating bindings for the Discount (http://www.pell.portland.or.us/~orc/Code/discount/) library. However, I have run into a problem. When testing on my OSX (Snow Leopard) machine with a 64 bit chicken, I get a segfault. After some debugging (and Venton

Removing deprecated wiki-parse egg from the repository [Was: Re: [Chicken-users] More on Packaging eggs]

2010-10-08 Thread Peter Bex
On Wed, Sep 29, 2010 at 04:25:09PM -0500, Jim Ursetto 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 >

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

2010-10-08 Thread Peter Bex
On Fri, Oct 08, 2010 at 09:05:10AM +0200, Peter Bex wrote: > On Thu, Oct 07, 2010 at 08:37:59PM -0500, Jim Ursetto wrote: > > Does this mean for every egg that uses the irregex API directly, I > > need to insert this [cond-expand] blob of code? > > You have three options: > - Add a dependency on t

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

2010-10-08 Thread Peter Bex
On Thu, Oct 07, 2010 at 08:37:59PM -0500, Jim Ursetto wrote: > Does this mean for every egg that uses the irregex API directly, I > need to insert this [cond-expand] blob of code? You have three options: - Add a dependency on the regex egg and keep doing (require-library regex)(import irregex)