I'm reaching a point where my PEG parser, gentufa'i[1], is going to
be ready to tag version 1.0.
I have an issue that I've been putting off that I would like some
input on.
If possible, I would like to parse utf8 input. I currently have
utf8 enabled in my egg.
gentufa'i works by storing the
Am Mittwoch, den 24.11.2010, 08:37 -0700 schrieb Alan Post:
Can anyone point me in the right direction?
I'll paste an example from my code, because an example is sometime
better than a lyrics.
If you where to keep the byte offset (called start in the code down
there) with your position objects,
On Wed, Nov 24, 2010 at 08:37:37AM -0700, Alan Post wrote:
gentufa'i works by storing the entire input port in a string, and
ceating position objects to refer to the rest of the string as I
parse.
This means I need to perform the following:
1) reference a character by index
2) compare a
Am Mittwoch, den 24.11.2010, 08:37 -0700 schrieb Alan Post:
Can anyone point me in the right direction?
I'll paste an example from my code, because an example is sometime
better than a lyrics.
If you where to keep the byte offset (called start in the code down
there) with your position
On Wed, Nov 24, 2010 at 05:05:18PM +0100, Peter Bex wrote:
On Wed, Nov 24, 2010 at 08:37:37AM -0700, Alan Post wrote:
gentufa'i works by storing the entire input port in a string, and
ceating position objects to refer to the rest of the string as I
parse.
This means I need to perform
On Wed, Nov 24, 2010 at 05:05:38PM +0100, Jörg F. Wittenberger wrote:
Am Mittwoch, den 24.11.2010, 08:37 -0700 schrieb Alan Post:
Can anyone point me in the right direction?
I'll paste an example from my code, because an example is sometime
better than a lyrics.
If you where to keep the
On Wed, Nov 24, 2010 at 09:33:24AM -0700, Alan Post wrote:
I'm using irregex for character class matching.
The Irregex in experimental is reasonably fast for charsets, giving
O(log(n)) performance for charsets membership checking. If the charset
is continuous (ie, with no gaps) it's actually
From: Peter Bex peter@xs4all.nl
Subject: Re: [Chicken-users] utf8 and string-ref performance
Date: Wed, 24 Nov 2010 17:05:18 +0100
With cons cells you should be able to implement this efficiently enough.
We don't have anything like string-pointers which can store arbitrary
indices in a
On Wed, Nov 24, 2010 at 07:13:10PM +0100, Felix wrote:
With cons cells you should be able to implement this efficiently enough.
We don't have anything like string-pointers which can store arbitrary
indices in a string AFAIK. That would be useful to have, I guess.
How should that look?
From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net
Subject: [Chicken-users] Re: [Chicken Gazette - Issue 13] - ##sys#:keyword:'s
Date: Mon, 22 Nov 2010 22:47:51 +0100
Am Montag, den 22.11.2010, 21:22 +0100 schrieb Peter Bex:
On Saturday another new thread (!) was started by Alan Post in
Am Dienstag, den 23.11.2010, 09:19 +0100 schrieb Peter Bex:
On Tue, Nov 23, 2010 at 12:32:24AM +0100, Jörg F. Wittenberger wrote:
== 2. Core development
The scrutinizer was updated to give a warning when a one-armed `if`
is used in tail-position, as suggested on chicken-users by Jörg
On Wed, Nov 24, 2010 at 06:15:24PM +0100, Jörg F. Wittenberger wrote:
http://wiki.postgresql.org/wiki/Replication%2C_Clustering%2C_and_Connection_Pooling#Comparison_matrix
I did not find anything about details of the master-master replication
there. Though the usual way is, that all changes
From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net
Subject: Re: [Chicken-users] handling the undefined value
Date: Mon, 22 Nov 2010 15:08:46 +0100
Have a compiler switch (since it may break some code), which changes the
code to return zero values instead of the distinguished undefined
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
On Wed, Nov 24, 2010 at 07:15:49PM +0100, Peter Bex wrote:
On Wed, Nov 24, 2010 at 07:13:10PM +0100, Felix wrote:
With cons cells you should be able to implement this efficiently enough.
We don't have anything like string-pointers which can store arbitrary
indices in a string AFAIK.
From: Peter Bex peter@xs4all.nl
Subject: Re: [Chicken-users] utf8 and string-ref performance
Date: Wed, 24 Nov 2010 19:15:49 +0100
On Wed, Nov 24, 2010 at 07:13:10PM +0100, Felix wrote:
With cons cells you should be able to implement this efficiently enough.
We don't have anything like
My egg, genturfa'i, has an executable and a library. I've named the
library genturfahi and the executable genturfahi-peg. I'd rather
name the executable genturfahi too, though I suspect I'm not able to
do that.
Is this true? If it isn't, can someone point me to an egg that has
a library and an
Hi Ivan,
It works now.
Thanks!
One very small request: diff --unified format.
Best,
Daishi
At Fri, 19 Nov 2010 13:42:20 +0900,
Ivan Raikov wrote:
Hello,
Thanks for trying to use format-textdiff. The problem below was
actually caused by a bug in npdiff, which has been fixed in npdiff
18 matches
Mail list logo