Re: csi on Windows, Emacs and srfi 18

2020-07-05 Thread Dan Leslie
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 thr

Re: [Chicken-users] memory monitoring and leak debugging? (should the advice be in a web page?)

2019-08-07 Thread Dan Leslie
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

Re: [Chicken-users] Auto CompletionProblems

2019-08-07 Thread Dan Leslie
your chicken files. -Dan Sent from ProtonMail mobile Original Message On Aug. 7, 2019, 8:40 a.m., wrote: > Hey, do you use helm by any chance? Then this might be related: > > https://gitlab.com/jaor/geiser/issues/271 > > Also if you haven't done so already, tr

[Chicken-users] Allegro ported to Chicken 5 (Coop update?)

2019-02-11 Thread Dan Leslie
.release-info[1] file. 0: https://wiki.call-cc.org/chicken-5-roadmap#the-simplest-approach-just-carry-on 1: https://raw.githubusercontent.com/dleslie/allegro-egg/master/allegro.chicken-5.release-info Thanks, -Dan Sent with [ProtonMail](https://protonmail.com) Secure Email

Re: [Chicken-users] Geiser now has Chicken 5 Support

2018-11-17 Thread Dan Leslie
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 a

Re: [Chicken-users] Geiser now has Chicken 5 Support

2018-11-16 Thread Dan Leslie
That'd be a missing elisp method; it's used in the version check. What version of emacs are you using? -Dan Sent with [ProtonMail](https://protonmail.com) Secure Email. ‐‐‐ Original Message ‐‐‐ On Friday, November 16, 2018 2:16 PM, David Ireland wrote: > Hi, > &g

[Chicken-users] Geiser now has Chicken 5 Support

2018-11-12 Thread Dan Leslie
-to-definition and find-references for Scheme projects of most any size. Happy hacking! -Dan Sent with [ProtonMail](https://protonmail.com) Secure Email.___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo

[Chicken-users] Emacs' dumb-jump now supports Scheme

2017-12-13 Thread Dan Leslie
recommend using it with Geiser, of course. ;) Thanks, -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Geiser support improved

2017-12-10 Thread Dan Leslie
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

[Chicken-users] Geiser support improved

2017-12-10 Thread Dan Leslie
ntations, and so you may select Chicken for the current buffer via geiser-set-scheme. If you're so inclined, Chicken support can be auto-detected by adding the following comment to the top of the source file: ;; -*- geiser-scheme-implementation: 'chicken Have f

Re: [Chicken-users] Any suggestions for a project?

2017-11-17 Thread Dan Leslie
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 <teikf...@gmail.com> wrote: > Hello, I need to make my bachelor thesis in CS and wa

Re: [Chicken-users] odd compiler messages on program structure errors

2017-10-08 Thread dan
FWIW, I find that the stack traces shown by Chicken’s parser often seem wholly unrelated to the code at the source of the error. I’m not sure why, either. -Dan From: Chicken-users [mailto:chicken-users-bounces+dan=ironoxide...@nongnu.org] On Behalf Of Claude Marinier Sent: October 8

Re: [Chicken-users] Parallel procedures in CHICKEN

2016-12-29 Thread Dan Leslie
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 <

Re: [Chicken-users] set! on unbound variable

2016-09-24 Thread Dan Leslie
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 warn

Re: [Chicken-users] set! on unbound variable

2016-09-24 Thread Dan Leslie
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:

Re: [Chicken-users] set! on unbound variable

2016-09-23 Thread Dan Leslie
g the set! _expression_ or at top level. The result of the set! _expression_ is unspecified.0: https://wiki.call-cc.org/man/4/The%20R5RS%20standard#assignments

Re: [Chicken-users] Windows 10, mingw-w64, chicken 4.11, "invalid encoded numeric literal"

2016-08-23 Thread Dan Leslie
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

Re: [Chicken-users] Windows 10, mingw-w64, chicken 4.11 - check fails with "invalid encoded numeric literal"

2016-08-18 Thread Dan Leslie
That should be an org, not a com:http://wiki.call-cc.org/msys2Apologies,-Dan

Re: [Chicken-users] Windows 10, mingw-w64, chicken 4.11 - check fails with "invalid encoded numeric literal"

2016-08-18 Thread Dan Leslie
I have used it successfully with MSys2 and Mingw-w6s; the details are here:http://wiki.call-cc.com/msys2-Dan

Re: [Chicken-users] Installing chicken on windows

2016-07-09 Thread Dan Leslie
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

Re: [Chicken-users] Installing chicken on windows

2016-07-09 Thread Dan Leslie
, and interface with Chicken through Geiser. -Dan On 2016-07-09 4:38 PM, Matt Gushee wrote: > > > On Fri, Jul 8, 2016 at 12:01 PM, Matt Welland <mattrwell...@gmail.com > <mailto:mattrwell...@gmail.com>> wrote: > > > Oh, as an aside, it would be fantastic to have IUP

Re: [Chicken-users] Installing chicken on windows

2016-07-08 Thread Dan Leslie
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

Re: [Chicken-users] Installing chicken on windows

2016-07-08 Thread Dan Leslie
It reads to me like Chicken needs an automated builder for the Windows package.

Re: [Chicken-users] big prime number

2016-01-24 Thread Dan Leslie
ot less allocation, which in turn means a lot less > garbage collections need to be performed. So again many thanks to Felix > for pushing me to make all operators have inlineable C functions! I am very much looking forward to Chicken 5. :D -Dan signature.asc De

Re: [Chicken-users] Scraping the REPL?

2016-01-24 Thread Dan Leslie
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 <alex.n.charl...@gmail.com> writes: > Hi James, > > The best thing that I've found for c

Re: [Chicken-users] functor implementation of bindings egg

2016-01-16 Thread Dan Leslie
Could you perhaps motivate with some sample code? Thanks, -Dan Juergen Lorenz <j...@jugilo.de> 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 > li

Re: [Chicken-users] Need help to figure out where this strange performance impact is coming from

2016-01-13 Thread Dan Leslie
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

Re: [Chicken-users] Distributed-concurrent computing: If Erlang is a 10. . .

2016-01-08 Thread Dan Leslie
Perhaps you could motivate regarding which Erlang features you find desirable? -Dan Lawrence Bottorff <borg...@gmail.com> writes: > . . . where might Chicken be concerning distributed-concurrent programming? > How close to Erlang's perfect 10 can you get with Chicken. Of course

Re: [Chicken-users] another egg

2016-01-04 Thread dan
#;2> (case 'a (('a) 1) (('b) 2) (else #f)) #f #;3> (case 'a ((a) 1) ((b) 2) (else #f)) 1 #;4> -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] another egg

2016-01-04 Thread dan
ase 'a ('a 1) ('b 2) (else #f)) 1 And just to be thorough: #;1> (case 'a (a 1) (b 2) (else #f)) Error: (map) during expansion of (case ...) - bad argument type - not a list: a -Dan ___ Chicken-users m

Re: [Chicken-users] Any decent web development framework

2015-12-27 Thread Dan Leslie
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 <linjunhal...@gmail.com> writes: > Hi scheme users, > > I'm a rails programmer, and knows schem

Re: [Chicken-users] Xmas Greetings

2015-12-24 Thread Dan Leslie
*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

Re: [Chicken-users] January 2016 Lisp Game Jam

2015-12-21 Thread Dan Leslie
Sly is much higher level than Allegro or SDL; it's probably most comparable to Doodle or Hypergiant. -Dan Josh Barrett <jbarrett...@gmail.com> writes: > Has anybody tried guile's Sly? If so, how does it stack up to chicken's... > Variety of libraries? > > On Mon, Dec 21

Re: [Chicken-users] Emacs Geiser trouble

2015-12-19 Thread Dan Leslie
implementation quote chicken) 2. Or, and this is a superior method if you intend to work with others, you could declare to Emacs what Scheme the file is for by placing this comment at the top of the file: ;; -*- geiser-scheme-implementation: 'chicken -*- Happy Hacking! -Dan Lawrence Bottorf

[Chicken-users] Building on MSYS2

2015-12-11 Thread dan
ys install Any thoughts? Thanks, -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Building on MSYS2

2015-12-11 Thread Dan Leslie
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, d

Re: [Chicken-users] reducing the size of chicken runtime

2015-11-19 Thread Dan Leslie
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

Re: [Chicken-users] New SDL2 eggs; help wanted

2015-11-04 Thread Dan Leslie
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

Re: [Chicken-users] Which API to use (llrb)?

2015-10-29 Thread Dan Leslie
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

Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-16 Thread Dan Leslie
It looks to me like a bad type cast. -Dan

[Chicken-users] ANN: [geiser] Version 0.8

2015-10-12 Thread Dan Leslie
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

Re: [Chicken-users] ANN: [geiser] Version 0.8

2015-10-12 Thread Dan Leslie
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

Re: [Chicken-users] performance of bignums

2015-06-25 Thread Dan Leslie
SBCL is Public Domain/MIT/BSD, depending on the component. GMP is dual licensed as LGPL3 and GPL2. The licensing issues would impact those who distribute binaries built with SBCL, but only if they are statically linked to GMP. -Dan Stephen Eilert spedr...@gmail.com writes: On Thu, Jun 25

[Chicken-users] Some syntax help?

2015-05-02 Thread Dan Leslie
would be appreciated. :D Thanks! -- -Dan Leslie ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Some syntax help?

2015-05-02 Thread Dan Leslie
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

[Chicken-users] A (somewhat) useful define-syntax example

2015-04-26 Thread Dan Leslie
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

Re: [Chicken-users] IDE for Beginners

2015-04-23 Thread Dan Leslie
Hi Jeremy, I'd be happy to make Emacs + Geiser work better on Windows. It would be a great first step if you could file a bug on the Geiser GitHub page that reports the issue in detail. From there you can track the progress as I whittle away at it. -Dan Jeremy Steward jer...@thatgeoguy.ca

Re: [Chicken-users] [Chicken-hackers] Any thoughts on performance woes?

2015-04-07 Thread Dan Leslie
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

Re: [Chicken-users] [Chicken-hackers] Any thoughts on performance woes?

2015-04-07 Thread 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

[Chicken-users] Any thoughts on performance woes?

2015-04-06 Thread Dan Leslie
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

Re: [Chicken-users] Updating the zmq egg

2015-03-05 Thread 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

Re: [Chicken-users] Updating the zmq egg

2015-03-05 Thread Dan Leslie
You might want to consider the nanomsg egg, which doesn't appear to have a wiki page yet. https://github.com/Adellica/chicken-nanomsg -Dan Matt Gushee m...@gushee.net writes: Hello, folks-- I am developing a distributed application for which I would like to use ZeroMQ. I've discovered

Re: [Chicken-users] how to unintern a symbol

2015-02-02 Thread Dan Leslie
Is that a function composition function I spy? I wasn't aware of such a thing in R5RS or R7RS, is it a chicken extension or a part of one of the Unity libraries? Thanks! -Dan Peter Bex pe...@more-magic.net writes: On Mon, Feb 02, 2015 at 10:51:26AM -0700, Alexej Magura wrote: Does Chicken

Re: [Chicken-users] updating eggs

2014-12-17 Thread Dan Leslie
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

Re: [Chicken-users] Installing combinatorics - cock missing

2014-12-15 Thread Dan Leslie
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

Re: [Chicken-users] Replace an element in a list

2014-12-13 Thread Dan Leslie
*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

Re: [Chicken-users] IDE for Beginners

2014-12-11 Thread Dan Leslie
that you have chicken-doc installed and configured. At present, I am working on Geiser integration for Chicken Scheme that, once completed, will be far superior to what is presently available for Chicken on newer Emacs. Keep an eye on this list; once it's done I'll send an announcement. -Dan On 14

Re: [Chicken-users] how to Find list of ALL standard procedures available from csi

2014-12-05 Thread Dan Leslie
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

Re: [Chicken-users] Working on Geiser integration

2014-11-23 Thread Dan Leslie
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

Re: [Chicken-users] Portable installs broken?

2014-04-06 Thread Dan Leslie
*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

Re: [Chicken-users] Portable installs broken?

2014-04-06 Thread Dan Leslie
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

Re: [Chicken-users] Portable installs broken?

2014-04-06 Thread Dan Leslie
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

Re: [Chicken-users] Portable installs broken?

2014-04-06 Thread Dan Leslie
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

Re: [Chicken-users] Portable installs broken?

2014-04-06 Thread Dan Leslie
, building from the same directory as the source resolved all of the issues. Here's hoping Oleg's cmake branch comes together soon. :) -Dan On 14-04-06 08:55 AM, Daniel Leslie wrote: I'm trying to create a 'portable' distribution of chicken and am running into a simple issue. Basically, the built

