Re: [Chicken-users] Anyone up for porting Termite to Chicken?

2008-05-21 Thread Mark Fredrickson
On May 20, 2008, at 8:04 PM, Ivan Raikov wrote: Answers embedded below: Alaric Snell-Pym <[EMAIL PROTECTED]> writes: Well, as far as I can tell, MPI seems to have a fairly static view of the world as having a fixed number of processes in it upon startup, so the following (in Erlang) comes

Re: [Chicken-users] using the compiler at runtime

2008-11-11 Thread Mark Fredrickson
While this is probably not what you are looking for, there is always (system "csc -s path/to/file.scm"). This should help with issues of using (eval ...). You can (write ...) your code to a temp file, run csc on it, and (load ...) the .so. If you are trying to compile a closure, I'm not sur

[Chicken-users] Readline

2008-11-12 Thread Mark Fredrickson
Hello, Does the readline egg have an active maintainer? I'm trying to add file globbing to the completions, and I have a very basic patch. I'm thinking of creating a little completion callback API and I'd like to coordinate with the maintainer. Cheers, -Mark ___

Re: [Chicken-users] Readline

2008-11-13 Thread Mark Fredrickson
Do I need to updated repo perms? I tried to check into the readline directory and got denied (probably a good thing). My username is "mfredrickson" Thanks in advance! -Mark On Thu, Nov 13, 2008 at 6:28 AM, felix winkelmann <[EMAIL PROTECTED]> wrote: > On Thu, Nov 13, 20

Re: [Chicken-users] Choosing a programming language for a web project

2007-10-01 Thread Mark Fredrickson
> FWIW, Peter, I also have a mini-framework I've been meaning to eggify. > I wonder how many of us have rolled their own? I too would like to see them. Even if not in an egg form. An example app would be good enough for me. Perhaps the classic Reddit clone? I've been looking at some Lisp framework

Re: [Chicken-users] On parameterize and fluid-let

2007-10-15 Thread Mark Fredrickson
On 10/15/07, Tobia Conforto <[EMAIL PROTECTED]> wrote: > Mark Fredrickson wrote: > > ... we can see the macro expansion of parameterize using dynamic-wind. > > Dynamic-wind will call the function g6 before and after control enters > > or leaves the thunk, by call/

Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-29 Thread Mark Fredrickson
> I think it would suffice for daemonize to wrap the call to the daemon's > main procedure in a dynamic-wind block and call the cleanup function > from the exit thunk. Unless the daemon procedure terminates itself with > a low-level _exit or by sending itself a kill signal, the cleanup code > shoul

Re: [Chicken-users] Re: Style Guide

2007-11-05 Thread Mark Fredrickson
> William Ramsay wrote: > > Is there such a thing as a Chicken/Scheme style guide? [...] If there > > is such a thing as teaching an old dog new tricks I'd like to try. > > Your last sentence makes me think that you're referring to algorithm > design, not mere syntax style. Things like learning to

[Chicken-users] SRFI-1

2007-12-22 Thread Mark Fredrickson
Is there an egg for SRFI-1? Google searches show nothing, and eggs unlimited does not appear to have a SFRI-1 implementation on hand. Without having tried it, I'm guessing http://srfi.schemers.org/srfi-1/srfi-1-reference.scm will probably work. Am I being thick? Does everyone just write their own

Re: [Chicken-users] SRFI-1

2007-12-23 Thread Mark Fredrickson
Thanks for the pointer. I had tried that. I assumed the error message I received indicated said extension did not exist. Actually, it's a well documented issue on OS X when using macports: http://chicken.wiki.br/platforms#Fixing%20libchicken.dylib I made the link and now I have access to all the

[Chicken-users] Some pointers on easyffi and interfacing with C code

2008-01-10 Thread Mark Fredrickson
Hello Chicken expertgenzia, In attempt to broaden my knowledge of Chicken, I'm attempting to create an egg for the GEOS C library[1]. My first cut has been to use easyffi, and I'm pleased with the results. With minimal hacking at the GEOS API header[2] I've been able to see some results. No

Re: [Chicken-users] Some pointers on easyffi and interfacing with C code

2008-01-15 Thread Mark Fredrickson
A quick thank you to everyone who responded. Those tips helped immensely. When starting out with a new system, not only does one need questions answered, you need to know what questions to ask! I'd like to *think* I'm on better ground for both of those items. Cheers, -M _

Re: [Chicken-users] repository branching

2008-01-20 Thread Mark Fredrickson
SVN external definitions *might* be what you want, though this particular application sounds gruesome. Externals are roughly the equivalent of symbolic links: a given directory in one repository/branch actually points at another repository/branch. Managing them for 300+ eggs sounds like a nightmare

Re: [Chicken-users] advice egg

2008-01-22 Thread Mark Fredrickson
Lordy! Does Felix ever sleep? -M On Jan 22, 2008 3:58 PM, felix winkelmann <[EMAIL PROTECTED]> wrote: > Hi! > > > Another egg freshly available: advice > > http://chicken.wiki.br/advice > > > cheers, > felix > > > ___ > Chicken-users mailing list > Chic

Re: [Chicken-users] SICP study group

