Hi Francis,
The readme instructions you refer to are only to be used for *universal*
builds, which are not possible on snow leopard. Nor are they really desirable
even on tiger or leopard unless you absolutely must support PPC and Intel in
the same install.
Simply build normally without
John,
Presuming you no longer need the contents of values after the call to
window-property-set, you can then use free from unit lolevel to free the
memory. Is that the case?
On Mar 9, 2011, at 21:35, John J Foerch jjfoe...@earthlink.net wrote:
Hello,
I'm writing a program that uses xlib
On Mar 10, 2011, at 10:57 AM, John Cowan wrote:
I get one failure running on Chrome 10.0.648.127 beta for Windows:
(every-of #t) returns #f instead of #t.
Same here on Safari 5.0.4
___
Chicken-users mailing list
Chicken-users@nongnu.org
On Mar 11, 2011, at 8:55 AM, David N Murray wrote:
Looking at the difference between your csi announcement and mine, I notice
that I'm building the 64bit version. If I try the same thing on a 32-bit
build, I don't have the problem.
Not that this helps much but I can reproduce the SIGFPE (on
Hi Dave,
The wiki manual tracks the latest stable release of Chicken, which is 4.6.0 and
still contains getenv. It should be removed when 4.7.0 comes out.
Jim
On Mar 11, 2011, at 3:33 PM, David N Murray wrote:
Hi all,
I'm not sure fixing the docs is the correct thing here, but I'll be
On Apr 1, 2011, at 7:47 AM, Thomas Chust wrote:
There is at least one small point that I would want to do differently,
though: In my opinion it has some value if the procedure establishing
the database connection has a fixed signature and driver specific
information is encoded in a single
Hi John,
On Apr 5, 2011, at 2:12 PM, John Magolske wrote:
If building chicken from source, could there be a way of doing
something like:
SET(BINPATH /home/john/.chicken/bin)
If building from source, you might as well just do
make PREFIX=/home/john/.chicken
and dispense with all the
On May 5, 2011, at 9:58 AM, William Xu wrote:
Felix felix at call-with-current-continuation.org writes:
What editor are you using?
Emacs. You mentioned in the other mail it has no problem with default setup.
i
think that may be due to my emacs config then, i will check my config.
On Jun 3, 2011, at 11:49 AM, John Cowan wrote:
Steve Graham scripsit:
Thanks, Mario. Worked like a charm. Why is that not part of the base
package?
Licensing. The numbers egg has to be GPL, because it depends on the GMP
(GNU Multi-precision Library) which is GPL.
numbers is BSD and
I think Thomas is right, it looks like the system can't find the shared library
as it is perhaps installed incorrectly, and is falling back to the static
library which will fail.
On Jun 12, 2011, at 2:44 PM, Jim Pryor wrote:
$ csc -s hello.scm
/usr/bin/ld:
FYI, there is a patch to enable parallel builds at
http://bugs.call-cc.org/attachment/ticket/526/parallel-build-2.diff.txt . It's
not officially supported yet, but if you want to test it out, please do.
Jim
On Jun 13, 2011, at 10:20 AM, Vesa Kaihlavirta wrote:
Excerpts from Jim Pryor's
On Jun 14, 2011, at 2:11 AM, Vesa Kaihlavirta wrote:
Excerpts from Jim Ursetto's message of 2011-06-14 03:35:48 +0300:
FYI, there is a patch to enable parallel builds
Full chicken build, single process, ran through bash's time on our build
machine:
real 3m11.415s
user 3m5.0568s
You
On Jun 30, 2011, at 8:30 AM, Mario Domenech Goulart wrote:
Maybe Jim can provide a good explanation for the api.call-cc.org path.
I suppose the Extensions section from the manual is mapped as `eggs' in
chicken-doc. I'm not sure.
It's an unfortunate exception. The pages mapped under chicken
On Jul 1, 2011, at 1:38 PM, Christian Kellermann wrote:
A convenient way is to define a system comprising your source for the
.so with the system egg (http://api.call-cc.org/doc/system). This uses
the compile-file procedure to create a new .so name each time it is
compiled.
That is probably
On Jul 5, 2011, at 10:05 PM, Kon Lovett wrote:
My initial save did not list the .meta in the files manifest so the above msg
made some sense. I quickly remedied the oversight. But I still get the msg.
Just so you know, the files entry isn't used anymore.
Jim
On Jul 6, 2011, at 8:02 AM, Claude Marinier wrote:
I asked chicken-install to save the temporary files and moved them to
/usr/local/src. Applied the patch; had fun with carriage returns. Built with
chicken-install -l /usr/local/src -t local pstk
Sorry about the CRs, the original file
To add, llvm-gcc is now the default on 10.7, so any Lion user would probably
see this issue. That is why it was necessary to set gcc-4.2 explicitly.
On Aug 5, 2011, at 11:32 PM, Josh Chaney wrote:
I have a similar, or same issue as reported here (
On Aug 15, 2011, at 10:47 PM, John Gabriele wrote:
Hi,
Following the instructions at
http://wiki.call-cc.org/man/3/Using%20the%20interpreter#auto-completion-and-edition
to set up readline support, I get:
Error: (import) during expansion of (import ...) - cannot import
from undefined
Better solution is probably to declare these in test1.h and then include it
from stest1.scm via
# #include test1.h #
and also #include it from test1.c for good measure. Same would be true if you
had implemented stest1 directly in C.
On Aug 17, 2011, at 12:04 AM, Paul Colby wrote:
Got it,
On Aug 20, 2011, at 17:32, Alaric Snell-Pym ala...@snell-pym.org.uk wrote:
* How about, when interfaces change in the manual, writing something
along the lines of added in version X, so that people writing code
using those interfaces who are concerned about compatability are given
pause for
John,
Another option is to look at manual-labor, which uses svnwiki-sxml and
chicken-doc-html under the hood.
A further option is hyde.
Jim
On Aug 30, 2011, at 3:13 PM, Mario Domenech Goulart wrote:
Hi John,
On Tue, 30 Aug 2011 16:15:20 -0400 John Gabriele jmg3...@gmail.com wrote:
Does
On Aug 30, 2011, at 8:10 PM, John Gabriele wrote:
On Tue, Aug 30, 2011 at 6:23 PM, Jim Ursetto zbignie...@gmail.com wrote:
Another option is to look at manual-labor, which uses svnwiki-sxml and
chicken-doc-html under the hood.
Thanks. That also works nicely for me. The styling reminds me
On Sep 2, 2011, at 3:50 PM, Felix wrote:
The signal handlers that you set with set-signal-handler! are not
executed at interrupt time. They just save the signal number and
provoke a GC on the next heap-check that happens to execute. Then the
interrrupt-processing wraps up the execution state
Hi John,
On Sep 10, 2011, at 11:56 AM, John Gabriele wrote:
I've noticed that some of the wiki pages have an h2 title at the top,
some don't. For the ones that have have a table of contents, some have
an h2 above the toc, some have it below.
I think pages look a bit odd if they have no
On Sep 10, 2011, at 5:46 PM, John Gabriele wrote:
The stopgap measure though, would appear to be this:
https://wiki.call-cc.org/eggs%20tutorial (I just now added the h2
heading to it.)
I think this looks reasonable
___
Chicken-users mailing list
On Sep 10, 2011, at 5:28 PM, Jimmy Coyne wrote:
Hi,
Trying to use Chicken for the first time and having some install issues on
Snow leopard (10.6.8).
Followed the wiki macport instructions - sudo port install chicken
--- Attempting to fetch chicken-4.4.0_0.darwin_10.x86_64.tbz2 from
On Sep 13, 2011, at 7:56 PM, Topher Cyll wrote:
Hey everyone,
Like a previous poster, I'm having issues with Chicken on Mac OS X
(although for me the issues are on Lion, not Snow Leopard).
Add C_COMPILER=gcc-4.2 to the make line. E.g.
make C_COMPILER=gcc-4.2 PLATFORM=macosx
This
On Sep 19, 2011, at 9:59 AM, Sascha Ziemann wrote:
Is this the prefered way to use the return values of file-read?
(let-values (((data bytes)) (apply values (file-read fileno size)))
No, just destructure the returned list:
(let* ((rc (file-read fileno size))
(data (car rc))
Patch looks good to me but should be ACKed by the egg author (Felix)
On Oct 1, 2011, at 5:01 PM, Alan Post wrote:
The sandbox egg makes a call to the runtime.c procedure:
C_emit_trace_info
In commit 2d5244dd01d4e91ed6f73bb566e92f04a2ab6361 of core,
this procedure was deprecated in favor
On Oct 13, 2011, at 11:02 AM, Jörg F. Wittenberger wrote:
ages ago I wrote these simple lines:
Out of curiosity, would this suit your purposes instead:
(##sys#char-utf8-string (integer-char x))
___
Chicken-users mailing list
Chicken-users@nongnu.org
On Nov 4, 2011, at 1:37 PM, Pekka Niiranen wrote:
Hi Pekka.
port-fileno...FAIL [ 8 ]
gmake[1]: Leaving directory `/home/pekka/compile/chicken-4.7.0.3-st'
gmake: *** [check] Error 2
I commented out the following two lines from port-tests.scm
(check (port-fileno out))
(check
Toby,
On Nov 10, 2011, at 6:40 AM, Toby Thain wrote:
3) It's really sad to see 25% CPU utilisation on this quad-CPU system
throughout the long build. Is the parallel make patch coming? :)
The patch in ticket 526
(http://bugs.call-cc.org/raw-attachment/ticket/526/parallel-build-2.diff.txt)
On Nov 19, 2011, at 11:01 AM, Achint Sandhu wrote:
The cleanest option I have found so far is the objective-C extension
for Chicken Scheme (http://wiki.call-cc.org/eggref/4/objc), which I'm having
trouble installing on 10.7.
A quick google search reveals
On Nov 19, 2011, at 4:05 PM, Achint Sandhu wrote:
Is there something that would prevent the support for Objective C 2.0 or is
it the case that no one has got around to it yet ?
No, not as far as I know -- it's just a matter of coding. It's just that no
one has been interested enough to do
It's also fixed as of 4.7.0.1-st (commit faa97a3)
On Nov 21, 2011, at 4:39 AM, Christian Kellermann wrote:
Hi Markus!
Thanks for your detailed report.
* Markus Klotzbuecher m...@marumbi.de [21 11:22]:
#;1 (list-ref 2 '(1 5 2))
Segmentation fault
xudifsd@xudifsd-laptop:~$ csi -v
On Nov 28, 2011, at 9:01 PM, Nick Zarr wrote:
I've been testing my implementation against Chicken for correctness and
here's what I get on Chicken:
#;2 (any (lambda (x) (if (even? x) x)) '(1 2 3))
#;3 (any (lambda (x) (even? x)) '(1 2 3))
#t
#;4 (any even? '(1 3 5))
#f
For #3 and #4
On Dec 7, 2011, at 10:41 AM, Peter Bex wrote:
Actually, the main reason is that SSAX is a horrible mess which has
many completely unrelated procedures all mixed together.
There are several egg that provide different sets of procedures
from the SSAX project. Most eggs include all files from
Thanks for noticing this. It may also happen if you catch an exception raised
in the body.
We applied a fix to the master branch and also to stability (and 4.7.0.4-st has
now been released).
Jim
On Dec 19, 2011, at 9:40 AM, obscurolocon...@googlemail.com wrote:
I tried the following:
Use these instructions instead, from the stability branch.
http://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-core.git;a=blob_plain;f=README;hb=1144d803cc214758be60ba09ae4de34ebff7cb63
In short,
$ make PLATFORM=macosx C_COMPILER=gcc-4.2
This works with XCode 4.2 on Lion. If this works without
On Feb 14, 2012, at 9:26 AM, Jim Ursetto wrote:
This works with XCode 4.2 on Lion. If this works without hanging, you're
done.
If you have already upgraded to XCode 4.3...
Oops. I meant it works until XCode 4.2, and if you upgraded to XCode 4.2
already (which you probably have) then you
Ursetto zbignie...@gmail.com wrote:
On Feb 14, 2012, at 9:26 AM, Jim Ursetto wrote:
This works with XCode 4.2 on Lion. If this works without hanging, you're
done.
If you have already upgraded to XCode 4.3...
Oops. I meant it works until XCode 4.2, and if you upgraded to XCode 4.2
already
!
Cheers,
James
On Wed, Feb 15, 2012 at 5:16 AM, Jim Ursetto zbignie...@gmail.com wrote:
Check out the latest code, apply the ticket patches, make a boot chicken,
then build chicken with the chicken-boot binary. Normal procedure in other
words when building from git.
On Feb 14, 2012
that comes with
Chicken? Ie, can I run something like:
scheme myfile.scm
chicken myfile.scm
bok myfile.scm
?
Thanks,
James
On Wed, Feb 15, 2012 at 4:21 PM, Jim Ursetto zbignie...@gmail.com wrote:
Ok, then also add ARCH=x86-64 like you had originally. It was my understand
Assuming you installed it with make install ;) then it's in /usr/local/bin by
default, so make sure that's in your path.
On Feb 16, 2012, at 2:41 AM, James Abbott wrote:
Jim Toby: thanks for your help. My system doesn't seem to recognize the csi
command:
$ csi -s test.scm
-bash: csi:
this out if interested. At the least, it seems to
speed up the build process, along with the chicken compiler.
Jim
On Feb 14, 2012, at 9:26 AM, Jim Ursetto wrote:
If you have already upgraded to XCode 4.2, then they have removed plain gcc
completely and this will fail. In this case you
eqv?, to be exact. Your case statement works fine for me, with for example
(comp-text '=). (eq? comp =) compares against the value of the procedure =,
whereas the case compares against the symbol =. So you are doing two different
comparisons.
You can use ,x (case ...) at the REPL to see
On Mar 2, 2012, at 7:57 PM, Matt Welland wrote:
I'm trying to convert a comparison operator to the equivalent text. These are
not symbols. I think case treats the target list as if it was created with a
quote: '().
That's what case does.
You want `select`:
On Mar 6, 2012, at 10:31 AM, Kristian Lein-Mathisen wrote:
(define %make-point (foreign-primitive void
(((c-pointer (struct point)) dest)
(float x) (float y))
#END
dest-x = x;
dest-y = y;
C_return();
END
))
(define (make-point x y)
On Mar 12, 2012, at 10:19 PM, Kon Lovett wrote:
I think the extension is called regex:
http://wiki.call-cc.org/eggref/4/regex
BTW, this is for temporary backwards-compatibility. New code should use
irregex: http://wiki.call-cc.org/man/4/Unit%20irregex
Not just back-compat, regex also
On Apr 1, 2012, at 11:15 AM, Matt Welland wrote:
Note that normalize-path is not the same as realpath and that although
realpath would be nice to have calling the system realpath works just fine
and so this is a suggestion and not a request
What is the system realpath?
Jim
On Apr 1, 2012, at 12:22 PM, Jim Ursetto wrote:
On Apr 1, 2012, at 11:15 AM, Matt Welland wrote:
Note that normalize-path is not the same as realpath and that although
realpath would be nice to have calling the system realpath works just fine
and so this is a suggestion and not a request
In case it helps, I've added resolve-pathname to the posix-extras egg in
version 0.1.2.
On Apr 1, 2012, at 12:54 PM, Jim Ursetto wrote:
On Apr 1, 2012, at 12:22 PM, Jim Ursetto wrote:
On Apr 1, 2012, at 11:15 AM, Matt Welland wrote:
Note that normalize-path is not the same as realpath
Cool. You might also want to have a look at
http://synthcode.com/wiki/scheme-complete.
On Apr 3, 2012, at 10:06 PM, Daniel Leslie wrote:
Perhaps of some interest is the work I've put into my Emacs scripts for
Chicken.
I've had consistent problems with SLIME and Chicken on Windows, which
On Jun 3, 2012, at 5:06 AM, Christian Kellermann wrote:
* Peter Danenberg p...@roxygen.org [120603 11:30]:
Quoth Christian Kellermann on Prickle-Prickle, the 8th of Confusion:
Which version of chicken is this? I get the arity error for both csi
and compiled version for chicken master.
It's
It seems that compiling with clang (llvm 3.0)
prevents the crash, at least for values up to 20 million, on
OS X and Linux. Any higher and I start to hit swap.
I don't know why this works.
Plain gcc on linux, and llvm-gcc (llvm 2.7) on OS X 10.7, do crash
at about 600k here w/ stack ulimit 8M.
On Jul 11, 2012, at 2:47 PM, Marc Feeley wrote:
I'm pretty sure LLVM is simply implementing the tail-call itself. So there
is no stack growth in the unwinding phase.
That is possible. We do currently disable __attribute__((noreturn))
on functions across the board when using clang, and last
Hi,
That should be foreign-declare for the whole thing, not foreign-code.
Or use # ... # which is shorthand for foreign-declare.
#
#include foo.h
#ifndef FOO
#define FOO -1
#endif
#
Another option is the feature-test egg, which is useful for complex cases,
and doesn't require that you redefine
I hope this is not a problem with XCode 4.4.1. I haven't upgraded
from XCode 4.3.2 yet. Anyone else have a successful build with 4.4.1?
In the meantime if you have some time to kill, you could try building
with C_COMPILER=clang. I doubt this will make a difference though.
I will try to upgrade
On Aug 31, 2012, at 3:36 PM, Shawn Rutledge wrote:
I just built the 4.8.0 rc3 on Lion with xcode 4.3.3, using clang, like this:
CC=clang C_COMPILER=clang make PLATFORM=macosx install
Will csc remember to use clang then? Doesn't seem to be any trouble
to chicken-install extensions,
Claude,
I'm guessing you didn't install chicken first prior to running the tests.
The finalizer error only occurs with older chickens. I can't reproduce
the problem with
make PLATFORM=blah PREFIX=$PWD/tmp all install check
On Sep 13, 2012, at 8:40 AM, Claude Marinier wrote:
IBM ThinkCenter,
Hans,
I've verified that chicken 4.7.0.6 builds, installs and tests out correctly on
Lion
with Xcode 4.4.1. It works fine with either gcc or clang. Here is my test
line:
make PLATFORM=macosx PREFIX=$PWD/inst C_COMPILER=clang all install check
From your paste, it looks like you're not
On Sep 18, 2012, at 10:32 AM, Claude Marinier wrote:
Hi,
Just finished building 4.8.0 rc4 on Solaris 10 (SPARC) with only a few hacks.
The check runs and finishes with this.
done.
make[1]: Leaving directory
Upgrade to 4.7.0.6 or 4.8.0, the fix to work with clang wasn't in until after
4.7.0. 4.6.0 is very old at this point.
Also I would build chicken with make PLATFORM=linux C_COMPILER=clang and then
all your eggs and code will automatically be built with clang. I doubt it is
safe to use -cc
It uses strptime internally which seems pretty inconsistent across platforms.
%z is technically not a valid format specifier, but glibc and some other libs
support it. E.g. your examples actually all work on OS X 10.7. But they fail
completely on NetBSD 5.1. You didn't mention your platform
On Nov 20, 2012, at 11:24 AM, John Magolske wrote:
Hi,
I installed the chickadee, chicken-doc chicken-doc-admin eggs on
my laptop and am now enjoying being able to browse the documentation
while not connected to the internet. The svn repository downloaded in
the process:
% cd
On Nov 23, 2012, at 3:59 PM, Peter Bex wrote:
On Fri, Nov 23, 2012 at 12:27:29PM -0800, Miguel Fernandez wrote:
I get the following error:
main.o: In function `C_toplevel':
main.c:(.text+0x1c2): undefined reference to `C_numbers_toplevel'
collect2: ld returned 1 exit status
I'll look at it, it probably makes sense to use a local copy for the default
config.
What it should really do is fall back to the local copy if the internet copy is
inaccessible. This is not difficult but there is an internal issue currently
preventing it.
Jim
On Dec 9, 2012, at 12:24 PM,
Okay, chickadee 0.10.2 uses local jquery for the default config.
Jim
On Dec 10, 2012, at 9:14 PM, Jim Ursetto wrote:
I'll look at it, it probably makes sense to use a local copy for the default
config.
What it should really do is fall back to the local copy if the internet copy
On Dec 13, 2012, at 1:47 AM, John Magolske wrote:
Thanks for writing up these explanations options, Jim. I was going
to give your suggestions a try, but wanting to keep intra-wiki links
working and also wanting to learn how to use qwiki for other purposes,
I finally set aside some time and
On Dec 13, 2012, at 11:12 AM, Jim Ursetto wrote:
On Dec 13, 2012, at 1:47 AM, John Magolske wrote:
- Some intra-wiki links are absolute, for example under /wiki/menu
there's [[http://wiki.call-cc.org/eggs|Eggs]] which I changed to
[[eggs|Eggs]] so as to be able to navigate to it offline
Normally indicates the install path is too long; if so it is surprising the
build
and install of Chicken itself even worked.
Try one of these fixes:
1) Recompile and reinstall chicken after changing this
line in Makefile.macosx:
LINKER_LINK_SHARED_DLOADABLE_OPTIONS += -Wl,-headerpad
as thorough as I might have been testing them.
-Alan
On Thu, Dec 27, 2012 at 01:13:20PM -0600, Jim Ursetto wrote:
Normally indicates the install path is too long; if so it is surprising the
build
and install of Chicken itself even worked.
Try one of these fixes:
1) Recompile and reinstall
Dani,
ASSEMBLER_OPTIONS is missing:
make PLATFORM=macosx ARCH=x86 C_COMPILER_OPTIONS=-no-cpp-precomp
-fno-strict-aliasing -fwrapv -fno-common -DHAVE_CHICKEN_CONFIG_H -m32
ASSEMBLER_OPTIONS=-m32 LINKER_OPTIONS=-m32
The resulting chicken gives me a bus error though and I don't know how to fix
Hi all,
Chicken 4.8.0.1 is now available for download from the usual place:
http://code.call-cc.org/releases/4.8.0/chicken-4.8.0.1.tar.gz
For what's new, see
http://code.call-cc.org/releases/4.8.0/NEWS-4.8.0.1
The 4.8.0.x releases reside on the stability/4.8.0 branch in git,
which you can
FYI, the docs for endian-blob don't indicate the ordering of the endian blob
after type-endian_blob. From reading the code it's MSB and there's an
optional mode arg to these procedures. Should this be documented? Similarly
the optional mode argument to byte-blob-endian-blob is documented as
On Jan 28, 2013, at 2:53 PM, Hugo Arregui wrote:
3) To read/write float/double numbers (in ieee754) i'm using
endian-blob egg (here[4]), it's there any alternative without
implementing the full float/double-binary logic (which seems quite
complicated)?
Maybe I'm overlooking something, but
I am positive this is a case where the documentation was written
to explain an implementation artifact. That note wasn't added
until 11 months ago ... by Mario.
The current implementation returns foo if a file foo
(not just a directory foo) already exists. No one is
ever going to check this
What version of chicken, and if 4.8.0 for example could you try 4.7?
On Feb 2, 2013, at 11:51, Arthur Maciel arthurmac...@gmail.com wrote:
Hello! I don't know if it is related to Ivan's problem, but when I compile
and run this code:
(use srfi-69)
(define NODES 25)
(define EDGES
On Feb 2, 2013, at 3:46 PM, Kristian Lein-Mathisen wrote:
I'm getting the same result here, when I run it through csc. When I run it
through csi, though, it never seems to finish - is the task that big? I had
to kill it after 2-3 hours.
It's a hash table with 250,000 entries and 1,000 items
after the heap exceeds 4GB, maybe indicating some 32-bit sizes
left laying around in the code.
Jim
On Feb 2, 2013, at 7:18 PM, Jim Ursetto wrote:
On Feb 2, 2013, at 3:46 PM, Kristian Lein-Mathisen wrote:
I'm getting the same result here, when I run it through csc. When I run it
through csi
On Feb 2, 2013, at 8:06 PM, Jim Ursetto wrote:
Uh oh, we've hit an actual bug now. Although we can get nodes up to
85000 by increasing max heap size from 2GB to 8GB, it appears to bomb
after the heap exceeds 4GB, maybe indicating some 32-bit sizes
left laying around in the code.
Hmm, could
1042.938s CPU time, 50.714s GC time (major), 250066522 mutations, 44/851838 GCs
(major/minor)
[debug] forcing finalizers...
[debug] application terminated normally
On Feb 2, 2013, at 8:06 PM, Jim Ursetto wrote:
(bug found -- tl;dr see end of message)
Figured it out: you're exceeding the default
Well, there is another option, which is to put an atomic
implementation in, say, the posix-extras egg, and then the
user may import it under a different name or overwrite
posix's create-directory with it.
On Feb 3, 2013, at 9:26 AM, Peter Bex wrote:
On Sun, Feb 03, 2013 at 10:22:45AM -0500,
On Feb 4, 2013, at 2:28 PM, Felix wrote:
Perhaps, but I really don't see a problem of allowing a limit
on heap allocation in the runtime system.
I think a segfault is an appropriate response to OOM, but I wonder
if it's possible to panic() instead if the heap size can't be increased
as
Holy cow! Great job.
Jim
On Feb 16, 2013, at 8:26, Andrei Barbu and...@0xab.com wrote:
Hi,
I've got a bunch of eggs that are ready to go.
These have documentation and are meant as end-user libraries:
nondeterminism - carry out nondeterministic computations with a more
flexible
On Feb 17, 2013, at 4:18 PM, J Altfas wrote:
Hello,
Using 'file-select' as a sub-second sleep procedure works without hitch under
csi:
(define (sleeper tm)
(let ((currms (current-milliseconds)))
(let-values (((_ __) (file-select #f #f tm)))
(print (- (current-milliseconds)
On Feb 18, 2013, at 3:58 AM, J Altfas wrote:
Certainly agree that leaving out usleep was an oversight, considering how
simple it is to include it. While I'm pretty sure many of the posix functions
are not optimum in an srfi-18 threaded environment, file-select, sleep, and
friends are still
On Feb 18, 2013, at 2:36 PM, Jim Ursetto wrote:
I would be ok with adding usleep to the posix-extras egg if you want. I'm
not sure if it should be a separate function or just override (sleep) to
accept fractional values. I'm thinking the latter.
Although not exactly what you asked
Hmm, I just realized scheduler.scm relies on nanosleep(3) on UNIX, so I guess
it is safe to use in posix-extras as well. I'll change posix-extras to use
nanosleep shortly.
On Feb 19, 2013, at 2:24 AM, Jim Ursetto wrote:
On Feb 18, 2013, at 2:36 PM, Jim Ursetto wrote:
I would be ok
On Feb 20, 2013, at 3:57, J Altfas p...@bmedctr.com wrote:
On Tues, 19 Feb 2013 15:13:30 -0600 Jim Ursetto wrote:
Hmm, I just realized scheduler.scm relies on nanosleep(3) on UNIX, so I
guess it is safe to use in posix-extras as well. I'll change posix-extras
to use nanosleep
I think it sounds good as an official egg; although there's a lot of overlap
with SRFI-13 it's not bad to have another API.
The main thing I'd suggest if making it official is that, as a port of the s
library, to name it something like s or s-strings instead of strings,
since the latter sounds
On Feb 21, 2013, at 1:50 PM, Jörg F. Wittenberger wrote:
On Feb 20 2013, Mario Domenech Goulart [well, actually, I, Jim] wrote:
join-strings, and string-match or match-string. Another is to
keep the s- prefix, which is a natural grouping. Or you could
require the user to prefix on import,
On Feb 21, 2013, at 2:04 PM, John Cowan wrote:
I've proposed a new type of import specifier to go with prefix, namely
drop-prefix. Rather than prefixing all names, this removes the prefix
from any names that have it. This would be a Good Thing to add to Chicken;
Chibi already has it, and it
John,
I tried in a bunch of different browsers (google search Chicken Scheme, click
on result associated with wiki.call-cc.org/manual/index, and still can't
reproduce the problem:
OS X 10.7, Safari 6
OS X 10.7, Firefox 19
Windows XP, IE 6.0
Windows XP, IE 8.0
Windows XP, Firefox 3.0
They all
Hi Matt.
On Apr 2, 2013, at 4:13 PM, Matt Gushee wrote:
I wonder if there is a program that converts Markdown to Chicken Wiki format?
There is not, mostly because markdown is not really extensible and doesn't
support marking up procedure identifiers and so on (without terrible hacks).
Two reasons:
1) You didn't tag version 0.2.1
2) Your tags say release-0.2 instead of 0.2, so you have to change
(uri targz https://github.com/mgushee/{egg-name}/tarball/{egg-release};)
to
(uri targz
https://github.com/mgushee/{egg-name}/tarball/release-{egg-release};)
I think this should work.
Hi,
It is now possible to break up egg documentation into several pages. This was
previously possible on the wiki, but is now supported by chicken-doc as well.
Procedure: instead of creating a file, create a directory and populate it with
subpage files. To document the main page, call the
I also pushed this to stability. Thanks.
Jim
On Apr 24, 2013, at 2:40 AM, Christian Kellermann wrote:
Hi Jules,
* J Altfas p...@bmedctr.com [130424 08:52]:
When I was trying to use (file-type ...) in a compiled module, it was a
big surprise when csc instantly ground to a halt, issuing an
Hi pluijzer .,
You did not declare a prototype in test.scm (technically, test.c) for the
functions in wrapper.c. I believe return values default to int if there is no
prototype, and the float arg is promoted to double, but I'm not positive.
Anyway, simply add the following to the top of
I am curious why this happens though. The only thing I could think of was the
number is being constant folded in one case or being computed in one case via a
hardware intrinsic instead of libm in the other, but the generated C code looks
identical in both cases. Perhaps some previous register
201 - 300 of 363 matches
Mail list logo