Re: [Chicken-users] Nevermind--Re: Problem with read-line

2013-12-07 Thread Dan Wilckens
On 12/5/2013 5:50 PM, Dan Wilckens wrote: On 12/4/2013 7:01 PM, Dan Wilckens wrote: Hi, I built Chicken 4.8.0.5 from source on the mingw-msys platform (under windows vista). After attempting to port and debug a program I wrote originally for Gambit scheme it seems that I've run into an issue

[Chicken-users] Nevermind--Re: Problem with read-line

2013-12-05 Thread Dan Wilckens
On 12/4/2013 7:01 PM, Dan Wilckens wrote: Hi, I built Chicken 4.8.0.5 from source on the mingw-msys platform (under windows vista). After attempting to port and debug a program I wrote originally for Gambit scheme it seems that I've run into an issue with the read-line command

[Chicken-users] Problem with read-line

2013-12-04 Thread Dan Wilckens
-installed sfri-34. I think the other two extensions I use (sfri-69 and irregex) were already installed. Thanks for any help you can provide! Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken

Re: [Chicken-users] Multiple concurrent top levels?

2013-08-02 Thread Dan Leslie
and passing it to another, for instance. I've tried doing such things with multiple processes using a mix of shared memory objects and pipes, but it was ludicrously cumbersome, despite a few eggs I wrote to alleviate the process. -Dan ___ Chicken

