thanks for sharing this experience.
It's quite interesting to me: I've been wondering why a project of mine
ran sooo slow in comparision to the rscheme based implementation. But
considering that I love multiple value returns, I can understand.
I vaguely recall that chicken uses C parameter
New eggs are available:
nbstdin (non-blocking stdin) and crc checksum eggs by
Daishi Kato:
http://www.call-with-current-continuation.org/eggs/nbstdin.html
http://www.call-with-current-continuation.org/eggs/nbstdin.html
weight-balanced trees, by Reed Sheridan:
On Tue, 22 Nov 2005, felix winkelmann wrote:
Hi, Matthew!
How do you allocate the C string, and how is it passed
to Scheme?
Ah hah! That was it, no fault with CHICKEN, really, I allocated the
string incorrectly. I was doing:
AIargs = malloc(sizeof(argstring));
Which was only 4 bytes,
You are correct about the compiled version. Sorry, I should have
posted my compiled times instead (although many people seem to run
their code in csi, they are probably not doing so for performance
critical code).
I guess the end result was, if I need to return multiple values from a
C
Try the readline egg at
http://www.call-with-current-continuation.org/eggs/readline.html.
On 11/22/05, Matthew David Parker [EMAIL PROTECTED] wrote:
PS. On a side question, is there some thing you can do in the csi chicken
interpreter to make it so you can press the up arrow and cycle through
On Nov 22, 2005, at 12:04 PM, Matthew David Parker wrote:PS. On a side question, is there some thing you can do in the csi chicken interpreter to make it so you can press the "up" arrow and cycle through the history of your commands, like in a bash shell? If you use emacs with one of the scheme
John.Cowan wrote:
The mkdir command in Unix is a thin wrapper over the mkdir() system call,
and creates only the final directory mentioned in an argument pathname;
all others must exist. However, the standard -p option will create all
the directories mentioned if they do not exist already.
Am 22.11.2005, 17:04 Uhr, schrieb Matthew David Parker
[EMAIL PROTECTED]:
[...] So I had to do sizeof(strlen(argstring) + 1) instead.
Hello,
what is that sizeof operator doing there? It should just be something like
malloc(strlen(argstring) + 1)
otherwise the value of the expression will
Brandon J. Van Every wrote:
I notice that on Windows the default CMAKE_INSTALL_PREFIX is C:/Program
Files. However, this doesn't actually make sense to a MinGW user
employing MSYS. MSYS implements a unix-style file system, so a proper
prefix would more likely be /usr/local.
CMake 2.0 used
Brandon J. Van Every wrote:
Here's what surprises me. Under the Windows command prompt, C:/Program
Files/Chicken is created if it doesn't exist already. But under MSYS,
/usr/local/bin is *not* created if it doesn't exist already. Moreover,
the failure is silent, no error is given. The
On 11/22/05, Zbigniew [EMAIL PROTECTED] wrote:
Try the readline egg at
http://www.call-with-current-continuation.org/eggs/readline.html.
On 11/22/05, Matthew David Parker [EMAIL PROTECTED] wrote:
PS. On a side question, is there some thing you can do in the csi chicken
interpreter to make
On Tuesday 22 November 2005 03:26, felix winkelmann wrote:
On 11/21/05, Pupeno [EMAIL PROTECTED] wrote:
You only need to handle compiler-specifiic syntax, which is mainly
# ... #-
Why ? I already handle that and I already encountered cases where I'd
have to handle EOF and similar.
Hm... Is there some more information available?
When exactly does the segfault occur?
cheers,
felix
On 11/22/05, Matthew David Parker [EMAIL PROTECTED] wrote:
Alright, I got the readline egg and it works quite well. Though, when I
run the function to load up my game window it throws a
On 11/22/05, Matthew David Parker [EMAIL PROTECTED] wrote:
Normally to do a callback I'd do this:
(define call.foo
(foreign-safe-lambda void callfoo))
(define AImain
(lambda ()
(printf hello\n)))
(define foo
(foreign-safe-wrapper void foo
On 11/23/05, Pupeno [EMAIL PROTECTED] wrote:
BTW, what should I return from my procedures that handle extensions. I
was returning '() but that causes an error, I am now returning
'(nevermind) since I don't care about it.
Sorry, what kind of procedures are that?
The procedure that
15 matches
Mail list logo