Hello,
if you are looking for record introspection capabilities, I would recommend
looking into SRFI-99[1], which combines static structure definition and
dynamic reflection APIs. You're example could look like this:
(import
(chicken format)
srfi-42
srfi-99)
(define-record-type egg-info
can do
> anything earlier than that.) Have you made bindings for all the hashes and
> block ciphers?
>
> -elf
>
> On 11 June 2023 02:59:23 GMT+03:00, Thomas Chust
> wrote:
> >Hello,
> >
> >Botan [1] is a pretty nice cryptographic library that I use from time t
Hello,
Botan [1] is a pretty nice cryptographic library that I use from time to
time. Its documentation page on language bindings mentions that a CHICKEN
binding is "wanted", so I thought: Why not ☺
You can find the code for the new egg here:
https://chust.org/repos/chicken-botan
t;>
>>> -elf
>>>
>>> On 23 March 2023 02:36:43 GMT+02:00, Matt Welland <
>>> mattrwell...@gmail.com> wrote:
>>> >That would be great Thomas. For my part, I'll start working on my
>>> project
>>> >using what I can,
, I like the tooling to generate a loadable module
> >idea. I figure leverage as much of Godot as a tool as possible.
> >
> >Thanks.
> >
> >On Wed, Mar 22, 2023 at 12:27 PM Thomas Chust
> >wrote:
> >
> >> Hello,
> >>
> >>
Hello,
a combination of CHICKEN and Godot sounds very interesting! I've been
meaning to experiment more with that engine for a while, and with Godot 4.0
just out the door the time is probably perfect to try out the new extension
APIs.
I'm not completely sure how the CHICKEN/Godot hybrid should
Hello Matt,
it may be a bit of an oversight that no such procedure exists in the
SQLite3 egg, but you could define something like this:
(define (one-result/default default db sql . parameters)
(call-with-temporary-statements
(lambda (stmt)
(apply bind-parameters! stmt parameters)
Am Sa., 10. Juli 2021 um 15:15 Uhr schrieb Aydar Zarifullin <
aydar...@gmail.com>:
> Hello everyone, I have a few questions: Is it safe to pass a blob created
> in scheme to C functions? Will the garbage collector move it in memory? Is
> there any guarantee that the garbage collector won't move
On Sun, 16 Feb 2020 09:10:46 +0100 Peter Bex
wrote:
> [...]
> The second release candidate for CHICKEN 5.2.0 is now available for
> download:
> [...]
> If you can, please let us know the following information about the
> environment on which you test the RC:
> [...]
Hello,
my results trying to
On Thu, 16 Jan 2020 16:09:15 -0700 Jeff Moon wrote:
> Found an issue while trying to install the IUP egg on chicken 5. The "-D
> disable-iup-web" or "-feature disable-iup-web" does not seem to be
> disabling the web portion of the module. When it get's installed, since we
> don't have the
On Sun, 12 Jan 2020 13:29:06 +0100 Peter Bex
wrote:
> [...]
> We are happy to announce the first release candidate of the upcoming
> CHICKEN 5.2.0.
> [...]
> Please give it a test and report your findings to the mailing list.
> [...]
Hello,
Operating system: Linux Mint 18.3 (based on Ubuntu
On Sat, 8 Jun 2019 15:07:34 +0200 Peter Bex wrote:
> [...]
> CHICKEN 5.1.0rc1 is now available at this location:
> https://code.call-cc.org/dev-snapshots/2019/06/08/chicken-5.1.0rc1.tar.gz
> [...]
> Please give it a test and report your findings to the mailing list.
> [...]
Hello,
testing the
On Mon, 10 Dec 2018 11:48:56 + Paul Sika wrote:
> [...]
> I am trying a scheme tutorial using the chicken repl and i see that
> (pair? '(1 2 3)) yields true.
> is this normal ?
> [...]
Hello Paul,
yes, this is perfectly normal: Every non-empty list satisfies the pair?
predicate because
On Mon, 19 Nov 2018 13:19:10 +0300 Kristian Lein-Mathisen
wrote:
> [...]
> I was trying tweetnacl on Termux on Android 9 and ran into this problem:
> [...]
Hello,
a new version of tweetnacl (v1.4.1) should soon be available. Since I
replaced the system-specific code dealing with entropy
Hello,
implementing package signatures is technically not such a big deal (see the
experimental example script here:
https://paste.call-cc.org/paste?id=b5f6d4cce329d48d64eefbe0922b64aebb16a9e5 :-)
But we need to decide who should be responsible for signatures and which keys
should be trusted by
On Sun, 11 Nov 2018 23:35:08 -0600 Jim Ursetto
wrote:
> [...]
> If you can find a better way I welcome it. My only request is that existing
> eggs (particularly ones that call openssl through http-client) are able to
> pull in the system default certs without changes to the eggs. It’s mainly
On Mon, 19 Nov 2018 13:19:10 +0300 Kristian Lein-Mathisen
wrote:
> [...]
> I was trying tweetnacl on Termux on Android 9 and ran into this problem:
>
> u0_a191@localhost ~/p/chicken-5.0.0>
> csi -R tweetnacl -p '(make-symmetric-sign-key)'
>
> Error: (read-u8vector) bad argument type - not a
On Mon, 29 Oct 2018 18:14:31 +0100 Peter Bex wrote:
> [...]
> The fourth release candidate for CHICKEN 5.0.0 is now available for
> download:
>
> https://code.call-cc.org/dev-snapshots/2018/10/29/chicken-5.0.0rc4.tar.gz
> [...]
> If you can, please let us know the following information about
On Fri, 2 Nov 2018 11:25:15 -0700 Ritika Agrawal
wrote:
> [...]
> My team was working on enabling iup:matrix for one of our tools. We noticed
> with the Chicken scheme code, we see a default menu on right-click menu.
> This default menu is not observed with equivalent Lua code. Can you please
>
On Mon, 8 Oct 2018 22:18:06 +0200 Peter Bex wrote:
> [...]
> The third release candidate for CHICKEN 5.0.0 is now available for
> download:
> [...]
> Please give this new release candidate a try and report your findings
> to the mailing list. Here's a suggested test procedure:
>
> $ make
On 12 Sep 2018 19:28:25 +0200 Jörg F. Wittenberger
wrote:
> [...]
> since I learned how CHICKEN 5's chicken-install creates platform specific
> build scripts, I wonder: why?
> [...]
Hello,
it seems to me this approach could come in handy when you want to
execute build steps on different
On Sun, 9 Sep 2018 14:30:12 +0200 Peter Bex wrote:
> [...]
> If you can, please let us know the following information about the
> environment on which you test the RC:
> [...]
Operating system:Linux Mint 18.3 (based on Ubuntu 16.04)
Hardware platform: x86-64
C Compiler:
On Wed, 29 Aug 2018 17:20:09 -0400 John Cowan wrote:
> On Wed, Aug 29, 2018 at 4:21 PM wrote:
>
>
> > I don't see the motivation for installing files outside of the chicken
> > installation
> > tree, so it is not clear to me what you want to achieve with this.
> >
>
> From what I understand
On Wed, 29 Aug 2018 14:17:08 +0200 felix.winkelm...@bevuta.com wrote:
> > [...]
> > I can't say that I like this design decision, but I guess I'll have to
> > live with it. If this is unsupported, it also feels strange that
> > the .egg format allows specification of multiple import libraries per
On Wed, 29 Aug 2018 14:09:01 +0200 felix.winkelm...@bevuta.com wrote:
> > [...]
> > multiple sets of files may already be possible with multiple component
> > forms in the .egg, but installation into any nested subdirectories relative
> > to the CHICKEN installation prefix is currently not
On Wed, 29 Aug 2018 10:57:54 +0200 felix.winkelm...@bevuta.com wrote:
> > As far as I understand the question (probably not really), a simple way to
> > do this is to (foreign-declare "#include \"foo.c\"") and add foo.h to the
> > source-dependencies of the file (see for example the simple-sha1
On Tue, 28 Aug 2018 20:40:33 +0200 felix.winkelm...@bevuta.com wrote:
> [...]
> I'll try to address some of your questions.
> [...]
Hello,
thanks for taking the time to reply :-)
> [...]
> > - Some eggs install one extension library containing several modules. The
> > new
> > CHICKEN module
Hello,
multiple sets of files may already be possible with multiple component forms in
the .egg, but installation into any nested subdirectories relative to the
CHICKEN installation prefix is currently not possible.
For example, some include files provided with the protocol buffers egg would
On Mon, 27 Aug 2018 21:23:16 +0200 ko...@upyum.com wrote:
> [...]
> This has been fixed in SRFI-69 0.3, hope it works fine for you now!
> [...]
Hello,
thanks a lot, it works like a charm and allowed me to release a new
version of the protocol buffers egg :-)
Ciao,
Thomas
--
An altruist is
Hello,
playing with the new CHICKEN 5 module system and egg format raised a couple of
questions in my head – perhaps someone on this list can provide a few answers
:-)
- Some eggs install one extension library containing several modules. The new
CHICKEN module system always tries to load a
On Sun, 19 Aug 2018 14:08:38 +0200 ko...@upyum.com wrote:
> [...]
> I checked the code and, for number types, only fixnums and flonums are
> explicitely handled, other numeric types trigger an incorrect recursion.
>
> It seems we forgot to add support for the new numeric types to srfi-69
> when
On Sun, 19 Aug 2018 10:25:44 +0100 Chris Vine wrote:
> On Sun, 19 Aug 2018 03:40:26 +0200
> Thomas Chust wrote:
> > [...]
> > Then I realized that eq?-hash simply cannot be called on certain types
> > of objects:
> > [...]
> > $ csi
> > CHICKEN
>
Hello,
while trying to port some code from CHICKEN 4 to CHICKEN 5 I have just
spent several hours tracking down a crash to a call of
hash-table-ref/default for a table which happened to use eq? as the
comparison function and was loaded with various types of objects as
keys.
Then I realized that
On Sat, 11 Aug 2018 11:43:58 +0200 Peter Bex wrote:
> [...]
> After many years of development, we are happy to announce the first
> release candidate of the upcoming CHICKEN 5.0.0. This represents the
> largest change in CHICKEN since the 4.0.0 release.
> [...]
Hello,
thanks for all the hard
On Sun, 15 Jul 2018 20:36:41 +0200 Martin Schneeweis
wrote:
> [...]
> please can someone explain to me why the following even works?
>
> (define sym 'b)
>
> (case sym
> ('a "an 'a'")
> ('b "a 'b'")
> ('c "a 'c'")
> (else "something else")) ; -> a 'b'
> [...]
> I know the
On Mon, 9 Jul 2018 10:44:05 -0700 Matt Welland wrote:
> [...]
> However the IUP egg uses ffcall which doesn't work on GNURoot, presumably
> because it is a chroot environment.
> [...]
Hello,
to me it seems more likely that some security feature such as
non-executable stack interferes with
Dear friends,
hopefully you're all doing well!
I have reason to celebrate: It has taken me some years, but I eventually
defended my PhD thesis last winter and just now the bureaucratic followup
is completed – I hold the official doctorate degree in my hands. Since
this feels at least as good as
On Tue, 5 Dec 2017 20:52:11 +0100 Peter Bex wrote:
> [...]
> If you can, please let us know the following information about the
> environment you tested the RC tarball on:
> [...]
Hello,
some results from the systems I use:
Operating system: FreeBSD 12.0-CURRENT
Hardware
Hello,
this sounds like a fun idea. I could probably participate at any of the
suggested dates, but so far I also have no idea how to get there other
than by teleportation ;-)
Ciao,
Thomas
On 2017-03-15 13:16, Juergen Lorenz wrote:
> Hi all,
>
> last year, in Nuremberg, I asked some of you,
On 2017-02-25 10:12, Vasilij Schneidermann wrote:
> [...]
>> 1) Why does the numbers egg use libstdc++ ? Just curious.
>
> This is most likely due to Windows not really giving you a C compiler or
> runtime. MSVCRT is actually a C++ runtime with loads of extern "C".
> cl.exe is actually a C++
On 2017-02-25 13:39, Caolan McMahon wrote:
> [...]
> The egg is a work in progress, but it already has a few useful procedures.
> [...]
Hello,
in case you are missing some procedures, perhaps the source code of the
tweetnacl egg may help as a template -- the tweetnacl egg includes the C
backend
On 2016-10-22 13:16, spalis wrote:
> [...]
> Error: (load) unable to load compiled module - ./example.so: undefined
> symbol: _ZTV6Square: "./example.so"
> [...]
Hello,
well, binutils tells us that
$ c++filt _ZTV6Square
vtable for Square
So the shared object you built apparently does not link
On 2016-10-16 23:13, Josh Barrett wrote:
> [...]
> Can you generate a .import without compiling your module?
> [...]
Hello Josh,
as far as I know, the .import.scm files are always generated as a side
effect of compiling a source file.
However, it may be possible to discard the primary results
On 2016-10-16 22:52, Josh Barrett wrote:
> [...]
> $ csc -c foo.scm bar.scm
>
> Syntax error (import): cannot import from undefined module
> ---
> As I understand it, this should work, but it obviously doesn't. Does
> anybody know why?
> [...]
Hello,
this cannot work because the compiler cannot
On 2016-09-29 19:12, Jeff Moon wrote:
> [...]
> I recently decided to try and get onto the latest version of IUP (3.19.1)
> and it appears that the IUP developers have changed the name of or removed
> one of the header files between 3.17 and 3.19.1. The missing file is
> include/iup_pplot.h.
>
On 2016-07-16 21:31, Matt Welland wrote:
> [...]
> (define (vg:rgb->number r g b #!key (a 0)) (u32vector-ref
> (blob->u32vector (u8vector->blob (list->u8vector (list a r g b 0))
> [...]
Hello,
this snippet seems somewhat sub-optimal to say the least. Apart from
being needlessly complicated,
On 2016-06-07 21:08, Kristian Lein-Mathisen wrote:
> [...]
> Thank you very much, Thomas! Works great for my purposes. Any chance of
> giving this a new tag for release?
> [...]
Hello Kristian,
I'll take your positive response as a successful test result and just
add a tag to the sqlite3 egg ;-)
On 2016-05-24 11:25, Kristian Lein-Mathisen wrote:
> [...]
> In the sqlite3 command-line, this works fine. The solution was to enable
> extension loading which is not allowed by default:
> https://www.sqlite.org/c3ref/enable_load_extension.html
>
> However, this Sqlite3 function isn't available
On 2015-10-16 11:40, Matt Welland wrote:
> [...]
> this is failing on Ubuntu 15.04 but working ok on sles11.
> [...]
Hello,
are the systems in question running on the same architecture? Do they
have the same word size?
My gut feeling says that the problem looks suspiciously like some
calling
On 2015-10-15 04:04, Martin DeMello wrote:
> [...]
> it looks like the cb-draw callback has format "iiC", which doesn't
> match the sigil regex. I take it that means callbacks with a Canvas*
> argument are unsupported in chicken-iup?
> [...]
Hello Martin,
that is correct, however support is
On 2015-10-07 03:04, Sungjin Chun wrote:
> [...]
> In Common Lisp, I can make a stream on byte array and can write
> values on them, in Scheme, I think the equivalent stuff is port and
> I'd like to write values on byte array using port.
> [...]
Hello,
it sounds like you are looking for
On 2015-08-14 04:43, Ryan Senior wrote:
Does anyone have stand-alone application deployments working via
chicken-install? I'm running into an issue where the binaries for my
executables are in place, but they are linked to the system libchicken.
[...]
Hello,
the libchicken.so.* is a dynamic
On 2015-07-25 19:54, Matt Welland wrote:
On Sat, Jul 25, 2015 at 2:28 AM, Jörg F. Wittenberger wrote:
This assessment is surprising to me. Maybe I did not yet run into the
issues?
For a couple of days I've been trying this out. On debian/ARM.
[...]
Ah, I'll give it a try. For some
On 2015-05-21 09:18, Kristian Lein-Mathisen wrote:
I see, that sounds sensible. Could you apply the no-home-path-expansion
patch and fix it upstream, so that openssl will work on 4.9.01?
[...]
Hello,
I just checked and apparently the home path expansion stuff is still in
place in released
On 2015-05-19 13:35, Kristian Lein-Mathisen wrote:
[...]
It's been way too long! I'm running CHICKEN 4.9.0.1 and the openssl-egg
segfaults at ssl-load-certificate-chain! and friends.
I have two patches/suggestions:
- remove home path expansion
- use the pathname-expand egg
[...]
Hello,
On 2015-05-05 02:08, Matt Gushee wrote:
[...]
But I'm wondering why I needed to do that. Is there some reason why it
would be a bad idea, or would not work, for find-library to test DLLs as
well as static libs?
[...]
Hello,
while I am no expert on windows linkage madness, my understanding
On 2015-01-25 23:21, Alexej Magura wrote:
If I have a function that returns a malloc'd pointer, or that needs to
have a buffer malloc'd, is it more idiomatic to (1) malloc and free in
the caller function (which is C's idiom, IIRC), or (2) malloc it in C
and then just return the pointer for
On Mon, 15 Dec 2014, Bahman Movaqar wrote:
Reading the docs on SRFI-99 [1], I need some help understanding what is
a variant type. Would someone please pass me a relevant link to read?
Hello,
a variant type is the same as an extensible tagged union type. Some
documentation about this
On Sat, 6 Dec 2014, Joe Python wrote:
I was experimenting with a coroutine example which i got from the c2
website. see link below for code.
http://paste.call-cc.org/paste?id=cf4489b9de4820b330dc34371ea3b73a18115a4b#a0
I get the expected output when I run the code using csi
[...]
However when
On Fri, 7 Nov 2014, Moritz Heidkamp wrote:
NeXT chu...@gmail.com writes:
Thank you, what I miss from clojure is its uniform or homoiconic(?)
style of sequence accessing; so one does not have to check current
sequence is whether list or vector or others. I'd like to create macro
or something
On Sat, 1 Nov 2014, Richard wrote:
[...]
That is not how you link objects files.
You could create an archive for this purpose using:
ar rc foreign-interfaces.a sources/foreign-interfaces/fastcgi.o
sources/foreign-interfaces/sqlite.o
[...]
Hello,
if your linker supports that, it may also be
On Tue, 28 Oct 2014, Florian Zumbiehl wrote:
[...]
I am not sure I understand what you mean--you never can protect against a
client that doesn't want to protect the session, they always could just
publish the session key, or the decrypted data, or whatever. The protection
should always focus on
On Tue, 28 Oct 2014, Florian Zumbiehl wrote:
[...]
Regarding specific improvements:
[procedure] (ssl-make-client-context* #!key
((protocol symbol) 'tls) ((cipher-list string|list) HIGH)
((certificate-authorities string) #f)
((certificate-authority-directory string) #f)
On Mon, 27 Oct 2014, Andy Bennett wrote:
[...]
I'd be glad if some of you could test this out and tell me what you
think about it :-)
Can you give some tips for how to test this from a spiffy applications?
I usually just pass in ssl-accept instead of tcp-accept.
[...]
Hello,
actually I
On Sun, 26 Oct 2014, Sascha Ziemann wrote:
[...]
what is the Chicken equivalent of Java's File.separator [...] and
File.pathSeparator:
[...]
Hello Sascha,
as far as I know, the CHICKEN core library doesn't provide equivalent
definitions and the code you included in your mail to define
On Thu, 16 Oct 2014, Thomas Chust wrote:
[...]
So I would like to poll for opinions from people on this list concerning this
situation. Do you think the default options in the OpenSSL egg should be
hardened? Do you think more options should be introduced? Is compatibility
with the rest
On Thu, 16 Oct 2014, Sascha Ziemann wrote:
[...]
I think it is a good idea to make TLS the default. [...] I think it is
sufficient to enable SSL with a parameter or environment variable. I
propose:
I_DONT_CARE_ABOUT_SECURITY=yes
[...]
... and there I was thinking that was implicit in the
On Thu, 16 Oct 2014, Florian Zumbiehl wrote:
[...]
I just wanted to point out that we still have a bunch of patches lying
around that among other things implement security improvements:
openssl: add support for TLS 1.1 and 1.2
openssl: add functions ssl-set-reneg-legacy-server-connect!,
Hello,
Mario Domenech Goulart raised the issue that the OpenSSL egg by default
creates connections that can use any of the SSLv2, SSLv3 or TLSv1.x
protocols, depending on the capabilities of the remote peer.
This default is not particularly secure, especially when considering the
recently
On Thu, 16 Oct 2014, Andy Bennett wrote:
[...]
Having said that, I'm not sure which clients on which operating systems
are SSL 3.0 only.
[...]
Hello Andy,
if I understand the situation correctly, almost nobody uses SSLv3 since it
was quickly superseded by the newer TLS variants. But the
On Fri, 2014-05-09 at 16:56 +0200, Isak Andersson wrote:
[...]
Basically I want to define a C API (because that's easy to call from
all languages) that will be used on many platforms
(ios, android, winrt, windows, osx etc).
[...]
Hello Isak,
what you want to do should indeed be possible
On 2014-04-05 01:54, Claude Marinier wrote:
[...]
I would like to have the compiler do some of this for me. I probably
cannot write a literal hash table but I expected to be able to write a
literal association list. I have tried this but it does not work.
[...]
(define a-list
`(
(dot
On 2014-03-02 17:20, Daniel Carrera wrote:
On 2 March 2014 17:00, Matt Gushee m...@gushee.net wrote:
[...]
Does this mean that I am loading the module wrong?
[...]
No. The numbers egg redefines all the standard arithmetic 'operators'
[...]
Ok. Does this also mean that there is no way to
On 2013-12-16 00:59, pluijzer wrote:
[...]
I am using a C-library that lets you assign user data to objects via a void
pointer.
I would like to assign a scheme object to this pointer, but as I understand I
cannot use
'object-pointer' for this, as the garbage collector might move the
On 2013-12-16 00:59, pluijzer wrote:
[...]
I am using a C-library that lets you assign user data to objects via a void
pointer.
I would like to assign a scheme object to this pointer, but as I understand I
cannot use
'object-pointer' for this, as the garbage collector might move the
On 2013-06-05 23:36, Felix wrote:
From: Dan Leslie d...@ironoxide.ca
[...]
Basically, use C_alloc to allocate the memory required to host both
the List structure and the data it is to contain, then use the C_list
macro to patch it all together.
Note that this code is not correct: C_alloc
On 2013-06-06 11:46, Kristian Lein-Mathisen wrote:
[...]
From what I understand, this is exactly what foreign-primitive does:
wraps C_return in a CPS, keeping the stack-allocation alive.
[...]
Hello,
well, kind of.
Since compiled CHICKEN code is fully CPS transformed you don't wrap
On 2013-06-06 12:13, Kristian Lein-Mathisen wrote:
[...]
I didn't know foreign-lambda were the one that had to do
the CPS-conversion. Does that mean there is a small performance overhead
when using foreign-lambda as opposed to just foreign-primitive?
[...]
Hello,
the overhead is roughly one
On 2013-06-06 12:19, Felix wrote:
From: Thomas Chust ch...@web.de
[...]
when I first saw that code I thought that this must be incorrect, too.
Then I checked the CHICKEN documentation for foreign-safe-lambda and read:
This is similar to foreign-lambda, but also allows the called
On 2013-06-06 12:34, Felix wrote:
From: Thomas Chust ch...@web.de
[...]
So what about allocating locally and not returning an object but passing
it to a Scheme callback from inside a foreign-safe-lambda? Is that ok or
can it happen that the callback stores this object away but never copies
On 2013-06-05 19:50, Peter Bex wrote:
[...]
There is no C_listp predicate because you can't directly check an
object for being a list; you must check whether it's
C_SCHEME_END_OF_LIST (then it is a list). Otherwise, if it's a pair
you take its cdr and loop. If it's something else, it's not
On 2013-06-05 20:11, Peter Bex wrote:
On Wed, Jun 05, 2013 at 07:57:49PM +0200, Thomas Chust wrote:
but it's trivial to detect cyclic lists during the traversal using
either a set of seen elements or just two iteration pointers travelling
at different speeds.
In C that's rather painful
On 2013-05-30 22:32, Felix wrote:
[...]
Very good - thanks a lot! I'll give this a try. Should we simply replace
the serialization or do you think it would make sense to let the user
choose a serialization mechanism for suspensions?
[...]
Hello Felix,
I'm not sure the suspension egg needs a
Hello,
during the CHICKEN spring thing in Cologne I started to work on a new
egg [1] implementing the protocol buffer [2] serialization format, which
is now in a usable and tested state.
If you don't need or want to use a specific schema for your data, you
can use the protobuf egg as a generic
On 2013-05-29 00:32, Dan Leslie wrote:
[...]
I wonder if this would be useful for storing data in a posix shared
memory block...
[...]
Hello Dan,
that is certainly possible, you would just combine serialize and
call-with-output-string to obtain data you can copy into a shared buffer
and
On 2013-05-05 13:54, Felix wrote:
[...]
SRFI-4 vectors live in the normal, heap that is subject to garbage
collection,
[...]
But note that the SRFI-4 constructors accept an optional argument
which specifies that the vector should be allocated in static,
non-GC'd memory.
[...]
Ah, cool.
On 2013-05-03 20:04, Pedro Melendez wrote:
[...]
I am developing a prototype of a server that would serve 3D seismic
images across the network.
[...]
Hello Pedro,
it's nice to see I'm not the only geophysicist who likes to use Scheme :-)
[...]
Giving the size of the file, I want to share
On 2013-05-04 00:26, Ivan Raikov wrote:
[...]
I really strongly advise _against_ using SRFI-4 vectors for 4G files,
as I have experienced serious performance issues even with vectors of a
few million elements.
[...]
Hello,
would that be related to the fact that CHICKEN has a copying garbage
Hello,
you may want to check the documentation on embedding CHICKEN into other
applications:
http://wiki.call-cc.org/man/4/Embedding
To make the embedded CHICKEN interpreter useful, you may have to expose
functions from CHICKEN to the hosting application, which is easily
accomplished
On Sat, 11 Aug 2012, john saylor wrote:
[...]
and here is my propsed solution:
define js-reverse
(lambda (ls)
((reverse-rec ls '()
[...]
Hello John,
your code above lacks an opening paranthesis before the define and it has
an extraneous pair of parentheses around the call to
On Tue, 31 Jul 2012, Jeronimo Pellegrini wrote:
[...]
I was wondering why this happens in Chicken (recent checkout from git):
(let ((lst (call/cc (lambda (x)
(print 'something)
(call/cc (lambda (y)
(list x y)))
Andy Bennett wrote:
[...]
...there doesn't seem to be a libwebkit for Debian Wheezy: only a gtk
version so I tried to disable all the web stuff in the iup.setup file.
[...]
Hello Andy,
the GTK+ WebKit library is probably the right one unless you built IUP
against Motif instead of GTK+.
But
Дмитрий wrote:
[...]
\usr\local\bin\csc -feature compiling-extension -setup-mode-S -O3
-d0 -feature standalone chicken-spock.scm -o chicken-spock
chicken-spock -library-path spock -optimize -library -o library.js
cat config.js runtime.js library.js spock/spock-runtime.js
On Mon, 2012-04-09 at 21:00 +0100, Mark Carter wrote:
Is this a bug in chicken?
(rational? 6/10) = #f
Also
(* 1.0 5/2)
produces
Error: (*) bad argument type: 5/2
[...]
Hello,
this looks strange. While CHICKEN does not support exact fractions out
of the box, reading a number
On Sat, 2012-03-24 at 20:20 +0100, Christian Kellermann wrote:
* Juergen Lorenz j...@jugilo.de [120324 11:42]:
Hello all,
when installing (via chicken-install) a module with a number of
submodules (for example iup) I noticed, that the submodules are only
installed as *.import.scm,
On Sun, 2012-03-25 at 15:46 +0200, Christian Kellermann wrote:
[...]
(define import-libraries
`(iup.import.so
iup-base.import.scm iup-controls.import.scm
iup-dialogs.import.scm
,@(cond-expand
So you are explicitly giving it .scm files to install.
On Wed, 2012-03-14 at 18:23 -0600, Alan Post wrote:
[...]
(pretty-print (let ((s (amb 0 1 2))) (amb-collect s)))
[...]
produces:
[...]
(0)
[...]
Hello,
to me this behaviour looks correct. amb-collect is supposed to collect
all the different values its argument can take on, but in your
On Mon, 2012-03-12 at 14:05 -0600, Matt Gushee wrote:
[...]
$ csi
[...]
csi (use iup)
[...]
csi (use iup-web)
; loading /usr/lib/chicken/6/iup-web.import.scm ...
[...]
Hello,
you are using the egg incorrectly. The iup library contains all the
iup-related modules including iup-web.
On Wed, 2012-02-29 at 14:07 +0100, Kristian Lein-Mathisen wrote:
[...]
Reading the chicken docs on foreign, you'll find:
Structs cannot be directly passed as arguments to foreign
functions, nor can they be result values.
2011/10/17 Andy Bennett andy...@ashurst.eu.org:
[...]
during the past days I've written a small binding for the BerkelyDB
library.
[...]
How does licensing of this work?
I understand that BDB is available under the GPL for certain uses. Does
your work get infected with that or is it
1 - 100 of 309 matches
Mail list logo