Re: [Chicken-users] Multiple concurrent top levels?

2013-08-02 Thread Dan Leslie
Chibi grant you? -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] Multiple concurrent top levels?

2013-08-01 Thread Dan Leslie
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 ___ Chicken

Re: [Chicken-users] call Chicken Scheme from C and pass a bytevector

2013-06-27 Thread Dan Leslie
functions to be mutated. -Dan On 6/27/2013 10:07 AM, Claude Marinier wrote: Hi, A function in pcap-interface.c calls Chicken Scheme. It builds a vector containing a bunch of things, e.g. C_fix(ethtype), and the source and destination addresses as vectors. The scheme code converts the address

Re: [Chicken-users] dynamic scoping

2013-06-26 Thread Dan Leslie
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

Re: [Chicken-users] dynamic scoping

2013-06-26 Thread Dan Leslie
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

Re: [Chicken-users] how to declare foreign variably size structs?

2013-06-20 Thread Dan Leslie
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

Re: [Chicken-users] Behind the Scenes with CHICKEN Scheme (Part 1)

2013-06-19 Thread Dan Leslie
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: http://spin.atomicobject.com/2013/05/02

Re: [Chicken-users] Chicken C interface

2013-06-06 Thread Dan Leslie
was constructing inside of a foreign-safe-lambda call were sitting at top-level in application instances that were running for quite an extended time, and themselves were frequently referenced. (IE, a foreign-safe-lambda constructed Color would be referenced as the clear-color repeatedly). -Dan

