Larry Wall [EMAIL PROTECTED] wrote:
It may certainly be valuable to (not) think of it that way, but just
don't be surprised if the regex folks come along and borrow a lot of
your opcodes to make things that look like (in C):
while (s send isdigit(*s)) s++;
This is the bit that scares
On Tue, Jun 05, 2001 at 11:25:09AM +0100, Dave Mitchell wrote:
This is the bit that scares me about unifying perl ops and regex ops:
can we really unify them without taking a performance hit?
Coupl'a things: firstly, we can make Perl 6 ops as lightweight as we like.
Second, Ruby uses a giant
Simon Cozens [EMAIL PROTECTED] opined:
On Tue, Jun 05, 2001 at 11:25:09AM +0100, Dave Mitchell wrote:
This is the bit that scares me about unifying perl ops and regex ops:
can we really unify them without taking a performance hit?
Coupl'a things: firstly, we can make Perl 6 ops as
On Tue, 5 Jun 2001, Hugo wrote:
I'd also like to see a specification for indentation when breaking long
lines.
Fwiw, the style that I prefer is:
someFunc( really_long_param_1,
(long_parm2 || parm3),
really_long_other_param
On Tue, 5 Jun 2001, Dave Mitchell wrote:
dispatch loop. I'd much rather have a 'regex start' opcode which
calls a separate dispath loop function, and which then interprets any
further ops in the bytestream as regex ops. That way we double the number
of 8-bit ops, and can have all the
Courtesy of Slashdot,
http://www.hastingsresearch.com/net/04-unicode-limitations.shtml
I'm not sure if this is an issue for us or not, as we're generally
language-neutral, and I don't see any technical issues with any of the
UTF-* encodings having headroom problems.
It does argue for
On Tue, 29 May 2001 18:25:45 +0100 (BST), Dave Mitchell wrote:
diffs:
-KR style for indenting control constructs
+KR style for indenting control constructs: ie the closing C} should
+line up with the opening Cif etc.
On Wed, 30 May 2001 10:37:06 -0400, Dan Sugalski wrote:
I realize that no
At 06:22 PM 6/5/2001 +0100, Simon Cozens wrote:
On Tue, Jun 05, 2001 at 10:17:08AM -0700, Russ Allbery wrote:
Is it just me, or does this entire article reduce not to Unicode doesn't
work but Unicode should assign more characters?
Yes. And Unicode has assigned more characters; it's factually
On Tue, Jun 05, 2001 at 11:25:09AM +0100, Dave Mitchell wrote:
This is the bit that scares me about unifying perl ops and regex ops:
can we really unify them without taking a performance hit?
Coupl'a things: firstly, we can make Perl 6 ops as lightweight as we like.
Second, Ruby uses a
On Tue, Jun 05, 2001 at 01:31:38PM -0400, Dan Sugalski wrote:
The other issue it actively brought up was the complaint about having to
share glyphs amongst several languages, which didn't strike me as all that
big a deal either, except perhaps as a matter of national pride and/or easy
Courtesy of Slashdot,
http://www.hastingsresearch.com/net/04-unicode-limitations.shtml
I'm not sure if this is an issue for us or not, as we're generally
language-neutral, and I don't see any technical issues with any of the
UTF-* encodings having headroom problems.
I think the author
On Mon, Jun 04, 2001 at 06:04:10PM -0700, Larry Wall wrote:
Well, other languages have explored that option, and I think that makes
for an unnatural interface. If you think of regexes as part of a
larger language, you really want them to be as incestuous as possible,
just as any other part
Firstly, the JIS standard defines, along with the ordering and
enumeration of its characters, their glyph shape. Unicode, on the other
hand does not. This means that as far as Unicode is concerned, there is
literally no distinction between two distinct shapes and hence no way to
specify
On 05 Jun 2001 11:07:11 -0700, Russ Allbery wrote:
Particularly since part of his contention is that 16 bits isn't enough,
and I think all the widely used national character sets are no more than
16 bits, aren't they?
It's not really important.
UTF-8 is NOT limited to 16 bits (3 bytes). With 4
On Tue, Jun 05, 2001 at 09:16:05PM +0200, Bart Lateur wrote:
Unicode text files
No such animal. Unicode's a character repertoire, not an encoding.
See you at my Unicode tutorial at TPC? :)
--
buf[hdr[0]] = 0;/* unbelievably lazy ken (twit) */ - Andrew Hume
At 11:18 AM 6/5/2001 -0700, Hong Zhang wrote:
Firstly, the JIS standard defines, along with the ordering and
enumeration of its characters, their glyph shape. Unicode, on the other
hand does not. This means that as far as Unicode is concerned, there is
literally no distinction between
At 12:40 PM 6/5/2001 -0700, Russ Allbery wrote:
Bart Lateur [EMAIL PROTECTED] writes:
UTF-8 is NOT limited to 16 bits (3 bytes).
That's an odd definition of byte you have there. :)
Maybe it's RAD50. :) Still, it may take 3 bytes to represent in UTF-8 a
character that takes 2 bytes in
Graham Barr wrote:
I think there are a lot of benefits to the re engine not to be
separate from the core perl ops.
So does it start with a split(//,$bound_thing) or does it use
substr(...) with explicit offsets?
On Tue, Jun 05, 2001 at 03:31:24PM -0500, David L. Nicol wrote:
Graham Barr wrote:
I think there are a lot of benefits to the re engine not to be
separate from the core perl ops.
So does it start with a split(//,$bound_thing) or does it use
substr(...) with explicit offsets?
Eh ?
On Tuesday 05 June 2001 03:24 pm, Dan Sugalski wrote:
The second objection is again related to character versus glyph
issues: since Chinese,
I think this problem =~ locale. For any unicode character, you can not
properly tell its lower case or upper case without considering locale.
On Tue, Jun 05, 2001 at 05:39:36PM -0400, Bryan C . Warnock wrote:
Some languages don't have upper or lower case. Are tests and translations
on caseless characters true or false? (Or undefined?)
I'd say undefined.
Should the same Unicode character, when used in two different languages,
Dan Sugalski [EMAIL PROTECTED] writes:
At 12:40 PM 6/5/2001 -0700, Russ Allbery wrote:
(As an aside, UTF-8 also is not an X-byte encoding; UTF-8 is a variable
byte encoding, with each character taking up anywhere from one to six
bytes in the encoded form depending on where in Unicode the
Bryan C Warnock [EMAIL PROTECTED] writes:
Some additional stuff to ponder over, and maybe Unicode addresses these
- I haven't been able to read *all* the Unicode stuff yet. (And, yes,
Simon, you will see me in class.)
Some languages don't have upper or lower case. Are tests and
On Tuesday 05 June 2001 05:49 pm, Simon Cozens wrote:
YES. Definitely. Same Unicode character, same thing. You wanted something
else, use a different Unicode character.
I don't understand. There *is* only one character. I can't choose another.
Take 0x0648, for instance. It's both waw, the
Simon Cozens [EMAIL PROTECTED] writes:
On Tue, Jun 05, 2001 at 03:27:03PM -0700, Russ Allbery wrote:
Caseless characters should be guaranteed unchanged by conversion to
upper or lower case, IMO.
I think Bryan's asking more about \p{IsUpper} than uc().
Ahh... well, Unicode classifies them
The problem as I see it, is not that the mechanism can't handle the languages,
it is that the Latin/Gothic countries chose first, and gave what's left to the
Oriental countries.
This is evident in the Musical Symbols and even Byzantine Musical Symbols.
Are these character sets more important
NeonEdge [EMAIL PROTECTED] writes:
This is evident in the Musical Symbols and even Byzantine Musical
Symbols. Are these character sets more important than the actual
language character sets being denied to the other countries? Are musical
and mathematical symbols even a language at all?
At
Dan Sugalski writes:
: Have they changed that again? Last I checked, UTF-8 was capped at 4 bytes,
: but that's in the Unicode 3.0 standard.
Doesn't really matter where they install the artificial cap, because
for philosophical reasons Perl is gonna support larger values anyway.
It's just that 4
Larry Wall [EMAIL PROTECTED] writes:
Doesn't really matter where they install the artificial cap, because for
philosophical reasons Perl is gonna support larger values anyway. It's
just that 4 bytes of UTF-8 happens to be large enough to represent
anything UTF-16 can represent with
Russ Allbery [EMAIL PROTECTED] writes:
That's probably unnecessary; I really don't expect them to ever use all
31 bytes that the IETF-standardized version of UTF-8 supports.
31 bits, rather. *sigh*
But given that, modulo some debate over CJKV, we're getting into *really*
obscure stuff
On Tue, Jun 05, 2001 at 04:44:46PM -0700, Russ Allbery wrote:
In the meantime, the normally-encountered working character set of modern
Asian languages has been in Unicode from the beginning, and currently the
older and rarer characters and the characters used these days only in
proper names
On Tue, Jun 05, 2001 at 04:44:46PM -0700, Russ Allbery wrote:
NeonEdge [EMAIL PROTECTED] writes:
This is evident in the Musical Symbols and even Byzantine Musical
Symbols. Are these character sets more important than the actual
language character sets being denied to the other
At 04:44 PM 6/5/2001 -0700, Larry Wall wrote:
Dan Sugalski writes:
: Have they changed that again? Last I checked, UTF-8 was capped at 4 bytes,
: but that's in the Unicode 3.0 standard.
Doesn't really matter where they install the artificial cap, because
for philosophical reasons Perl is gonna
At 07:40 AM 6/5/2001 -0700, Dave Storrs wrote:
On Tue, 5 Jun 2001, Dave Mitchell wrote:
dispatch loop. I'd much rather have a 'regex start' opcode which
calls a separate dispath loop function, and which then interprets any
further ops in the bytestream as regex ops. That way we double the
Russ Allbery writes:
: Particularly since extending UTF-8 to more
: than 31 bits requires breaking some of the guarantees that UTF-8 makes,
: unless I'm missing how you're encoding the first byte so as not to give it
: a value of 0xFE.
The UTF-16 BOMs, 0xFEFF and 0xFFFE, both turn out to be
Dan Sugalski writes:
: At 04:44 PM 6/5/2001 -0700, Larry Wall wrote:
: (Perl 5 extends it all the way to 64-bit values, represented in 13 bytes!)
:
: I know we can, but is it really a good idea? 32 bits is really stretching
: it for character encoding, and 64 seems rather excessive.
Such large
Larry Wall [EMAIL PROTECTED] writes:
Russ Allbery writes:
Particularly since extending UTF-8 to more than 31 bits requires
breaking some of the guarantees that UTF-8 makes, unless I'm missing
how you're encoding the first byte so as not to give it a value of
0xFE.
The UTF-16 BOMs, 0xFEFF
37 matches
Mail list logo