Unicode 3.1, UTF-16, and Java [Re: Perl 6, The Good Parts Version]

2002-07-31 Thread Mark J. Reed
On Wed, Jul 17, 2002 at 12:13:47PM -0400, Dan Sugalski wrote: I thought Java used UTF-16. It's a variable-width encoding, so it should be fine. (Though I bet a lot of folks will be rather surprised when it happens...) Update: Since Unicode 3.1 (3.2 is the current version), there have in

Re: Perl 6, The Good Parts Version

2002-07-18 Thread Randal L. Schwartz
pdcawley == pdcawley [EMAIL PROTECTED] writes: pdcawley Would I be right in thinking that it should be possible to implement a pdcawley prolog like language almost entirely within a regular expression? pdcawley Anyone want to step up to the plate? I've already done a Scheme proof pdcawley of

Re: Perl 6, The Good Parts Version

2002-07-17 Thread Nicholas Clark
On Wed, Jul 17, 2002 at 12:32:43AM -0400, Mark J. Reed wrote: On Tue, Jul 16, 2002 at 05:42:18PM -0400, Michael G Schwern wrote: I don't know how Java and Python handle Unicode. Java has always been 100% Unicode from the ground up; it's in the spec. The fundamental char type is a 16-bit

Re: Perl 6, The Good Parts Version

2002-07-17 Thread Dan Sugalski
At 4:17 PM +0100 7/17/02, Nicholas Clark wrote: On Wed, Jul 17, 2002 at 12:32:43AM -0400, Mark J. Reed wrote: On Tue, Jul 16, 2002 at 05:42:18PM -0400, Michael G Schwern wrote: I don't know how Java and Python handle Unicode. Java has always been 100% Unicode from the ground up; it's in

Re: Perl 6, The Good Parts Version

