Re: Updated Allegro egg for Chicken 5, and other notes

2024-07-02 Thread Dan Leslie
Winkelmann Version 5.4.0rc2 ((HEAD detached at 5.4.0rc2)) (rev af93a853) mingw32-windows-gnu-x86-64 [ 64bit dload ptables ] Thanks! -Dan

Updated Allegro egg for Chicken 5, and other notes

2024-07-01 Thread Dan Leslie
all it irrecoverably breaks chicken-install, requiring a complete fresh reinstall of Chicken to get it working again. It appears that installing a dependency, check-errors, is the root of the issue. I've attached a screenshot of the offending error. -Dan Leslie

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-1

[Chicken-users] Monad ported to Chicken 5

2019-08-21 Thread Dan Leslie
1: https://raw.githubusercontent.com/dleslie/monad-egg/master/monad.chicken-5.release-info A special thanks to Alice Maz, and thank-you to the Chicken team! -Dan Sent with [ProtonMail](https://protonmail.com) Secure Email.___ Chicken-users mailing list Chi

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:

Re: [Chicken-users] Auto CompletionProblems

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

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

2019-02-11 Thread Dan Leslie
ken-5.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

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

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, >

[Chicken-users] Geiser now has Chicken 5 Support

2018-11-12 Thread Dan Leslie
good jump-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/mailma

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

2017-12-13 Thread Dan Leslie
ective. I 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 wrote: > Thanks to some quality bug reporting the Geiser support for Chicken > has been greatly sped up. Overall typing speed and comp

[Chicken-users] Geiser support improved

2017-12-10 Thread Dan Leslie
me implementations, 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: &

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 wrote: > Hello, I need to make my bachelor thesis in CS and was looking for > ideas

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 Cc: chicken

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 a

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; t

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
... and to use chicken-status and chicken-install you need to set these two environment variables: CHICKEN_PREFIX=C:\msys64\usr\local\ CHICKEN_REPOSITORY=C:\msys64\usr\local\lib\chicken\8 I've added instructions to the wiki. http://wiki.call-cc.org/msys2 -Dan On 2016-07-09 5:38 PM, Dan L

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. > > Her

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 <mailto:mattrwell...@gmail.com>> wrote: > > > Oh, as an aside, it would be fantastic to have IUP be just as easy > t

Re: [Chicken-users] Installing chicken on windows

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

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 writes: > Hi James, > > The best thing that I've found for creating "living"

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 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 additional

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,

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 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 even

Re: [Chicken-users] another egg

2016-01-04 Thread dan
it is the case: #;1> (case '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

Re: [Chicken-users] another egg

2016-01-04 Thread dan
n) "4.10.1" #;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] 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 writes: > Hi scheme users, > > I'm a rails programmer, and knows scheme long time ago but don'

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 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,

Re: [Chicken-users] Emacs Geiser trouble

2015-12-19 Thread Dan Leslie
ote ((geiser-scheme-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 H

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

[Chicken-users] Building on MSYS2

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

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] red

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 recently

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

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

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

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

2015-10-12 Thread Dan Leslie
regular expressions, it seems. Enjoy! And please do keep filing issues. -Dan jao writes: > Improved features: > > - Lots of improvements to Chicken support, by Dan Leslie. > - Better interoperability with xscheme. > - Much better performance for long lists of completions or

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 writes: > On Thu, Jun 25, 2015 at 4:50

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

Re: [Chicken-users] Some syntax help?

2015-05-02 Thread Dan Leslie
the module body when you compile a program that uses it. *facepalm* That would do it, yes. I mistakenly thought that (syntax) would notify Chicken that the egg contained syntax definitions. :/ Thank-you again! This egg was my first real foray into playing with Chicken'

[Chicken-users] Some syntax help?

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

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

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

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

2015-04-07 Thread Dan Leslie
ndeavour to me. It saddens me that you aren't writing so 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

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

2015-04-07 Thread Dan Leslie
Peter Bex 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
there are many Chicken programmes that may benefit from any form of optimization that could be had from `map`. -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 writes: > On Thu, Mar 5, 2015 at 6:18 PM, Dan Leslie 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 writes: > Hello, folks-- > > I am developing a distributed application for which I would like to use > ZeroMQ. I've dis

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 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 of

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 <mailto:bah...@bahmanm.com>> wro

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 "

Re: [Chicken-users] IDE for Beginners

2014-12-11 Thread Dan Leslie
provided 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 an

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 rega

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 is

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
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 op

Re: [Chicken-users] Portable installs broken?

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

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

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

[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 co

[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-users

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

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

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

2013-08-02 Thread Dan Leslie
have in mind would probably be helpful. Extracting a scheme-object from one Scheme instance 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 i

[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
eters to C 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 t

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

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

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 wrote: An interview with Felix Winkelmann, the author of CHICKEN: http://spin.atomicobject.com/2013/05/02/chicken-scheme-part-1

[Chicken-users] ANN: posix-safe-mem

2013-06-12 Thread Dan Leslie
ble: https://github.com/dleslie/posix-safe-mem-egg/blob/master/tests/run.scm Please file bugs on github, it would be appreciated! But do please keep it congenial and pleasant. :) Thanks, -Dan ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] Chicken C interface

2013-06-06 Thread Dan Leslie
cts I 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 repeatedl

Re: [Chicken-users] Chicken C interface

2013-06-05 Thread Dan Leslie
Thanks, I'll get on updating my broken eggs soon. -Dan On 6/5/2013 2:39 PM, Felix wrote: From: "pluijzer ." Subject: [Chicken-users] Chicken C interface Date: Wed, 5 Jun 2013 17:10:41 +0200 Hello everybody, I was planning to use Chicken Scheme in a fashion more similar t

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 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 egg.

Re: [Chicken-users] Chicken C interface

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

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] set! atomic?

2013-06-04 Thread Dan Leslie
you'll want to look 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 rea

Re: [Chicken-users] SPRING THING 2013 has ended.

2013-05-29 Thread Dan Leslie
I have friends in San Fran that are long overdue for a visit. -Dan On 5/29/2013 9:17 AM, Thomas Hintz wrote: On Wed, May 29, 2013 at 9:02 AM, Thomas Hintz wrote: CHICKEN U.S. San Francisco? :-) Seriously though I would be glad to organize a San Fransisco CHICKEN if a few people are

Re: [Chicken-users] SPRING THING 2013 has ended.

2013-05-29 Thread Dan Leslie
Chicken CA Vancouver? ;) -Dan Thomas Hintz wrote: >On Wed, May 29, 2013 at 5:02 AM, Moritz Heidkamp > wrote: >> Hello! >> >> Christian Kellermann writes: >>> I am sad to say that the CHICKEN Spring Thing 2013 is over. I hope >>> everyone had a safe

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

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

[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. stil

[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 "chicken.kitten-techn

Re: [Chicken-users] A couple of questions

2013-05-11 Thread Dan Leslie
ttp://wiki.call-cc.org/eggref/4/allegro/index 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-user

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

2013-05-06 Thread Dan Leslie
nt GC behaviour! -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
linuxdevcenter.com/pub/a/linux/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
if its incomplete. Maybe 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-04 Thread Dan Leslie
, but I'll write some docs and examples when I get a chance; however bug reports and pull requests are always welcome. -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
ve been digging 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 POS

  1   2   3   >