[Chicken-users] Re: utf8 open tickets

2011-01-16 Thread Alex Shinn
Hi, sorry for the delay. On Sat, Jan 15, 2011 at 12:30 AM, .alyn.post. alyn.p...@lodockikumazvati.org wrote: I have two open tickets against the utf8 egg:  https://bugs.call-cc.org/ticket/423 I haven't decided how to handle this yet, but it will probably result in splitting all of the utf8

Re: [Chicken-users] 4.6.3 - regex behavior seems wrong

2010-12-27 Thread Alex Shinn
2010/12/28 Matt Welland estifo...@gmail.com: I'm using the regex egg in 4.6.3 (use regex) Regexs seem to have implict ^ and $ at the start and end. This differs most most regex implementations I'm familiar with. ^\\s+# should match the line # Hello but does not. match matches the entire

Re: [Chicken-users] loopy-loop

2010-12-21 Thread Alex Shinn
On Mon, Dec 20, 2010 at 1:45 AM, Hugo Arregui hugo.arre...@gmail.com wrote: Hi guys, I'm facing an unexpected behaviour using loopy-loop: Is there a reason you're using loopy-loop instead of the newer fast-loop? shows 6,5 as expected, but: (loop lm ((m - in-range-reverse 6 4))      (print

Re: [Chicken-users] tokyocabinet egg: table API

2010-12-21 Thread Alex Shinn
On Wed, Dec 22, 2010 at 5:46 AM, Sven Hartrumpf hartru...@gmx.net wrote: I use the tokyocabinet egg from time to time. In the uploaded version, there is only support for the hash API (tch), not for the table API (tct). Does anybody have a table API (I need only tc-tdb-open, tc-tdb-close, and

Re: [Chicken-users] loopy-loop

2010-12-21 Thread Alex Shinn
On Wed, Dec 22, 2010 at 10:54 AM, Hugo Arregui hugo.arre...@gmail.com wrote: On Tue, Dec 21, 2010 at 10:44 PM, Alex Shinn alexsh...@gmail.com wrote: On Mon, Dec 20, 2010 at 1:45 AM, Hugo Arregui hugo.arre...@gmail.com wrote: Hi guys, I'm facing an unexpected behaviour using loopy-loop

Re: [Chicken-users] jbogenturfa'i compile time down to 12 minutes

2010-12-03 Thread Alex Shinn
On Wed, Dec 1, 2010 at 12:45 PM, Felix fe...@call-with-current-continuation.org wrote: From: Alan Post alanp...@sunflowerriver.org Subject: [Chicken-users] jbogenturfa'i compile time down to 12 minutes Date: Wed, 1 Dec 2010 09:33:07 -0700 I will be more than happy to thoroughly test any

Re: [Chicken-users] utf8 and string-ref performance

2010-11-24 Thread Alex Shinn
On Wed, Nov 24, 2010 at 7:37 AM, Alan Post alanp...@sunflowerriver.org wrote: If possible, I would like to parse utf8 input.  I currently have utf8 enabled in my egg. [...] Can anyone point me in the right direction? Parsing is generally one of the things you get for free with utf8. Probably

Re: [Chicken-users] keyword args not assigned in program.

2010-11-20 Thread Alex Shinn
On Sat, Nov 20, 2010 at 5:59 AM, Alan Post alanp...@sunflowerriver.org wrote: It appears that directly evaluating the result of the compiler causes #!key arguments not to be assigned, but if I save that same result and read it back in, things work fine. Seeing the compiler would help, but

Re: [Chicken-users] using mmap files as strings?

2010-10-22 Thread Alex Shinn
Peter Bex peter@xs4all.nl writes: On Fri, Oct 22, 2010 at 06:20:01AM -0400, Felix wrote: I'm specifically interested in running regular expressions across the mmap space. irregex provides a chunk based API, perhaps it is possible to define chunks over the data represented by the

Re: [Chicken-users] Using irregex safely responsibly

2010-10-11 Thread Alex Shinn
Jim Ursetto zbignie...@gmail.com writes: I agree with Peter, the /default procedures seem like a needless abstraction as a totally unambiguous #f is common practice. For example, srfi-13 string-index. No, in retrospect I'm not sure why I didn't suggest that to begin with - I think I've been

Re: [Chicken-users] Using irregex safely responsibly

2010-10-10 Thread Alex Shinn
Jim Ursetto zbignie...@gmail.com writes: There is some inconsistency in the docs: irregex-match-num-submatches: Returns the number of numbered submatches that are defined in the irregex or match object. irregex-match-valid-index?: Returns {{#t}} iff the {{index-or-name}} named submatch or

Re: Removing deprecated wiki-parse egg from the repository [Was: Re: [Chicken-users] More on Packaging eggs]

2010-10-08 Thread Alex Shinn
attempt to tweak what was originally a parser by Alex Shinn for mediawiki syntax, so that it could read svnwiki syntax. If Alex still wants to support it (I wouldn't recommend it, we've hacked this egg beyond all recognition), he could remove this marking. I'd just delete the egg from the repo

Re: [Chicken-users] dev-snapshot 4.6.3

2010-10-06 Thread Alex Shinn
John Cowan co...@ccil.org writes: On Wed, Oct 6, 2010 at 8:58 AM, Felix fe...@call-with-current-continuation.org wrote: - the `regex' library unit has been removed and is separately available as an extension which should be fully backwards- compatible - `irregex' is now a core library

[Chicken-users] Chicken Gazette - Issue 5

2010-09-27 Thread Alex Shinn
is used; dependencies on regex unit not in egg repo, though), upgraded irregex version, many upstream bug-fixes and optimizations, with many thanks to Peter Bex (http://wiki.call-cc.org/users/peter-bex) and Alex Shinn (http://wiki.call-cc.org/users/alex-shinn). And thanks to Felix for help

Re: [Chicken-users] Autoloading optional dependencies

2010-09-14 Thread Alex Shinn
Felix fe...@call-with-current-continuation.org writes: From: Alaric Snell-Pym ala...@snell-pym.org.uk If there's macros involved, yes - but then autoloading macros makes no sense as they're loaded at compile time anyway. When you set up an autoload, no compile-time loading happens (no

Re: [Chicken-users] Autoloading optional dependencies

2010-09-14 Thread Alex Shinn
On Wed, Sep 15, 2010 at 2:01 AM, Felix fe...@call-with-current-continuation.org wrote: From: Alex Shinn alexsh...@gmail.com Subject: Re: [Chicken-users] Autoloading optional dependencies Date: Wed, 15 Sep 2010 00:16:11 +0900 The only problem with this is you'll get warnings about importing

Re: [Chicken-users] Announcing call-cc.org

2010-08-20 Thread Alex Shinn
Mario Domenech Goulart mario.goul...@gmail.com writes: * http://code.call-cc.org: VCS repositories for CHICKEN and eggs code and release tarballs. If you have an old checkout of any or all of the eggs repo and don't want to download the whole thing again, the magic incantation for SVN to

Re: [Chicken-users] Printing circular lists

2010-08-04 Thread Alex Shinn
Taylor Venable tay...@metasyntax.net writes: If you're open to using a different method to do so, both the fmt and srfi-38 eggs provide such a means via fmt and write-with-shared-structure, respectively. Note Chicken's SRFI-38 implementation also provides `make-repl-support-shared-structure'

Re: [Chicken-users] Re: Missing documentation for eggs

2010-03-26 Thread Alex Shinn
felix fe...@call-with-current-continuation.org writes: I tested it once more, and it actually runs to completion, but takes ages to load, so you're completely right. Sorry if this caused any hassle. The expander is definitely too slow. I have to work on that. matchable also uses only

Re: [Chicken-users] utf8 egg and byte-* procedures

2010-03-25 Thread Alex Shinn
Jeronimo Pellegrini j...@aleph0.info writes: It's fine until that point -- now the string-length procedure is utf8-aware. So that means the egg was loaded and the string manipulating procedures were redefined. But the egg documentation mentions that I can use the byte- prefix to get the old

Re: [Chicken-users] utf8 egg and byte-* procedures

2010-03-25 Thread Alex Shinn
Alex Shinn alexsh...@gmail.com writes: In Chicken 4 this is no longer needed, since we have modules with fine-grained control of importing. So to get byte-aware versions of the string procedures you can use: (import (prefix byte- (only scheme string-ref string-set! string

Re: [Chicken-users] Speeding up bit-vector operation (using iset)

2010-03-18 Thread Alex Shinn
felix winkelmann bunny...@gmail.com writes: On Wed, Mar 17, 2010 at 1:18 PM, Alex Shinn alexsh...@gmail.com wrote: At 2^26 bits each I would say these are *huge* bit-vectors. (do   ((i 0 (+ 1 i)))   ((= i 10))   (bit-vector-and s1 s2)   (bit-vector-ior s1 s2)   (bit-vector-and s1 (bit

Re: [Chicken-users] Speeding up bit-vector operation (using iset)

2010-03-17 Thread Alex Shinn
Lasse Kliemann lasse-list-chicken-2...@mail.plastictree.net writes: It creates two large bit-vectors, initializes them with random entries, and then performs and, ior, and nand operations (corresponding to intersection, union, and difference of the sets defined by the vectors) a number of 10

Re: [Chicken-users] Set data structure

2009-12-01 Thread Alex Shinn
Lam Luu luuxuan...@gmail.com writes: Well, that's is set in list, which is horribly slow (O(n) IS very slow, for most intends and purposes). I guess my question something like, is there any implementation of set in chicken that is at least O(log n), aka using binary search tree of some sort?

Re: [Chicken-users] Was crunch really discontinued? Is there an alternative?

2009-10-10 Thread Alex Shinn
Jeronimo Pellegrini j...@aleph0.info writes: I have written a program that repeatedly multiply matrices as a very simplistic benchmark (because it is the kind of thing I'd like to do very fast). The result was: bigloo 0.52s gambit 2.70s chicken 8.70s This is for compiled Scheme, with

Re: [Chicken-users] Is the hato suite working on chicken 4.x?

2009-09-26 Thread Alex Shinn
Timothy Beyer bey...@cs.ucr.edu writes: Has anyone tried running any of the hato suite on = 4.x? If it just requires a few minor changes, I'll try to give it a go, but if major changes are required, I'm going to find a way to have multiple versions of chicken installed concurrently, or maybe

[Chicken-users] Re: module indentation.

2009-05-08 Thread Alex Shinn
Anthony Carrico acarr...@memebeam.org writes: Jim Ursetto wrote: 2009/5/4 Anthony Carrico acarr...@memebeam.org: I didn't indent the module (this will make it easier to check my work with svn diff). It seems that it is useful not to indent the module body, as definitions aligned at left

Re: [Chicken-users] Which eggs to migrate from Chicken 3 first?

2009-05-06 Thread Alex Shinn
Hi, Phil Bewig pbe...@gmail.com writes: Streams are not lists. Scheme ensures there are substantial disadvantages to using streams rather than lists, due to the underlying promises that require numerous type conversions, so streams should be used only when the sequence of elements is truly

[Chicken-users] scheme-complete 0.8.6

2009-05-02 Thread Alex Shinn
The latest scheme-complete.el is available at http://synthcode.com/emacs/scheme-complete-0.8.6.el.gz now properly handling module forms and imports even when the module isn't complete, or parens are otherwise unbalanced. It also uses csi -e '(print (repository-path))' instead of chicken-setup

[Chicken-users] Re: scheme-complete 0.8.5 for chicken 4

2009-04-30 Thread Alex Shinn
Alex Shinn alexsh...@gmail.com writes: The latest scheme-complete.el is available at http://synthcode.com/emacs/scheme-complete-0.8.5.el.gz This release includes Chicken 4 support, recognizing module forms including only, except, rename, and prefix import specifiers. The module support

Re: [Chicken-users] stressing the new hygienic macros

2009-04-29 Thread Alex Shinn
Michele Simionato michele.simion...@gmail.com writes: Anyway, this is bad news for me. It means that if I want to define my own syntax transformers I have to implement them from scratch from low level macros :-( No, you can't define your own _transformers_ (the things you pass to

[Chicken-users] scheme-complete 0.8.5 for chicken 4

2009-04-29 Thread Alex Shinn
The latest scheme-complete.el is available at http://synthcode.com/emacs/scheme-complete-0.8.5.el.gz This release includes Chicken 4 support, recognizing module forms including only, except, rename, and prefix import specifiers. Inside a module form it only expands currently imported

Re: [Chicken-users] stressing the new hygienic macros

2009-04-28 Thread Alex Shinn
Michele Simionato michele.simion...@gmail.com writes: I have subscribed again the list after a few years of absence, because I wanted to try the new and improved hygienic Chicken ;-) As first experiment, I tried to stress a bit syntax-rules. I tried the following at the REPL:

Re: [Chicken-users] Which eggs to migrate from Chicken 3 first?

2009-04-22 Thread Alex Shinn
John Cowan co...@ccil.org writes: 52 eggdoc 19 openssl 6 iconv 5 utf8 4 tcp-server 3 format 6 sendfile 2 graph-scc These have already been ported. 17 http Should be deprecated in favor of intarweb? 5 syntactic-closures

Re: [Chicken-users] irregex bug?

2009-04-22 Thread Alex Shinn
Hi, Anthony Carrico acarr...@memebeam.org writes: #;1 (require-library regex) ; loading library regex ... #;2 (import irregex) ; loading /usr/local/lib/chicken/4/irregex.import.so ... #;3 (define rx (sre-irregex '(: bos (submatch (+ (0123456789))) eos))) #;4 (irregex-match rx 0)

Re: [Chicken-users] New to Scheme Macros

2009-04-22 Thread Alex Shinn
John Cowan co...@ccil.org writes: Jim Ursetto scripsit: Explicit renaming macros look neat; the only kinda bummer thing is having to manually pull apart the components of the expression with car/cdr/etc. instead of the destructuring happening in a more automatic way. Of course, I

Re: [Chicken-users] chicken-setup infinite loop

2009-03-28 Thread Alex Shinn
Hi, underspecified underspecif...@gmail.com writes: Under chicken 3.4.0, I have noticed that I can make chicken-setup enter into an infinite loop by telling it to fetch, but not install the http egg. I posit that the cause is a circular dependency somewhere among http's many dependencies,

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-23 Thread Alex Shinn
felix winkelmann bunny...@gmail.com writes: It seems that one of the regexen's compiled in the definitions for `absolute-pathname?' or `decompose-pathname' triggers a loop in `nfa-join-transitions!' in the files.scm unit (these are executed at toplevel, outside of the scope of the associated

Re: [Chicken-users] Questions about pipes

2009-03-12 Thread Alex Shinn
Lam Luu luuxx...@umn.edu writes: Is there any way to spawn another process, then catch both of its stdin and stdout? (use posix) (receive (in out pid) (process gnugo) ...) -- Alex ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] utf8-srfi-13 and string-join

2009-03-06 Thread Alex Shinn
Timothy Beyer bey...@cs.ucr.edu writes: I just found out today that the utf8 version of srfi-13 doesn't have or export string-join. (though the non-utf8 version does) I'll probably roll my own version for my own use until it is added, but I don't know how to write one that is properly

[Chicken-users] optimizing mutually recursive loops

2009-02-15 Thread Alex Shinn
When optimizing my Chicken code for speed, I find one of the most important things is to write the code so that it gets compiled into a single C function with gotos. It's often so important to get this that I end up writing very unnatural Scheme code, including manually combining several loops

Re: [Chicken-users] freetype egg still being developed?

2009-01-10 Thread Alex Shinn
Matt Gushee m...@gushee.net writes: Like the subject says ... the latest version of freetype in the main egg repo is 0.1. Has Alex, or anyone, done anything beyond that? I am going to need a significant increase in functionality in order to implement font embedding for the PDF egg I am

Re: [Chicken-users] need regex benchmark

2008-11-11 Thread Alex Shinn
Tobia Conforto [EMAIL PROTECTED] writes: Alex Shinn wrote: Tobia Conforto writes: The file perltestdata in Edi Weitz's cl-ppcre contains a big PCRE stress test (15,000 tests) already formatted for lisp. What Felix is looking for, however, is a benchmark. What's wrong with repeating 1000

Re: [Chicken-users] need regex benchmark

2008-11-10 Thread Alex Shinn
Tobia Conforto [EMAIL PROTECTED] writes: felix winkelmann wrote: Does someone know of a good regex benchmark Yes. The file perltestdata in Edi Weitz's http://weitz.de/files/cl-ppcre.tar.gz contains a big PCRE stress test (15,000 tests) already formatted for lisp. Every line of the file

Re: [Chicken-users] string-translate and utf-8

2008-11-08 Thread Alex Shinn
Ah, sorry, I didn't have the latest version of the utf8 egg. I can reproduce the bug now. -- Alex Sunnan * [EMAIL PROTECTED] writes: Well; here's a transcript: CHICKEN (c)2008 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 3.2.7 - linux-unix-gnu-x86-64 [ 64bit manyargs dload

Re: [Chicken-users] string-translate and utf-8

2008-11-07 Thread Alex Shinn
Hi, sorry for the late reply. Sunnan [EMAIL PROTECTED] writes: I'm updating old code that used to work: (require-extension syntax-case utf8 srfi-1 utf8-srfi-13 miscmacros) ;(import utf8) ;(import utf8-srfi-13) ;(commented out since they're not needed anymore?) (use utf8-srfi-13) ;(I've

Re: [Chicken-users] current base64 on chicken 3 incorrect?

2008-11-02 Thread Alex Shinn
felix winkelmann [EMAIL PROTECTED] writes: On Fri, Oct 31, 2008 at 2:51 PM, Graham Fawcett [EMAIL PROTECTED] wrote: Hi folks, The current base64 egg for Chicken 3 builds, but gives me incorrect results. The non-working version is by Bailey, ported by Felix. (I found an older version in

Re: [Chicken-users] faster threading

2008-11-02 Thread Alex Shinn
Jörg F. Wittenberger [EMAIL PROTECTED] writes: My conclusion: I begin a Nuke copyright issues in my way!-implementation of llrbtree.scm. Left leaning red-black trees are definitely worth trying, I'm looking forward to seeing your code! Another alternative is skip lists. Taylor Campbell has

Re: [Chicken-users] Bug in canonical-path?

2008-10-30 Thread Alex Shinn
Hi, Ivan Raikov [EMAIL PROTECTED] writes: I have been meaning to port the Haskell FilePath library to Chicken, because I find its API to be quite elegant and better organized than the existing file name manipulation routines in Chicken. This discussion has prompted me to create the

Re: [Chicken-users] raw strings

2008-10-10 Thread Alex Shinn
Peter Bex [EMAIL PROTECTED] writes: On Fri, Oct 10, 2008 at 09:07:59AM +0200, felix winkelmann wrote: Since escaping backslashes inside string literals can get tedious, I wondered wether a non-escaping string-syntax might be handy. Something like: # ...(doesn't treat

Re: [Chicken-users] raw strings

2008-10-10 Thread Alex Shinn
Peter Bex [EMAIL PROTECTED] writes: On Fri, Oct 10, 2008 at 04:36:02PM +0900, Alex Shinn wrote: Peter Bex [EMAIL PROTECTED] writes: Could you give an example in which you need this? As a wild guess, regular expressions? The syntax of regexps is really horrible for any language which

Re: [Chicken-users] raw strings

2008-10-10 Thread Alex Shinn
Tobia Conforto [EMAIL PROTECTED] writes: Alex Shinn wrote: If Chicken switches to irregex, then we can just use SREs and be rid of the ugliness of regex syntax forever. It does look more scalable a syntax, if not less ugly... (word (+ (| alphanum

[Chicken-users] scheme-complete.el 0.8.3

2008-10-06 Thread Alex Shinn
The new scheme-complete.el supporting Chicken 4.0 is now available: http://synthcode.com/emacs/scheme-complete-0.8.3.el.gz Using/importing now also searches files in the current directory, and fully scans the file for type inferencing information. This is more expensive, so scheme-complete

Re: [Chicken-users] Why is the format egg redundant or unsupported?

2008-09-27 Thread Alex Shinn
felix winkelmann [EMAIL PROTECTED] writes: If this is the case, we can just un-unsupport it. There is format-modular (but is has quite a number of dependencies) and fmt, which is much cooler (but has the odd bug, IIRC). At present there are no known bugs. There were a few bugs in numeric

[Chicken-users] Re: [gambit-list] Help With Memory

2008-09-26 Thread Alex Shinn
Marc Feeley [EMAIL PROTECTED] writes: I've attached the trace and source code below. The wild difference in performance you get is perhaps due to the old version of Gambit you are using. Can you please try this on your machine with Gambit v4.2.8? Before I do that (because I need to close

Re: [Chicken-users] date comparison is very, very, very slow (srfi-19)

2008-09-24 Thread Alex Shinn
Anthony Carrico [EMAIL PROTECTED] writes: I ran into an extreme slowdown with some code that uses dates. I thought this was a complexity issue with sorting, or something like that, but I noticed that it was mainly GC, and traced it to date?. Date comparison is done on julian-days, which are

Re: [Chicken-users] macro systems and chicken (long)

2008-04-17 Thread Alex Shinn
Alaric == Alaric Snell-Pym [EMAIL PROTECTED] writes: define-record-type (SRFI-9) should be sufficient. The problem is that it is not that easy to construct identifiers in hygienic macros (or it probably is, I don't know, I haven't thought about it very much, yet. There

Re: [Chicken-users] macro systems and chicken (long)

2008-04-17 Thread Alex Shinn
Alaric == Alaric Snell-Pym [EMAIL PROTECTED] writes: Alaric On 17 Apr 2008, at 12:58 pm, Alex Shinn wrote: could fail if the (var val) ... list were passed as a syntax object. Though probably this would never happen in practice. Alaric When *will* it happen

Re: [Chicken-users] macro systems and chicken (long)

2008-04-05 Thread Alex Shinn
John == John Cowan [EMAIL PROTECTED] writes: John Alaric Snell-Pym scripsit: Syntax-rules is handy for simple stuff, but I'd hate for it to be the only macro system I had - I like to think of it as a shorthand for a reasonably common case, TBH. John I think quite

[Chicken-users] macro systems and chicken (long)

2008-04-04 Thread Alex Shinn
There seems to be a lot of confusion in the Chicken community, and the Lisp community in general, about the different macro systems, so I thought provide some background information and discussion of the eggs available in Chicken and their uses. --- Background --- There are two completely

[Chicken-users] compiled syntax modules

2008-04-03 Thread Alex Shinn
I've just checked in a new version of riaxpander with initial support for compiling syntax extensions. Previously, any file containing macros that you wanted to export you would mark as (syntax) in the .setup file, and just install the file as a .scm without compiling it. Now, when using

[Chicken-users] bug and potential fix for numbers egg

2008-03-28 Thread Alex Shinn
$ csi -R numbers ... #;1 (= 0.1 (/ 1 10)) #f #;2 (= 0.1 (exact-inexact (/ 1 10))) #f #;3 (exact-inexact (/ 1 10)) 0.1 Note that both equalities hold when not using the numbers egg. Exact = comparisons on floating point numbers are rare, but this is just a symptom of a more general issue which

Re: [Chicken-users] bug and potential fix for numbers egg

2008-03-28 Thread Alex Shinn
John == John Cowan [EMAIL PROTECTED] writes: John Alex Shinn scripsit: As a potential workaround, I've attached a patch which first checks if both the numerator and denominator fit within a long (there's no direct way to check if they fit in a double), and if so just

[Chicken-users] Re: arithmetic-shift bug

2008-03-27 Thread Alex Shinn
Alex == Alex Shinn [EMAIL PROTECTED] writes: Alex I believe this is from a relatively recent change, Alex since it's the cause of an error in the fmt egg Alex which previously passed. Sorry, I had been testing on a 64-bit machine before so this may in fact be a long-standing bug

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-18 Thread Alex Shinn
Tobia == Tobia Conforto [EMAIL PROTECTED] writes: Tobia Graham Fawcett wrote: Here's another thought. It seems to me that if we were to represent strings as composite values, e.g. a two-slot record whose first slot is an encoding (the symbol 'utf8, or #f for 'byte'

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-18 Thread Alex Shinn
John == John Cowan [EMAIL PROTECTED] writes: John felix winkelmann scripsit: A real module system would solve all these problems cleanly. John It wouldn't solve the data-punning problem. As John long as the same object can be seen one way by one John module and

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-18 Thread Alex Shinn
Graham == Graham Fawcett [EMAIL PROTECTED] writes: Graham On Tue, Mar 18, 2008 at 12:22 PM, John Cowan [EMAIL PROTECTED] wrote: It wouldn't solve the data-punning problem. As long as the same object can be seen one way by one module and another way by another, problems will

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-17 Thread Alex Shinn
Felix == felix winkelmann [EMAIL PROTECTED] writes: Felix On Sun, Mar 16, 2008 at 8:04 AM, Alex Shinn [EMAIL PROTECTED] wrote: I actually thought the change you introduced didn't really inline most of the operators but referenced a static table, and that this would

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-17 Thread Alex Shinn
Graham == Graham Fawcett [EMAIL PROTECTED] writes: Graham On Mon, Mar 17, 2008 at 11:22 AM, Kon Lovett [EMAIL PROTECTED] wrote: Graham The Factor language borrowed from Larceny a Graham clever mechanism for representing Unicode Graham strings efficiently. Perhaps such a system

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-17 Thread Alex Shinn
Kon == Kon Lovett [EMAIL PROTECTED] writes: Kon Summary: I want a byte-string API. I want string Kon integrations. I want global UTF8 strings. The only way this can happen is to push the UTF8 handling into the core of Chicken itself. Integration vs. modules are just different degrees

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-16 Thread Alex Shinn
Felix == Felix Winkelmann [EMAIL PROTECTED] writes: Felix Alex, what happens if I pass string operators as first Felix class values? These don't get inlined. What Felix happens now? I actually thought the change you introduced didn't really inline most of the operators but

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-16 Thread Alex Shinn
Kon == Kon Lovett [EMAIL PROTECTED] writes: Kon On Mar 15, 2008, at 9:33 AM, Felix Winkelmann wrote: Kon Is this a char-string issue or a byte-string Kon issue? When the source ...string... is a string Kon of ASCII non-nul char then there should be no Kon problem w/ the utf8

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-16 Thread Alex Shinn
Kon == Kon Lovett [EMAIL PROTECTED] writes: Kon Is this a char-string issue or a byte-string Kon issue? When the source ...string... is a string Kon of ASCII non-nul char then there should be no Kon problem w/ the utf8 egg overriding the string Kon operators. The problem

Re: [Chicken-users] Hang problem with the http egg.

2008-03-12 Thread Alex Shinn
Hans == Hans Bulfone [EMAIL PROTECTED] writes: Hans that said, i think i really am a quite humble Hans person :) By saying that your humble status has been revoked! :P -- Alex ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-11 Thread Alex Shinn
, Jun 28, 2007 at 12:25:54PM +0900, Alex Shinn wrote: I'm considering changing the utf8 egg to no longer use syntax-case modules, so that it would work like the numbers egg. [...] Robin Perhaps I'm missing something, but I *really* Robin don't like the idea of having

Re: [Chicken-users] UTF8

2008-03-10 Thread Alex Shinn
Jean-Philippe Theberge [EMAIL PROTECTED] writes: Where is match defined? It's included by default, but you need to (use matchable) when using syntax-case or any of the other hygienic macro systems. -- Alex ___ Chicken-users mailing list

Re: [Chicken-users] macrolet

2008-03-09 Thread Alex Shinn
Lui == Lui Fungsin [EMAIL PROTECTED] writes: Lui Hi, Is there a macrolet (CL style old school Lui lexically scoped macro) for chicken? It can be defined in any of syntax-case, syntactic-closures or riaxpander, but you really, really don't want to. Nesting hygienic macros and unhygienic

Re: [Chicken-users] google summer of code

2008-03-06 Thread Alex Shinn
Alaric == Alaric Snell-Pym [EMAIL PROTECTED] writes: Alaric I'm also keen on a proper library/module system, Alaric though. I'd like to be able to use multiple Alaric macro systems in the same source file, for a Alaric start. So something where chicken itself has a Alaric

Re: [Chicken-users] DBI

2008-03-01 Thread Alex Shinn
Tobia == Tobia Conforto [EMAIL PROTECTED] writes: Tobia Alex Shinn wrote: The biggest issue I see with the sql egg right now is it currently hard-codes all values, generating a new SQL expression every time. You want it to be able to represent placeholder values (named

Re: [Chicken-users] DBI

2008-02-29 Thread Alex Shinn
Tobia == Tobia Conforto [EMAIL PROTECTED] writes: Tobia What's wrong with the sql egg? Can't we just use Tobia that, maybe improve it a bit? Sure, I didn't mean to rule that out. The biggest issue I see with the sql egg right now is it currently hard-codes all values, generating a new

Re: [Chicken-users] Continuation Fest 2008

2008-02-20 Thread Alex Shinn
Ivan == Ivan Raikov [EMAIL PROTECTED] writes: IvanAre any Chicken Schemers thinking about attending the Ivan Continuation Fest in Tokyo that was just announced on Ivan comp.lang.scheme? I will probably be in the area that entire Ivan weekend, if anyone wants to have a Chicken

Re: [Chicken-users] Stupid backquote/unquote question

2008-02-20 Thread Alex Shinn
Hans Nowak [EMAIL PROTECTED] writes: #;1 (define magic 42) #;2 (define s '(foo bar ,magic)) [...] The following doesn't work: #;4 `s s #;5 `,s (foo bar (unquote magic)) ...and I understand *why* they don't work, but I can't figure out how to take s and transform

Re: [Chicken-users] Comprehensive documentation rewrite

2008-02-13 Thread Alex Shinn
Ivan == Ivan Raikov [EMAIL PROTECTED] writes: Ivan Well, it is simply not true. Source code with a non-BSD Ivan license that gets imported as an egg does not magically Ivan become BSD-licensed. There are also many eggs that are Ivan actively in use that are not licensed under

[Chicken-users] ANN: scheme-complete.el 0.8

2008-02-08 Thread Alex Shinn
scheme-complete.el 0.8 is now available at http://synthcode.com/emacs/scheme-complete.el.gz This is a bugfix release, including several parsing fixes for unbalanced parenthesis (thanks to Kazushi NODA), better handling of dotted lambda lists, and proper completion of absolute pathnames. --

[Chicken-users] Re: ANN: hato 0.3.5

2008-02-08 Thread Alex Shinn
Alex == Alex Shinn [EMAIL PROTECTED] writes: Alex Thanks to the tremendous patience of Felix, who had in Alex pretty much every way the opposite setup as mine, hato 0.3.5 Alex is now available with numerous bugfixes. Sorry, the file permissions in the tarball were broken. I've

[Chicken-users] hato 0.3.1

2008-02-05 Thread Alex Shinn
... is available at http://synthcode.com/scheme/hato/hato-0.3.1.tar.gz There were some really careless bugs in the previous release such that it wouldn't always work right if you didn't have a ~/.hato/filter file (it will now properly deliver to the local mail-spool in this case), and also the

[Chicken-users] multiple values in chicken

2008-01-31 Thread Alex Shinn
I really, really, loathe multiple values. I've argued the reasons countless times before, and I'm not in the mood to do it again. What I will do is point out is that the most natural (though not only) alternative, just returning a first-class list, already has just as concise syntax if you use

Re: [Chicken-users] Hash table mystery

2008-01-24 Thread Alex Shinn
JP == Jean-Philippe Theberge [EMAIL PROTECTED] writes: JP (define BP (make-hash-table 500)) There's your problem. The parameters for MAKE-HASH-TABLE are: (make-hash-table [eq-fn hash-fn init-size]) ... so the first argument, if provided, should be a function to test if two keys are

Re: [Chicken-users] chicken-hosted stalin

2008-01-22 Thread Alex Shinn
On Jan 23, 2008 9:09 AM, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: Compilation of Scheme with Stalin takes extremely long. The chicken-compiled Stallin is smaller and doesn't stress gcc so much, but is (naturally) even slower than the original Stalin, which means slow

[Chicken-users] ANN: scheme-complete.el 0.5

2008-01-02 Thread Alex Shinn
scheme-complete provides intelligent tab-completion for Emacs scheme modes, with lexically aware detection of symbols and simple type-inferencing, and optional eldoc support. The new version supports internal defines, infers types more often, and uses smarter parsing, avoiding slurping sexps

Re: [Chicken-users] Re: Debian slander?

2007-12-27 Thread Alex Shinn
On Dec 28, 2007 10:15 AM, John Cowan [EMAIL PROTECTED] wrote: Saying that Chicken is R5RS-compliant is simply false advertising. It isn't. There is a whole section in the manual on deviations from the standard. It's good enough compliant. $ csi -case-insensitive -R numbers -R

Re: [Chicken-users] Re: Debian slander?

2007-12-27 Thread Alex Shinn
On Dec 28, 2007 11:47 AM, John Cowan [EMAIL PROTECTED] wrote: There is letrec as letrec*, This is a perfectly legal extension - the exact R5RS text says that it is an error to refer to one of the other variables. So if you do that demons might fly out of your nose, or it may magically behave

Re: [Chicken-users] Re: Debian slander?

2007-12-26 Thread Alex Shinn
On Dec 23, 2007 5:34 PM, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: Chicken's interpreter is not strongly performant, but does provide strong debugging facilities. I'd remove that last sentence above. I think it's true: if you want a fast interpreter, you wouldn't

Re: [Chicken-users] how to use define-macro to...

2007-12-20 Thread Alex Shinn
On Dec 20, 2007 8:35 PM, minh thu [EMAIL PROTECTED] wrote: 1/ I'd like to repeat this code for a lot of operators (not just + as in the following). (define-syntax shadow (syntax-rules () ((shadow op old-op) (begin (define old-op op) (define (op a b) (if (or

Re: [Chicken-users] Re: Question SRFI-56

2007-12-20 Thread Alex Shinn
On Dec 21, 2007 5:04 AM, Siegfried Gonzi [EMAIL PROTECTED] wrote: I downloade numbers and srfi-56. But I get the following error when using srfi-56 and there is no specific comment in the source code: == siegfried-gonzis-macbook:test sgonzi$ csc srfi-56-test.scm That should be csi -R

Re: [Chicken-users] Re: UTF-8 support

2007-12-13 Thread Alex Shinn
On Dec 13, 2007 11:32 PM, Tobia Conforto [EMAIL PROTECTED] wrote: Can you (or anybody else) give an example of different behaviour with the option turned on and off? I did a couple of tests and can't see any difference, but I admit I have yet to look at the source code. The only two

[Chicken-users] chicken lottery!

2007-12-11 Thread Alex Shinn
Ladies, gentlemen and other, we've reached 350 eggs, which means some lucky contributor is going to be the proud owner of their very own Chicken T-shirt! This time we're inviting you all to witness the choosing live. At midnight UTC this Friday the 14th (7pm Thursday night US Eastern Standard

Re: [Chicken-users] ANN: scheme-complete.el 0.3

2007-11-14 Thread Alex Shinn
On Nov 14, 2007 3:51 PM, felix winkelmann [EMAIL PROTECTED] wrote: Thanks! Is there a way to use it even if chicken is not installed in /usr/local? Fixed and uploaded as 0.4. It also supports the CHICKEN_REPOSITORY env var, and for Gauche now supports the GAUCHE_LOAD_PATH. There are still a

Re: [Chicken-users] ANN: scheme-complete.el 0.3

2007-11-13 Thread Alex Shinn
On Nov 13, 2007 3:39 PM, felix winkelmann [EMAIL PROTECTED] wrote: On Nov 13, 2007 7:05 AM, Alex Shinn [EMAIL PROTECTED] wrote: A new release 0.3 of scheme-complete.el is available at http://synthcode.com/emacs/scheme-complete.el Hm... Server down? It's back now. Try http

Re: [Chicken-users] ANN: scheme-complete.el 0.3

2007-11-13 Thread Alex Shinn
On Nov 14, 2007 3:51 PM, felix winkelmann [EMAIL PROTECTED] wrote: Thanks! Is there a way to use it even if chicken is not installed in /usr/local? You can use it, it just won't know about Chicken's non-standard modules. I introduced a bug at the last minute, I'll make a new release shortly

<    1   2   3   >