Re: The Perl 6 Emulator

2001-06-15 Thread Simon Cozens
What I'd *really* like to do to make this useful is to put together a set of example programs so that we can bundle it all together and have something to show. I'd like to be able to take this to non-perl6-* people to give them a sneak-preview of the language too; for that to be worthwhile, they n

perl6-modules list?

2001-06-15 Thread Kirrily 'Skud' Robert
Hi Ask, perl6-meta, and perl6-stdlib, Today at YAPC in the Perl 6 session there was some discussion of modules and what work needs doing in that area for Perl 6. Basically it breaks down the following two topics: WHAT goes into the core? (covered by perl6-stdlib) HOW do we write Perl 6 modules

Re: More character matching bits

2001-06-15 Thread Bryan C . Warnock
On Thursday 14 June 2001 12:01 pm, Dan Sugalski wrote: > Fancy character classes are probably enough to handle the various casing > issues and their analogs. They're probably not enough to handle things > like the arabic tatwheel, or proper word breaks in most asian languages. > Heck, unless I'm m

Re: A quick sketch of the interpreter

2001-06-15 Thread Dan Sugalski
At 11:45 PM 6/14/2001 -0400, Bryan C. Warnock wrote: >A couple questions, if I may? > >On Thursday 14 June 2001 05:57 pm, Dan Sugalski wrote: > > =item state stack > > > > For the interpreter's internal state > >Does this include the call stack? If it does, should it? Might, and I'm not sure. K

Re: More character matching bits

2001-06-15 Thread Dan Sugalski
At 06:52 AM 6/15/2001 -0400, Bryan C. Warnock wrote: >On Thursday 14 June 2001 12:01 pm, Dan Sugalski wrote: > > As I see it, locales specify: > > > >* Collating order > >* Comparison/equality specification > >* Unicode codepoint interpretation > >What do you mean by that? Unless I'm

Re: More character matching bits

2001-06-15 Thread Bart Lateur
On Fri, 15 Jun 2001 06:52:32 -0400, Bryan C. Warnock wrote: >On a side note (and this *will* sound stupid, but there is a reason I'm >asking). Why is there no logical opposite to '.'; that is, a character >which never matches another character? (Besides, of course, that it's >utterly useless

Re: A quick sketch of the interpreter

2001-06-15 Thread Benjamin Stuhl
--- Dan Sugalski <[EMAIL PROTECTED]> wrote: > =head1 Stacks [snip] > The stacks are at least: > > =over 4 > > =item Temp stack > > for squirreling away the contents of individual registers > > =item Register stack > > For pushing the entire register file at once. There are > four sets, one >

Re: More character matching bits

2001-06-15 Thread Bryan C . Warnock
On Friday 15 June 2001 06:58 pm, Dan Sugalski wrote: > > > >module Locale::Hawaiian; > > > >use re 'class (\w => [aeiouâêîôûhklmnpw`])'; > > > >... > > > > > > Sure. I expect Damian will write us something that lets you specify > > > them upside-down in Klingon or something by the time this is don

Re: More character matching bits

2001-06-15 Thread Dan Sugalski
At 12:29 AM 6/16/2001 +0100, Simon Cozens wrote: >On Fri, Jun 15, 2001 at 07:12:45PM -0400, Dan Sugalski wrote: > > The question, then, is should ya be considered a literal number in either > > of those contexts? > >The phrase "in those contexts" suggests that it should in some and shouldn't >in o

Re: More character matching bits

2001-06-15 Thread Dan Sugalski
At 11:28 PM 6/15/2001 +0100, Simon Cozens wrote: >On Fri, Jun 15, 2001 at 11:50:49AM -0400, Dan Sugalski wrote: > > Unless I'm missing something (Simon? Hong?) Japanese (and potentially all > > the languages that use the Han characters) can interpret a particular > > character as either a number o

Re: More character matching bits

2001-06-15 Thread Simon Cozens
On Fri, Jun 15, 2001 at 07:45:58PM -0400, Dan Sugalski wrote: > If we can't effectively do it correctly, I can live with that. I just want > the suboptimal behaviour to be on purpose (and hopefully overridable by > someone clever enough) rather than accidental. As I've intimated in the past, I

Re: More character matching bits

2001-06-15 Thread Dan Sugalski
At 12:03 AM 6/16/2001 +0100, Simon Cozens wrote: >On Fri, Jun 15, 2001 at 06:58:24PM -0400, Dan Sugalski wrote: > > The kanji dictionary I have handy gives non-numeric translations for > > several of the numeric kanji, though it might be something that gets lost > > in translation. > >Ah, OK; sure

Re: More character matching bits

2001-06-15 Thread Simon Cozens
On Fri, Jun 15, 2001 at 06:58:24PM -0400, Dan Sugalski wrote: > The kanji dictionary I have handy gives non-numeric translations for > several of the numeric kanji, though it might be something that gets lost > in translation. Ah, OK; sure, there can be numerics with non-numeric meanings, but n

Re: A quick sketch of the interpreter

2001-06-15 Thread Dan Sugalski
At 01:33 PM 6/15/2001 -0700, Benjamin Stuhl wrote: >--- Dan Sugalski <[EMAIL PROTECTED]> wrote: > > =head1 Stacks >[snip] > > The stacks are at least: > > > > =over 4 > > > > =item Temp stack > > > > for squirreling away the contents of individual registers > > > > =item Register stack > > > > For

Re: More character matching bits

2001-06-15 Thread Simon Cozens
On Fri, Jun 15, 2001 at 07:12:45PM -0400, Dan Sugalski wrote: > The question, then, is should ya be considered a literal number in either > of those contexts? The phrase "in those contexts" suggests that it should in some and shouldn't in others. This means that the regexp engine would need to u

Re: More character matching bits

2001-06-15 Thread Simon Cozens
On Fri, Jun 15, 2001 at 11:50:49AM -0400, Dan Sugalski wrote: > Unless I'm missing something (Simon? Hong?) Japanese (and potentially all > the languages that use the Han characters) can interpret a particular > character as either a number or not a number, depending on context. Uh, don't think