Re: [Chicken-users] help :)

2013-06-05 Thread Dan Leslie
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

Re: [Chicken-users] Chicken C interface

2013-06-05 Thread Dan Leslie
macro to patch it all together. -Dan On 6/5/2013 8:10 AM, pluijzer . wrote: Hello everybody, I was planning to use Chicken Scheme in a fashion more similar to Guile and Lua. i.e. passing Scheme Data Objects from Chicken to C and back using the C interface. I am a little confused though

Re: [Chicken-users] Chicken C interface

2013-06-05 Thread Dan Leslie
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

Re: [Chicken-users] Chicken C interface

2013-06-05 Thread Dan Leslie
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

Re: [Chicken-users] set! atomic?

2013-06-04 Thread Dan Leslie
at process forking. posix, posix-shm, posix-semaphore and lolevel's object-evict (or the new protobuf) should be helpful in this regard. -Dan On 13-06-04 07:15 PM, Bryan Vicknair wrote: SRFI-18 states: Read and write operations on the store (such as reading and writing a variable

Re: [Chicken-users] Protocol Buffers for CHICKEN

2013-05-28 Thread Dan Leslie
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

Re: [Chicken-users] Protocol Buffers for CHICKEN

2013-05-28 Thread Dan Leslie
Huh, now that is useful! https://wiki.call-cc.org/man/4/Unit%20lolevel#object-evict Still, if I ever have call to use pshm for ipc between chicken and not-chicken workers then this egg would probably be useful. Thanks again, -Dan On 5/28/2013 5:24 PM, Thomas Chust wrote: On 2013-05-29 00:32

[Chicken-users] windows and sdl-config

