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
On Tue, Dec 1, 2009 at 03:03, Jim Ursetto zbignie...@gmail.com 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
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:
Ursetto zbignie...@gmail.com wrote:
Are you using the foreign type conversion facilities at all or do you just
need the constant values?
On Jul 26, 2010, at 15:20, Martin DeMello martindeme...@gmail.com wrote:
On Tue, Jul 27, 2010 at 1:20 AM, Jim Ursetto zbignie...@gmail.com wrote:
The right
(use srfi-69)
On Jul 9, 2010, at 11:44, Martin DeMello martindeme...@gmail.com wrote:
What's going wrong here?
$ cat t.scm
(define *hash* (make-hash-table))
$ csi t.scm
; loading t.scm ...
#;1 *hash*
#hash-table (0)
$ csc t.scm
$ ./t
Error: unbound variable: make-hash-table
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 mario.goul...@gmail.com
wrote:
Hi Martin
On Fri, 9 Jul 2010 22:14:09 +0530 Martin DeMello martindeme...@gmail.com
wrote:
What's
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 jacktradespub...@gmail.com wrote:
On Wed, Jul 7, 2010 at 1:58 PM, Peter Bex peter@xs4all.nl wrote:
Use define-record-printer:
On Jun 2, 2010, at 9:43, Stephen Eilert spedr...@gmail.com 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.
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 want
On Wed, May 5, 2010 at 14:02, Shawn Rutledge shawn.t.rutle...@gmail.com 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
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
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
On Tue, Mar 2, 2010 at 06:56, felix winkelmann bunny...@gmail.com 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
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
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
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
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,
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
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
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?
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
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.
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
On Thu, Jan 7, 2010 at 3:45 PM, Jim Ursetto zbignie...@gmail.com 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 that I
2009/12/25 Derrell Piper d...@electric-loft.org:
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
On Fri, Dec 18, 2009 at 10:20 AM, Christian Kellermann
ck...@pestilenz.org 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:
On Fri, Dec 18, 2009 at 12:48 AM, Sven Hartrumpf hartru...@gmx.net 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
On Wed, Dec 16, 2009 at 9:15 AM, Derrell Piper d...@electric-loft.org 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
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.
On Tue, Oct 6, 2009 at 8:59 PM, Ivan Raikov ivan.g.rai...@gmail.com 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
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
On Sat, Sep 12, 2009 at 10:39 PM, David N Murray dmur...@jsbsystems.com 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
On Sun, Sep 13, 2009 at 11:28 AM, David N Murray dmur...@jsbsystems.com 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
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
On Sat, Sep 12, 2009 at 6:05 PM, Matthew Welland m...@kiatoa.com 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
On Sat, Sep 12, 2009 at 6:50 PM, John Cowan co...@ccil.org 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
On Sat, Sep 12, 2009 at 9:14 PM, John Cowan co...@ccil.org 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
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
On Tue, Sep 1, 2009 at 12:53 PM, Virgil Kingvirgilk...@gmail.com 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
On Tue, Sep 1, 2009 at 7:21 PM, Virgil Kingvirgilk...@gmail.com 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
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 Piperd...@electric-loft.org 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
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 so
then we will need to either have better detection of bittedness or
simply force gcc to 32-bit mode unless the ARCH is specified as
64-bit.
64-bit works
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 so
then we will need to either have better detection of bittedness or
simply force gcc to 32-bit
On Sun, Aug 23, 2009 at 1:41 PM, Fadi Moukayedsmf...@googlemail.com 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
On Sun, Aug 9, 2009 at 10:19 PM, Sam Varnersnick-a-...@comcast.net 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
On Mon, Aug 10, 2009 at 8:55 PM, Sam Varnersnick-a-...@comcast.net 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
On Sun, Aug 9, 2009 at 11:52 AM, Sam Varnersnick-a-...@comcast.net 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
On Wed, Aug 5, 2009 at 9:02 AM, Thomas Chustch...@web.de 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
On Fri, Jul 31, 2009 at 8:14 AM, Alejandro Forero
Cuervoa...@freaks-unidos.net 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
On Fri, Jul 31, 2009 at 8:02 AM, Alejandro Forero
Cuervoa...@freaks-unidos.net 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
On Fri, Jul 31, 2009 at 2:00 PM, Alejandro Forero
Cuervoa...@freaks-unidos.net 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
On Sun, Jul 26, 2009 at 3:24 PM, Nicholas Indy Rayarel...@gmail.com 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
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/chicken-eggs/release/4
chicken-eggs4
Maybe there was a transitory error? Please post the error you get.
Jim
On Tue
As long as the license supports it, by all means!
2009/7/25 Michael Maul mike.m...@gmail.com:
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
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, billramsa...@comcast.net
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
On Sun, Jun 21, 2009 at 10:51 AM, Glen Foyrandomb...@clairvaux.org 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
2009/6/18 Jack Trades jacktradespub...@gmail.com:
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 nowiki.
Why do you need
On Thu, Jun 18, 2009 at 4:23 PM, Jack Tradesjacktradespub...@gmail.com wrote:
On Thu, Jun 18, 2009 at 5:05 PM, Jim Ursetto zbignie...@gmail.com wrote:
Why do you need parameters?
Unless I'm misunderstanding; to colorize cells and align text.
OK. Well, inserting direct HTML into the wiki
On Thu, Jun 11, 2009 at 5:17 PM, Jack Tradesjacktradespub...@gmail.com wrote:
It is uncommon to test against the macro's name, but we can
do it by using the compare procedure against the renamed 'ef
identifier.
So the purpose of the compare procedure is to compare renamed identifiers?
Note
2009/6/9 Jack Trades jacktradespub...@gmail.com:
A couple more questions. I was playing with a macro that extends the syntax
of if. This macro works fine on its own and also if I import the module
with no prefix. However I get an error if I try to import the module with a
prefix.
It's
On Thu, May 28, 2009 at 8:57 AM, Mario Domenech Goulart
mario.goul...@gmail.com wrote:
On Thu, 28 May 2009 07:32:04 -0600 Matt Gushee m...@gushee.net wrote:
I thought I would create a simple logging facility, and, well of
course every good log entry needs a timestamp ... so I searched for a
On Sun, May 24, 2009 at 2:02 PM, Matt Gushee m...@gushee.net wrote:
Hi, all--
I am having trouble opening files in append mode using posix functions
[Chicken 4.0 on Linux]:
csi (define fd2 (file-open /tmp/foo2.txt (+ open/append open/creat)))
csi (define po2 (open-output-file* fd2))
On Wed, May 6, 2009 at 4:06 AM, Alejandro Forero Cuervo
a...@freaks-unidos.net wrote:
For example, searching for mario domenech goulart on Google
lists http://chicken.wiki.br/mario%20domenech%20goulart as the
second result. This result used to work, redirecting to the
correct page. Now
On Tue, May 5, 2009 at 5:29 PM, Alejandro Forero Cuervo
a...@freaks-unidos.net wrote:
For example, searching for mario domenech goulart on Google lists
http://chicken.wiki.br/mario%20domenech%20goulart as the second
result. This result used to work, redirecting to the correct page.
Now it
The manual implies that require-extension is the same as a
require-library followed by an import, but this is not so.
require-extension does not work for a source module that has no
corresponding import file on disk.
#;1 (require-extension tadm)
Error: (import) during expansion of (import ...) -
On Tue, May 5, 2009 at 5:29 PM, Alejandro Forero Cuervo
a...@freaks-unidos.net wrote:
No, I'm not volunteering my time to fix this mess.
Could you at least fix the part where the wiki search engine still
returns results for deleted pages?
Jim
___
2009/5/4 Anthony Carrico acarr...@memebeam.org:
I didn't indent the module (this will make it easier to check my work
with svn diff).
It seems that it is useful not to indent the module body, as
definitions aligned at left works better with emacs and
scheme-complete. So that is perfectly fine.
On Fri, May 1, 2009 at 10:28 AM, Michele Simionato
michele.simion...@gmail.com wrote:
Does require-for-syntax work with Chicken 4?
As an exercise, I was trying to define a simple define macro as follows:
(require-for-syntax 'matchable)
You want
(require-library matchable)
(import-for-syntax
On Thu, Apr 30, 2009 at 2:59 PM, William Ramsay ramsa...@comcast.net wrote:
Can you be a little more explicit in what you mean? Adding that just
produces more errors.
John Cowan wrote:
(lambda body rename compare)
(define s (car body))
(define ff (cdr body))
Change this:
You don't happen to be using 3.5.0 or 3.5.1, are you?
On Fri, Apr 24, 2009 at 4:36 PM, William Ramsay ramsa...@comcast.net wrote:
Hi again,
Are there any real world examples of threading in Chicken Scheme? The docs
for SRFI-18 are too obscure for poor me to understand.
When I try matching
2009/4/22 Stephen Eilert spedr...@gmail.com:
Hi peeps,
I'm trying to install intarweb on my machine
uri-generic installs fine, however:
uri-generic version: 1.12
It installs version 1.12 and intarweb requires 2.0. I've been told on IRC
2009/4/22 nefi...@gmail.com:
Thank you, Thomas and John, for the kind replies.
I'm using Chicken 4.
So, I imagine I can stick with syntax-rules until I run into a situation
where I need something else, at which point I can either try define-macro
(if I use this, do I need to explicitly
On Wed, Apr 22, 2009 at 11:28 AM, John Cowan co...@ccil.org wrote:
Alex Shinn scripsit:
52 eggdoc
19 openssl
6 iconv
5 utf8
4 tcp-server
3 format
6 sendfile
2 graph-scc
These have already been ported.
They aren't in
On Wed, Apr 22, 2009 at 2:15 PM, Jim Ursetto zbignie...@gmail.com wrote:
A situation not mentioned above where you may prefer something else,
even if not breaking hygiene, is when your macro would be better off
written in procedural style
Forgot to mention, pattern matching is available
On Wed, Apr 22, 2009 at 1:32 PM, Jim Ursetto zbignie...@gmail.com wrote:
Forgot to mention, pattern matching is available in explicit renaming macros
via the matchable extension; the foreigners egg is an example.
On Wed, Apr 22, 2009 at 3:55 PM, Jordan Cooper nefi...@gmail.com wrote:
Explicit
On Wed, Apr 22, 2009 at 3:59 PM, Stephen Eilert spedr...@gmail.com wrote:
I'll have to run against the repository. Passing the version seems to work -
for the specific egg. It breaks again when dependent eggs are installed.
That is correct, however, as far as I know only base64 and uri-generic
On Thu, Apr 16, 2009 at 2:40 AM, Shawn Rutledge
shawn.t.rutle...@gmail.com wrote:
With Chicken 3, (use egg) can load a compiled egg.so in the cwd. This
is especially handy during egg development - you can compile and test
repeatedly without having to install. Chicken 4 doesn't seem to do
On Wed, Apr 15, 2009 at 6:26 PM, Nathan Thern nth...@gmail.com wrote:
Hello all-
It seems cond-expand is not recognized inside module declarations. I
have the following file saved as extra.scm:
(module
extra
(when unless)
(cond-expand (plt) (else
You forgot to (import scheme).
On Sun, Nov 2, 2008 at 6:57 PM, felix winkelmann bunny...@gmail.com wrote:
On Fri, Oct 31, 2008 at 2:51 PM, Graham Fawcett
graham.fawc...@gmail.com wrote:
Hi folks,
The current base64 egg for Chicken 3 builds, but gives me incorrect
results. The non-working version is by Bailey, ported by
2009/4/9 lowly coder lowlyco...@huoyanjinjing.com:
Wait ... the Apple Developer Agreement has strict requirements against GC?
Perhaps not. All I can find is a note that the Objective-C runtime
does not support GC, but it doesn't say you can't implement it
yourself.
In a low-memory environment,
On Sat, Mar 28, 2009 at 2:20 AM, Shawn Rutledge
shawn.t.rutle...@gmail.com wrote:
I'm trying it on the Mac (Leopard):
[mini][12:18:32 AM] chicken-setup tinyclos
chicken-setup doesn't exist in Chicken 4 (it's called chicken-install
now), and tinyclos isn't packaged for Chicken 4 anyway.
On Thu, Mar 19, 2009 at 3:18 AM, felix winkelmann bunny...@gmail.com wrote:
On Wed, Mar 18, 2009 at 9:27 PM, Ivan Raikov ivan.g.rai...@gmail.com wrote:
This means that we cannot have a Debian package for Chicken 4,
because Debian insists on having a soname version, so that it can do
things
On Thu, Mar 12, 2009 at 8:25 PM, Eduardo Cavazos wayo.cava...@gmail.com wrote:
extern Status XQueryTree(
Window** /* children_return */,
);
(c-function Status XQueryTree (... (c-pointer (c-pointer unsigned-long)) ...)
I can allocate enough storage for a pointer via:
(define
You can use locations for your other vars as well -- in this case it
should work even for 64-bit values.
(let-location
((root unsigned-long)
(parent unsigned-long)
(children (c-pointer unsigned-long))
(nchildren unsigned-long))
(XQueryTree dpy win
(location root)
On Fri, Mar 13, 2009 at 3:16 AM, Jim Ursetto zbignie...@gmail.com wrote:
You can use locations for your other vars as well -- in this case it
should work even for 64-bit values.
Urgh. I read the header files. Window is typed as unsigned long on
32-bit systems and unsigned int on 64-bit systems
On Mon, Mar 2, 2009 at 3:48 PM, Peter Bex peter@xs4all.nl wrote:
However, it turns out that an exception thrown in a thread simply
terminates the thread instead of unwinding the stack. The same does not
happen in the primordial thread:
$ csi
#;2 (dynamic-wind (lambda () (print BEFORE))
I believe this is a bug in Chicken 4. It works in Chicken 3 with the
syntax-case egg, and in Scheme 48. It looks like an ellipsis form
matches after just checking the first pattern, without checking
subsequent patterns.
(define-syntax foo
(syntax-rules () ((_ (a b) ...)
On Thu, Mar 5, 2009 at 12:28 PM, Jim Ursetto zbignie...@gmail.com wrote:
It looks like an ellipsis form matches after just checking
the first pattern, without checking subsequent patterns.
This wasn't quite correct. It seems that, if you have a pair in your
pattern followed by an ellipsis
On Mon, Mar 2, 2009 at 9:05 AM, Derrell Piper d...@electric-loft.org wrote:
objc egg's blowing up under 10.5. Is there a fix?
objc-support.m:460:17: error: ffi.h: No such file or directory
Hi,
Did you install libffi?
See http://chicken.wiki.br/objc#requirements. Try libffi-20071207 on
On Wed, Feb 25, 2009 at 7:48 PM, Ivan Raikov ivan.g.rai...@gmail.com wrote:
For the time being, I have reverted srfi-18.scm to that of Chicken
release 3.4.0. This fixes the issues you reported with srfi-18 and
srfi-27.
I have restored the latest version of srfi-18 and fixed some bugs and
On Thu, Feb 26, 2009 at 12:48 PM, Peter Danenberg pe...@ck12.org wrote:
Should we just pull it down from:
https://galinha.ucpel.tche.br/svn/chicken-eggs/chicken/branches/chicken-3/
or are you going to make a release?
It will make it into 3.5.2, but it doesn't contain any functionality
or
On Thu, Feb 26, 2009 at 3:12 PM, William Ramsay ramsa...@comcast.net wrote:
This may seem like a strange question, but I'm confused about the use of
set!. It may be a holdover from my pre-scheme days, but it seems I should
be declaring a variable before using it with set!
William,
Check
On Thu, Feb 26, 2009 at 3:46 PM, Jim Ursetto zbignie...@gmail.com wrote:
You might prefer, for style or portability, to have a dummy definition
at toplevel, such as (define foo #f) or just (define foo), prior to
performing the set!.
Whoops. To be clear, (define foo) is a Chicken extension
On Tue, Feb 24, 2009 at 2:07 AM, Sven Hartrumpf
sven.hartru...@fernuni-hagen.de wrote:
I am building chicken from svn and stumbled across
the fact that chicken-setup will not be build any more
(since around 2008-09-25?).
Are you building Chicken 4? It's called chicken-install now.
On Sun, Feb 22, 2009 at 6:56 AM, Rafael Ibraim ibraim...@gmail.com wrote:
sendfile.c:10:21: chicken.h: No such file or directory
If this is the original error, it means it can't find your Chicken
installation at all, a bigger problem than just a missing #define.
Can you build any other eggs?
On Mon, Feb 2, 2009 at 12:07 PM, Kon Lovett klov...@pacbell.net wrote:
(##sys#slot l 1) - (%cdr l)
(##sys#setslot l 1 x) - (%set-cdr l x)
I was wondering. The compiler already inlines primitives when
usual-integrations is in effect. Would it not be possible to tell it,
with a new
On Sun, Feb 1, 2009 at 12:06 PM, Jörg F. Wittenberger
joerg.wittenber...@softeyes.net wrote:
I'm confused (about chicken/trunk):
the current manual contains:
[procedure] (string-match REGEXP STRING [START])
[procedure] (string-match-positions REGEXP STRING [START])
my usage (from pcre
On Sun, Feb 1, 2009 at 12:06 PM, Jörg F. Wittenberger
But worst regex.scm:
(define (string-match-positions rx str)
That performs an anchored match against the beginning and end of the
entire string. If you want to provide a range to search in, use:
(string-search-positions rx str #!optional
On Mon, Dec 22, 2008 at 3:03 AM, felix winkelmann bunny...@gmail.com wrote:
Please try this [finalizer patch].
Hi. I am seeing finalizers fail to execute on recent SVN and I think
it is the result of this change. I backed out the patch and it works
okay again.
On Version 3.4.10 - SVN rev.
201 - 300 of 363 matches
Mail list logo