2002-07-17 Thread Mark J. Reed
On Wed, Jul 17, 2002 at 04:17:15PM +0100, Nicholas Clark wrote: My understanding was that Unicode has now escaped the base plane (or whatever it's called) and now has started using code points 65536. How does Java cope with this? This is getting a little off-topic, I think. But here's a brief

Re: Perl 6, The Good Parts Version

2002-07-17 Thread Mark J. Reed
On Wed, Jul 17, 2002 at 12:13:47PM -0400, Dan Sugalski wrote: I thought Java used UTF-16. It's a variable-width encoding, so it should be fine. (Though I bet a lot of folks will be rather surprised when it happens...) UTF-16 isn't technically a variable-width encoding, since surrogate codes

Re: Perl 6, The Good Parts Version

2002-07-17 Thread Dan Sugalski
At 12:34 PM -0400 7/17/02, Mark J. Reed wrote: On Wed, Jul 17, 2002 at 12:13:47PM -0400, Dan Sugalski wrote: I thought Java used UTF-16. It's a variable-width encoding, so it should be fine. (Though I bet a lot of folks will be rather surprised when it happens...) UTF-16 isn't technically a

Re: Perl 6, The Good Parts Version

2002-07-16 Thread Michael G Schwern
On Wed, Jul 03, 2002 at 10:52:58PM +0100, Tim Bunce wrote: Don't forget Apocalypse 5. Personally I believe the elegant and thorough integration of regular expressions and backtracking into the large-scale logic of an application is one of the most radical things about Perl 6. How does one

Re: Perl 6, The Good Parts Version

2002-07-16 Thread Mark J. Reed
On Tue, Jul 16, 2002 at 05:42:18PM -0400, Michael G Schwern wrote: I don't know how Java and Python handle Unicode. Java has always been 100% Unicode from the ground up; it's in the spec. The fundamental char type is a 16-bit value, you can use any letterlike characters in identifiers, there's

Re: Perl 6, The Good Parts Version

2002-07-05 Thread Erik Steven Harrison
What about parsing? I think the fact that Perl 6 will pretty much have parser capabilities built in is pretty distinctive. Ted When someone wants to write a parser, they turn to Perl 90% of the time (at least to prototype). The fact that they're really using a powerful lexer instead of a

Perl 6, The Good Parts Version

2002-07-03 Thread Michael G Schwern
I've just submitted a short talk to the Scandinavian Conference on Java And Object Orientation (JAOO.org) [1] entitled Perl 6, The Good Parts. This talk will be given to an audience of mostly Java, Python and Ruby programmers with a smattering of XP Agile methodology folks and OO and Pattern

Re: Perl 6, The Good Parts Version

2002-07-03 Thread Trey Harris
In a message dated Wed, 3 Jul 2002, Michael G Schwern writes: Attributes Transcending mere objects and classes, Perl 6 introduces adverbs. confused Attributes are adjectives, not adverbs. Aren't they? Trey

Re: Perl 6, The Good Parts Version

2002-07-03 Thread Dave Mitchell
On Wed, Jul 03, 2002 at 01:23:24PM -0400, Michael G Schwern wrote: Hopefully the Cabal [2] can debunk that. [snip] [2] Of which there is none. and http://www.perlcabal.com/ doesn't exist, right? ;-) -- I do not resent critisism, even when, for the sake of emphasis, it parts for the time

Re: Perl 6, The Good Parts Version

2002-07-03 Thread Tim Bunce
On Wed, Jul 03, 2002 at 01:23:24PM -0400, Michael G Schwern wrote: I'm also trying to think of more bits to throw in. Particularly in terms of the OO system, this being a conference about OO. From what I've heard so far, Perl 6's OO system will be largely playing catch up with other

Re: Perl 6, The Good Parts Version

2002-07-03 Thread Janek Schleicher
Trey Harris wrote at Wed, 03 Jul 2002 19:44:45 +0200: In a message dated Wed, 3 Jul 2002, Michael G Schwern writes: Attributes Transcending mere objects and classes, Perl 6 introduces adverbs. confused Attributes are adjectives, not adverbs. Aren't they? Attributes describe the

Re: Perl 6, The Good Parts Version

2002-07-03 Thread Dan Sugalski
At 9:20 PM +0100 7/3/02, Dave Mitchell wrote: On Wed, Jul 03, 2002 at 01:23:24PM -0400, Michael G Schwern wrote: Hopefully the Cabal [2] can debunk that. [snip] [2] Of which there is none. and http://www.perlcabal.com/ doesn't exist, right? ;-) Of course not. Otherwise it wouldn't 404, now

Re: Perl 6, The Good Parts Version

2002-07-03 Thread Michael G Schwern
On Wed, Jul 03, 2002 at 09:20:01PM +0100, Dave Mitchell wrote: On Wed, Jul 03, 2002 at 01:23:24PM -0400, Michael G Schwern wrote: Hopefully the Cabal [2] can debunk that. [snip] [2] Of which there is none. and http://www.perlcabal.com/ doesn't exist, right? ;-) Not Found The

Re: Perl 6, The Good Parts Version

2002-07-03 Thread Larry Wall
On Wed, 3 Jul 2002, Janek Schleicher wrote: : Trey Harris wrote at Wed, 03 Jul 2002 19:44:45 +0200: : : In a message dated Wed, 3 Jul 2002, Michael G Schwern writes: : Attributes : Transcending mere objects and classes, Perl 6 introduces adverbs. : : confused Attributes are adjectives,

Re: Perl 6, The Good Parts Version

2002-07-03 Thread Tim Bunce
On Wed, Jul 03, 2002 at 05:13:01PM -0400, Michael G Schwern wrote: On Wed, Jul 03, 2002 at 09:20:01PM +0100, Dave Mitchell wrote: On Wed, Jul 03, 2002 at 01:23:24PM -0400, Michael G Schwern wrote: Hopefully the Cabal [2] can debunk that. [snip] [2] Of which there is none. and