2013-05-27 Thread dan j
I tried to install sdl egg (same thing with sdl-base) and it's setup script calls sdl-config just as sdl-config --some-arg. sdl-config is bash script, so means on windows we can't just call it. Is better to check for bash presence and use command like bash sdl-config --some-args. P.S. still

[Chicken-users] bb - fix needed

2013-05-19 Thread dan j
Egg named bb (GUI toolkit) uses getenv in setup script, but documentation says: getenv was removed in Chicken 4.6.4. Use get-environment-variable instead.. I founded this when i tried to install bb. Log: B:\home\chicken-install bb retrieving ... connecting to host

Re: [Chicken-users] A couple of questions

2013-05-11 Thread Dan Leslie
http://wiki.call-cc.org/eggref/4/soil http://wiki.call-cc.org/eggref/4/physicsfs Disclaimer: I am the author of the soil, allegro and physicsfs eggs. Patches are welcome! -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https

Re: [Chicken-users] Best way to share memory between C and Chicken

2013-05-06 Thread Dan Leslie
! -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Best way to share memory between C and Chicken

2013-05-05 Thread Dan Leslie
/2007/05/24/semaphores-in-linux.html?page=5 -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Best way to share memory between C and Chicken

2013-05-04 Thread Dan Leslie
this would be a good opportunity to get used to Git via a GitHub project? ;) Thanks, -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Best way to share memory between C and Chicken

2013-05-03 Thread Dan Leslie
-cc.org/man/4/Unit%20srfi-4 Keep in mind that foreign-lambdas will take blob and srfi-4 vectors as parameter types and convert them to their relevant C types without undertaking a copy. https://wiki.call-cc.org/man/4/Accessing%20external%20objects -Dan On 5/3/2013 11:04 AM, Pedro Melendez wrote

Re: [Chicken-users] Best way to share memory between C and Chicken

2013-05-03 Thread Dan Leslie
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

Re: [Chicken-users] Best way to share memory between C and Chicken

2013-05-03 Thread Dan Leslie
around a bit but haven't had much time to progress very far. I'm hesitant to take responsibility for writing a semaphore egg, but what the hell. I'll start something on GitHub this weekend. -Dan On 5/3/2013 4:22 PM, Ivan Raikov wrote: Are you talking about POSIX semaphores, sem_wait(3

Re: [Chicken-users] new egg: glm

2013-04-15 Thread Dan Leslie
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

Re: [Chicken-users] egg documentation with subpages

2013-04-15 Thread Dan Leslie
the documentation. Thanks! -Dan On 4/15/2013 3:41 PM, Jim Ursetto wrote: 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

Re: [Chicken-users] Chicken Scheme Doc

2013-03-04 Thread Dan Leslie
://wiki.call-cc.org/man/4/Unit%20lolevel -Dan On 3/4/2013 3:04 PM, Bruno Arruda wrote: Hi, I was looking for a reference documentation of native procedures in Scheme, but I found nothing. Please, where can I find this? Thanks! ___ Chicken-users mailing

Re: [Chicken-users] New string manipulation module

2013-02-21 Thread Dan Leslie
. That would be incredibly handy. -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] New string manipulation module

2013-02-21 Thread Dan Leslie
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

Re: [Chicken-users] New string manipulation module

2013-02-20 Thread Dan Leslie
and the contribution! And welcome to Chicken-land, come join us on IRC if you get a chance. Thanks, -Dan On 2/20/2013 9:36 AM, Nicholas Van Horn wrote: I'm new to Chicken (and scheme for that matter), but I'm eager to contribute. I've been working on several text processing projects for which

Re: [Chicken-users] There are (module)s and there are (declare (unit s))...

2009-12-10 Thread Dan Liebgold
, but there are quite a few varibles. Dan On Thu, Dec 10, 2009 at 6:17 PM, John Cowan co...@ccil.org wrote: Stephen Eilert scripsit: So far, I am using a combination of modules and includes. IMHO, units are effectively obsolete unless you are dealing with such large volumes of code that Chicken/gcc can't

Re: [Chicken-users] syntax-case and Chicken 4.2.0

2009-11-11 Thread Dan Liebgold
rewriting as an option.) Dan On Tue, Nov 10, 2009 at 7:19 PM, John Cowan co...@ccil.org wrote: Dan Liebgold scripsit: I probably have something obvious wrong, but after installing the syntax-case egg in Chicken 4.2.0 I can't require it, and I can't make sense of the error: Chicken 4.x doesn't

  1   2   >