Parley, wasn't it?
I, too, worked around this issue on windows using parley.
-Dan
Original Message
On Jul 5, 2020, 13:29, Kristian Lein-Mathisen wrote:
> Hi George,
>
> I think the problem may also be that your primordial thread is blocking all
> srfi-18 threads in it's
Isn't it possible to pin items, and avoid these relocation and garbage
collection issues, with object-evict?
https://wiki.call-cc.org/eggref/5/object-evict
-Dan
Sent with [ProtonMail](https://protonmail.com) Secure Email.
‐‐‐ Original Message ‐‐‐
On Wednesday, August 7, 2019 1:00 PM,
It sounds like the implementation is not set.
Try putting this as the first line in your source file:
;;; -*- mode: scheme; geiser-scheme-implementation: chicken -*-
If that fixes your problems, then you'll probably want to limit Geiser to the
one implementation, globally, or add that to all
Thanks in large part to a Pull Request from Olivier Matz the Allegro Egg has
been ported to Chicken 5.
I've attempted to follow the information in the wiki[0] with regards to how to
port an egg from C4 to C5 in the simple manner, and so Henrietta likely needs
to track the new
It should be fixed as of this AM.
-Dan
Sent with ProtonMail Secure Email.
‐‐‐ Original Message ‐‐‐
On Saturday, November 17, 2018 8:08 AM, Vasilij Schneidermann
wrote:
> > That'd be a missing elisp method; it's used in the version check.
> > What version of emacs are you using?
>
>
> David
>
> On Tue, Nov 13, 2018 at 5:12 PM Dan Leslie wrote:
>
>> Fresh on ELPA: Chicken 5 support in Geiser. Geiser is an enhanced Emacs mode
>> for interacting with various Schemes.
>>
>> Completion suggestions, eldoc support, region and buffer evaluation,
Fresh on ELPA: Chicken 5 support in Geiser. Geiser is an enhanced Emacs mode
for interacting with various Schemes.
Completion suggestions, eldoc support, region and buffer evaluation, and symbol
evaluation all appear to work well; most are considerably faster thanks to some
reworking of their
Emacs users can now avail themselves of Scheme support in the
`dumb-jump` package; the support has just been merged into Git.
What's dumb-jump? It's jump-to-definition using Rip-Grep, the Silver
Searcher, Grep and Git Grep as backends; the implementation is small,
zippy, and usually effective.
I
PS, it could take a while for this to reach ELPA et al, so grab the git
source in the interim.
Thanks,
-Dan
On Sun, 10 Dec 2017 10:16:40 -0800
Dan Leslie <d...@ironoxide.ca> wrote:
> Thanks to some quality bug reporting the Geiser support for Chicken
> has been greatly sped up. Ov
Thanks to some quality bug reporting the Geiser support for Chicken has
been greatly sped up. Overall typing speed and completion response is
far superior to the previous state of affairs.
Please ensure you have the latest apropos and chicken-doc eggs
installed; which can be done via:
Chicken could really use a Language Server Protocol implementation.
Alternatively, making Chicken faster is probably a gold mine of thesis
material.
-Dan
On Fri, 17 Nov 2017 17:20:52 +0100
Daniele wrote:
> Hello, I need to make my bachelor thesis in CS and was looking for
You could build something with the posix-shm egg, and the posix unit. If you
need locks, there’s the posix-semaphore egg.
-Dan
From: Chicken-users [mailto:chicken-users-bounces+dan=ironoxide...@nongnu.org]
On Behalf Of Arthur Maciel
Sent: December 28, 2016 7:47 AM
To: Kooda
Particularly since Chicken is in the minority of Schemes that allow this
behaviour.
I'm not a fan of fast-and-loose binding and typing, personally; it's a
source of too many mistakes.
-Dan
On 2016-09-24 5:14 PM, Derrell Piper wrote:
> I agree that it's allowed but it would an optional warning
4.9.0.1 (stability/4.9.0) (rev 8b3189b)
> windows-mingw32-x86 [ manyargs dload ptables ]
> bootstrapped 2014-06-07
>
> Disabled the Chicken extensions to R5RS syntax
> #;1> (set! foo 1)
> #;2> foo
> 1
Well, damn. It is a bug.
-Dan
On 2016-09-23 6:45 PM, Kon Lovett wrote:
Sounds like a Chicken Bug, from the docs[0]:> <_expression_> is evaluated, and the resulting value is stored in the location to which is bound. must be bound either in some region enclosing the set!
I think you should raise this bug in chicken-hackers; it sounds like
it's a platform issue not caught by the automated tests.
-Dan
On 2016-08-23 07:25 PM, Claude Marinier wrote:
> On Thu, 18 Aug 2016, Dan Leslie wrote:
>> I have used it successfully with MSys2 and Mingw-w64; th
That should be an org, not a com:http://wiki.call-cc.org/msys2Apologies,-Dan
I have used it successfully with MSys2 and Mingw-w6s; the details are here:http://wiki.call-cc.com/msys2-Dan
Oops, you shouldn't need to install cmake and global. I copy/pasted that
from my Emacs setup readme.
-Dan
On 2016-07-09 5:36 PM, Dan Leslie wrote:
>
> I have just returned from vacation and have access to my Windows 10
> machine again, and so can try out my setup.
>
> Here's w
I have just returned from vacation and have access to my Windows 10
machine again, and so can try out my setup.
Here's what I have done:
Install 64-bit MSYS2, launch bash using the MingW64 shell:
|https://msys2.github.io|
Install the necessary dependencies:
|pacman -Sy pacman -S
Ubuntu without the kernel.
Sent from my BlackBerry 10 smartphone.
Original Message
From: John Cowan
Sent: Friday, July 8, 2016 9:53 AM
To: Dan Leslie
Cc: Matt Welland; Oleg Kolosov; chicken-users; C K Kashyap
Subject: Re: [Chicken-users] Installing chicken on windows
Dan Leslie scripsit
It reads to me like Chicken needs an automated builder for the Windows package.
Peter Bex writes:
> Now, the good news is that I also ran the program under CHICKEN 5 and
> it took just under 17 seconds to complete. Most likely this is because
> the whole thing can be done completely inline, without any CPS calls,
> which means a lot less allocation,
Word of warning: Babel seems to be hard-coded for Guile only; there are
several open bugs regarding Babel and Geiser regarding, for instance, it
breaking with Chicken.
-Dan
Alex Charlton writes:
> Hi James,
>
> The best thing that I've found for creating "living"
Could you perhaps motivate with some sample code?
Thanks,
-Dan
Juergen Lorenz writes:
> Hi all,
>
> the bindings egg is now implemented with a functor, so that you can
> replace the default dispatch table, which destructures mixed nested
> lists, vectors, strings and
IIRC, there's been ongoing efforts to remove SRFI-1 from core; which may
explain your observations regarding Master.
Perhaps you should consider asking Chicken Hackers?
-Dan
Sent from my BlackBerry 10 smartphone.
Original Message
From: Jörg F. Wittenberger
Sent: Wednesday, January 13, 2016
Perhaps you could motivate regarding which Erlang features you find
desirable?
-Dan
Lawrence Bottorff writes:
> . . . where might Chicken be concerning distributed-concurrent programming?
> How close to Erlang's perfect 10 can you get with Chicken. Of course if
> Chicken is
If you are desiring a monolithic web stack of the Rails sort, then what
you probably are looking for is GNU Artanis:
http://web-artanis.com/index.html
-Dan
机械唯物主义 : linjunhalida writes:
> Hi scheme users,
>
> I'm a rails programmer, and knows scheme long time ago but
*raises Egg Nog* And to you as well!
Seasons Greatings to all!
-Dan
felix.winkelm...@bevuta.com writes:
> A very happy christmas to all of you!
>
>
> felix
>
>
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
>
Sly is much higher level than Allegro or SDL; it's probably most
comparable to Doodle or Hypergiant.
-Dan
Josh Barrett writes:
> Has anybody tried guile's Sly? If so, how does it stack up to chicken's...
> Variety of libraries?
>
> On Mon, Dec 21, 2015, 19:40 John
It probably thinks it's a Guile file and not a Chicken file. When that
happens it is looking for a Guile REPL and ignoring your Chicken
REPL. To see if this is happening look for the word "Guile" or "Chicken"
in the modeline; if you see Guile and not Chicken then things are
misconfigured.
You
Damn, I should have RTFM. ;)
-Dan
Sent from my BlackBerry 10 smartphone.
Original Message
From: Peter Bex
Sent: Friday, December 11, 2015 11:13 AM
To: d...@ironoxide.ca
Cc: chicken-users@nongnu.org
Subject: Re: [Chicken-users] Building on MSYS2
On Fri, Dec 11, 2015 at 11:48:00AM -0500,
Isn't there a significant barrier to determining what to strip due to eval,
apply and read?
-Dan
Sent from my BlackBerry 10 smartphone.
Original Message
From: Peter Bex
Sent: Thursday, November 19, 2015 8:31 AM
To: Victor J
Cc: chicken-users@nongnu.org
Subject: Re: [Chicken-users] reducing
As a potential user and implementor of similar eggs (Allegro, SOIL, .. nanovg),
I would provide fairly lean bindings first, then do any simplification or
hand-holding as an additional module. It will save you time in the near term
and provide flexibility to the users.
-Dan
Sent from my
Whatever works with the doto macro?
Sent from my BlackBerry 10 smartphone.
Original Message
From: Jörg F. Wittenberger
Sent: Thursday, October 29, 2015 12:47 PM
To: chicken-users
Subject: [Chicken-users] Which API to use (llrb)?
Hi all,
I did some more refinements to the LLRB-code I
It looks to me like a bad type cast. -Dan
of regular expressions, it seems.
Enjoy! And please do keep filing issues.
-Dan
jao <notificati...@github.com> writes:
> Improved features:
>
> - Lots of improvements to Chicken support, by Dan Leslie.
> - Better interoperability with xscheme.
> - Much better perfo
ier. Yes, an API to do
such would be helpful; csi extensions are no longer used in the Chicken
Geiser implementation.
--
-Dan Leslie
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
--
-Dan Leslie
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
would be appreciated. :D
Thanks!
--
-Dan Leslie
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
And thanks to your feedback the branch is now passing the available
tests.
Turns out that (syntax) was allowing the two-modules-in-one-file thing
to work. Taking that out caused... Problems. ;)
--
-Dan Leslie
___
Chicken-users mailing list
Chicken
of a fair number of
domain-specific languages, I think.
Anyhow, without further ado, you can find the example here:
https://github.com/dleslie/funky
PS, can anyone explain the comment here:
https://github.com/dleslie/funky/blob/master/funky.scm#L24
Thanks!
-Dan Leslie
://lists.nongnu.org/mailman/listinfo/chicken-users
--
-Dan Leslie
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Peter Bex pe...@more-magic.net writes:
I have a solution in the works for the particular problem of slow
numbers. This is in a CHICKEN 5 branch I've been working on, which
I will announce in a week or so.
Colour me excited. :)
-Dan
--
-Dan Leslie
much Scheme/Lisp any more. I
wish that this wasn't the case; you've done such great work.
-Dan
--
-Dan Leslie
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
was spending its time on and it
appeared that it becomes mired in a tar pit of garbage collection
tagging. Can someone else with a little more understanding shed some
light on this?
https://groups.google.com/d/msg/comp.lang.scheme/x1YafU5t0B0/M0mzhrl7LxYJ
Thanks!
--
-Dan Leslie
I'd stick with zmq, particularly considering that you've already begun
updating the egg. It also looks like it has a greater amount of
community and developer support.
-Dan
Matt Gushee m...@gushee.net writes:
On Thu, Mar 5, 2015 at 6:18 PM, Dan Leslie d...@ironoxide.ca wrote:
You might
-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
--
-Dan Leslie
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
? (unintern 'foo) 'foo) = #f
Cheers,
Peter
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
--
-Dan Leslie
___
Chicken-users mailing list
Honestly, I just feed the output of chicken-status into chicken-install
-reinstall
-Dan
On 14-12-16 11:44 PM, Alexej Magura wrote:
Is there a way to update eggs? I thought it might be chicken-install
-update-dbbut that seems to have a different effect. Is there no
zero-config means of
I can imagine that this is something that might be present on more than
a few corporate networks.
Perhaps it's best to simply rename the cock egg?
-Dan
On 14-12-15 03:01 PM, Alex Shinn wrote:
On Tue, Dec 16, 2014 at 2:51 AM, Bahman Movaqar bah...@bahmanm.com
mailto:bah...@bahmanm.com wrote:
*facepalm*
Yes, my way is the way not to do it; thanks to my reading comprehension
failure. ;)
-Dan
On 14-12-13 06:44 PM, John Cowan wrote:
Bahman Movaqar scripsit:
What is the idiomatic way of replacing the nth element in a list
*without* mutating the list? Is the combination of take and
Hi Nathan!
I've been following this thread but haven't had a chance to jump in
until now.
SLIME support is sort of broken, at best, on newer Emacs. I tried
getting it limping back along but I think you'll find it lacking.
I wrote a package for Emacs that can be installed via MELPA and
Not part of the standard distribution; however, the apropos egg will
allow you to locate defined symbols by regex; you could simply provide a
regex that matches all strings.
-Dan
On 14-12-05 07:48 PM, Joe Python wrote:
I can check whether an individual procedure is available by just
typing
A short update: I've made fairly good progress in the last few days. I
would say about 3/4 of the features are complete.
A special thanks to the authors of the Apropos and Chicken-Doc eggs!
-Dan
On 14-11-21 03:48 PM, Daniel Leslie wrote:
As a follow-up to my earlier inquiries regarding
*facepalm*
I should have read to the bottom of the help listing for csc.
Thanks Peter!
-Dan
On 14-04-06 09:13 AM, Peter Bex wrote:
On Sun, Apr 06, 2014 at 08:55:31AM -0700, Daniel Leslie wrote:
I'm trying to create a 'portable' distribution of chicken and am running
into a simple issue.
of a
library and so it fails. Disabling the banner appears to solve this issue.
I wonder if doing a STATICBUILD would rectify this?
-Dan
On 14-04-06 09:31 AM, Dan Leslie wrote:
*facepalm*
I should have read to the bottom of the help listing for csc.
Thanks Peter!
-Dan
On 14-04-06 09:13 AM
Nix that, STATICBUILD would break most everything I need.
Hrm, haven't a clue.
-Dan
On 14-04-06 10:09 AM, Dan Leslie wrote:
Actually, that doesn't appear to help.
In order to get csi to work I must pass both the -include-path
parameter as well as -q; and csc has no equivalent option to -q
Analyze and syntax-check only csc invocations appear to work (-A and -P
options). That implies to me that -include-path is adhered to /very/
late in the invocation, if at all.
-Dan
On 14-04-06 10:18 AM, Dan Leslie wrote:
Nix that, STATICBUILD would break most everything I need.
Hrm
It turns out that all of the odd issues I was having were resolved by
ditching SRCDIR. I like to build from a separate directory from source
as I tend to leave intermediate files in a tmpfs partition, to save my
SSD some unnecessary thrashing, so I naturally attempted to use SRCDIR.
Anyhow,
On 8/2/2013 1:54 AM, J Altfas wrote:
I've used the embedding API to some extent, but I'm not sure about
multiple toplevels. It's unclear what toplevel environment(s)
you're referring to. There's the C_toplevel and I'm pretty sure
there's only one of those. The Scheme toplevel runs after
On 8/2/2013 9:56 AM, John Cowan wrote:
Unless you either (a) are deeply committed to Chicken or (b) need the
fastest possible performance on a single core, then you might want to
consider shifting to Chibi Scheme for this application.
:D
I've already been exploring chibi-scheme for the
Regarding:
http://wiki.call-cc.org/embedding
Is it possible to embed chicken in such a way that there exists multiple
concurrent top levels that do not directly interact unless objects are
specifically passed by the programmer?
-Dan
___
There's a section on accessing external objects that covers this sort of
thing:
http://wiki.call-cc.org/man/4/Accessing%20external%20objects#returning-large-objects-or-chunks-of-memory-to-scheme
It's possible to allocate C structures under the control of the Chicken GC:
By using parameters; see also:
http://api.call-cc.org/doc/chicken/parameters/make-parameter
http://api.call-cc.org/doc/miscmacros/define-parameter
http://api.call-cc.org/doc/chicken/special-forms/parameterize
-Dan
On 6/26/2013 2:47 PM, Daniel Ajoy wrote:
add binds a to 1 at the moment of
Oh you just had to be different. ;)
The related SRFI is withdrawn, is it safe to assume that fluid-let will
be available outside of Chicken?
-Dan
On 6/26/2013 2:56 PM, Kon Lovett wrote:
See http://api.call-cc.org/doc/chicken/special-forms#def:fluid-let
#;1 (define a 1)
#;2 (define (add x)
Probably the simplest solution would be to treat it as fixed size and
use the maximum possible size for the object.
From http://linux.die.net/man/7/inotify
Specifying a buffer of size
sizeof(struct inotify_event) + NAME_MAX + 1
will be sufficient to read at least one event.
-Dan
Hmm, now I want to work with SPOCK a bit more.
-Dan
On 6/19/2013 7:38 AM, Mario Domenech Goulart wrote:
On Thu, 02 May 2013 13:57:58 + Mario Domenech Goulart
mario.goul...@gmail.com wrote:
An interview with Felix Winkelmann, the author of CHICKEN:
On 6/6/2013 2:59 AM, Thomas Chust wrote:
Therefore foreign-primitive can do allocation in the nursery, but
foreign-lambda can't. However, foreign-lambda could still allocate
directly in the second generation heap or transfer nursery-allocated
values directly into the heap upon return before
Feel free to ask questions in the IRC channel, #chicken on irc.freenode.net
-Dan
On 6/5/2013 7:07 AM, nehal singhal wrote:
Hi,
I am a newbie to chicken.Can i get some aid as to how to start
coding through chicken. I was recently learning racket and also have
know-how of Python-2.6.
I do this a fair bit in the Allegro egg.
Here's an example:
https://github.com/dleslie/allegro-egg/blob/985ca2ceef0f5b4028af3f97729f13cba2976fe5/color.scm
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
Oh dear!
Well, it works and I haven't had problems. What's the correct way to go
about this?
-Dan
On 6/5/2013 2:36 PM, Felix wrote:
From: Dan Leslie d...@ironoxide.ca
Subject: Re: [Chicken-users] Chicken C interface
Date: Wed, 05 Jun 2013 08:47:45 -0700
I do this a fair bit in the Allegro
Thanks, I'll get on updating my broken eggs soon.
obvious humpty dumpty joke notwithstanding
-Dan
On 6/5/2013 2:39 PM, Felix wrote:
From: pluijzer . pluij...@gmail.com
Subject: [Chicken-users] Chicken C interface
Date: Wed, 5 Jun 2013 17:10:41 +0200
Hello everybody,
I was planning to use
Yes, many mutate operations are not srfi-18 threads aware, in my
(possibly incorrect) experience.
Also, just as an FYI, Chicken's SRFI-18 threads are not system threads,
and so cannot avail themselves of additional processors. If real
parallel operations are your goal then you'll want to look
This is very welcome!
I wonder if this would be useful for storing data in a posix shared
memory block...
-Dan
On 5/28/2013 3:15 PM, Thomas Chust wrote:
Hello,
during the CHICKEN spring thing in Cologne I started to work on a new
egg [1] implementing the protocol buffer [2] serialization
, 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 call-with-input-string plus
Bare in mind that both lush and fluxus are FOSS, both GPL, so if you're
planning on using it in a game engine that you'll be monetizing be
certain that you're abiding by their licenses. Likely this means
distributing full source.
If that's not desirable to you, might I suggest the SDL egg
*cringe*
This will certainly expose what is and is not thread-safe within
Chicken. I've worked with a /team/ in implementing such behaviour in the
Unreal engine, albeit a frankenengine of sorts, and with three dedicated
programmers the endeavour required about a month. But we had the benefit
I'll probably write the wiki page while taking the bus to work next
week, but for now I'm unaware of any issues and have a working example.
There's a test.scm file in the repo that gives a quick rundown on how to
use a (non-shared) semaphore. That is to say, if you're using fork() and
only
With semaphores and shared memory you can basically emulate the
behaviour you would expect from native threads. Though I'm not certain
about how comparable it is in performance, I understand it to be quite
zippy.
Ie, shm_open will give you a file descriptor, which you can then treat
as a
If it's heterogeneous data I tend to use blobs with helper functions to
cast segments to records without undertaking a copy.
https://wiki.call-cc.org/man/4/Unit%20library#blobs
If it's homogenous data then the srfi-4 unit provides all sorts of
vectors that you can use.
I was just poking through posix, posix-shm, posix-utils, and
posix-extras and it seems that none of them implement semaphores!
Am I missing something, or is this actually the case?
-Dan
On 5/3/2013 3:26 PM, Ivan Raikov wrote:
Hello,
I really strongly advise _against_ using SRFI-4 vectors
, 2013 7:59 AM, Dan Leslie d...@ironoxide.ca
mailto:d...@ironoxide.ca wrote:
I was just poking through posix, posix-shm, posix-utils, and
posix-extras and it seems that none of them implement semaphores!
Am I missing something, or is this actually the case?
-Dan
On 5/3/2013
Wild!
I've looked at binding GLM a few times but shied away from the wall of
templates. Your solution is a rather elegant hack, IMHO, leaving little
to the clients of your bindings to fuss about.
What's the license?
-Dan
___
Chicken-users mailing
Nice! I didn't realize chicken-doc-admin was even a thing, and this
ability should make updating docs much easier to do.
When next I get around to updating the allegro egg from 5.06 to 5.09 and
fixing the library discovery bug I'll see about also switching over to
using this to manage the
I recommend you check out the following eggs:
https://wiki.call-cc.org/eggref/4/inline
https://wiki.call-cc.org/eggref/4/bind
https://wiki.call-cc.org/eggref/4/foreigners
A combination of the following docs will help:
https://wiki.call-cc.org/man/4/Accessing%20external%20objects
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 is part of a proposal for
R7RS-large.
That
Of course it would, and the Perl substitute command would be more general
still. For that matter, you could allow an arbitrary Scheme procedure to
be provided. But drop-prefix is dead simple, has precedent, and is
easy to understand and use.
Why not have both?
-Dan
Nice work, contributions are greatly appreciated. :)
Since you're asking for constructive feedback, two things come to mind:
It's a matter of taste, but IMHO it's schemier that
/descriptive-variable/ is preferable to /desc-var/, so in your case
/s-foo/ could easily be /string-foo/. However, I
89 matches
Mail list logo