2008-01-24 Thread Mark Fredrickson
How fortuitous! My local (Minneapolis, MN, USA) functional languages group is starting a SICP read-along on a similar schedule. I'll pass this along. And if anyone is in the Twin Cities area and would like to join up to watch the videos, let me know. Our first viewing will be on Feb 11th.

[Chicken-users] Runtime arity?

2008-01-29 Thread Mark Fredrickson
Is it possible to determine at run time the arity of function? I'm thinking something like (arity (lambda (x y z) (* x y z))) => 3 Something that could also inform me about "rest" params would useful too. My searching of the wiki has turned up no info. Thanks in advance, -Mark ___

Re: [Chicken-users] Runtime arity?

2008-01-29 Thread Mark Fredrickson
Thanks for the info, Kon. I've created a ticket to track this: http://trac.callcc.org/ticket/417 For now, I'll just special case for my needs. Cheers, -M On Jan 29, 2008 12:52 PM, Kon Lovett <[EMAIL PROTECTED]> wrote: > > On Jan 29, 2008, at 10:37 AM, John Cowan wrote: > > > Graham Fawcett scri

Re: [Chicken-users] Re: A few questions

2008-01-31 Thread Mark Fredrickson
a third possibility is similar to whats in place already... have explicitly named elements of an associated proplist with each var/func, optionally. I assume you mean extending (declare (exports )) to something like (declare (exports ((square ((required int) (docstring "Returns t

Re: [Chicken-users] Comprehensive documentation rewrite

2008-02-12 Thread Mark Fredrickson
Perhaps before we decide where data should live, what format, etc, we should come up with a list of requirements that we want to meet? Here's my attempt at cataloging what I've heard so far: 0. Data should not be duplicated. Duplicated data will get out of date, fork, etc. 1. Data should be easy t

Re: [Chicken-users] egg documentation

2008-02-12 Thread Mark Fredrickson
This idea dove tails with discussion last week of providing docstrings for lambdas. Felix pointed out that there is a hook to capture lambda documentation. Will this work for documenting eggs, which might also have data types, parameters, other info? Texi seems like a reasonable standard to me, FW

[Chicken-users] Compromise Hackathon Doc Proposal

2008-02-13 Thread Mark Fredrickson
Hi all, I still think focusing on documentation is still a good idea for a Hackathon goal, even if it has proven divisive. While I certainly have opinions on the subject, I'd like to propose a compromise to keep us moving forward. 1. Our primary focus is on updating documentation where it

Re: [Chicken-users] Compromise Hackathon Doc Proposal

2008-02-14 Thread Mark Fredrickson
Good idea. Could you please add these points to the wiki page? Added. I also added an additional hackathon goal of improving Chicken's performance on the PL Shootout. I know there was some noise around that in previous weeks, but I don't know where it ended up. -M __

Re: [Chicken-users] YADT: yet another documentation thread

2008-02-15 Thread Mark Fredrickson
I disagree that new users should know how to put together a R5RS environment with Chicken. As a new user of Chicken, my concern was not with standards-conforming code; my concern was how to get code to work using the functional programming idioms I had learned from Standard ML. With a high pro

Re: [Chicken-users] Re: YADT: yet another documentation thread

2008-02-18 Thread Mark Fredrickson
On Feb 18, 2008, at 12:45 PM, Peter Bex wrote: On Sat, Feb 16, 2008 at 05:03:47PM -0500, Graham Fawcett wrote: The CL community has a "My Road to Lisp" meme, where CL users write up a quick story on how they "arrived". I'd *love* to hear people's My Road to Chicken stories. Pre-universit

[Chicken-users] ANN: new egg, Stacktor

2008-02-18 Thread Mark Fredrickson
Hi all, I'm happy to announce my first egg: Stacktor. Stacktor is a DSL for programming in a stack based style, like languages such as Forth or Factor. The idea came from a talk at my local Ruby user's group by Slava Pestov on Factor. While I know Slava likes Lisp/Scheme, he made an offha

Re: [Chicken-users] Chicken For Ruby Programmers

2008-02-19 Thread Mark Fredrickson
Hi Raymond, On Feb 19, 2008, at 7:16 PM, Raymond Medeiros wrote: Hi, myself and my friend Liam Irish were considering working on this portion of the hack-a-thon. So I'm throwing it out there, I noticed that Mark Fredrickson is already on the list for Ruby. Great! I know Peter Bex

Re: [Chicken-users] Chicken For Ruby Programmers

2008-02-19 Thread Mark Fredrickson
Hi Raymond, I've added my 1st draft presentation outline: https://galinha.ucpel.tche.br/cgi-bin/svnwiki/default/chicken-for-ruby-programmers This is just my rambling thoughts on what my Ruby group might be interested in. On Feb 19, 2008, at 9:37 PM, raymond medeiros wrote: I actually have a

[Chicken-users] Benchmark game: binary-trees

2008-02-23 Thread Mark Fredrickson
Hi Isaac, I'm bothering you because I'm under the impression you are an insider at the PL benchmark game. If I'm wrong, feel free to disregard. Can you comment on why Chicken's binary tree implementation is listed as "no program" http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?