Re: encoding vs charset

2008-07-15 Thread Mark J. Reed
equences within that source code. "\ab" should mean U+00AB no matter whether the surrounding source code is UTF-8, ISO-8859-1, Big-5, whatever; if the source language wants to work differently, it's up to its parser to convert. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: encoding vs charset

2008-07-15 Thread Mark J. Reed
ot encoding bytes >> for a single codepoint. > > And that shall be the distinguished from: > > U+AB65: ꭥ > > by what? > >> Pm > > leo > -- Sent from Gmail for mobile | mobile.google.com Mark J. Reed <[EMAIL PROTECTED]>

Re: [perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread Mark J. Reed
extended a > little bit. > > Gerd Pokorra > > -- Sent from Gmail for mobile | mobile.google.com Mark J. Reed <[EMAIL PROTECTED]>

Dumb questions about array slicing...

2008-09-29 Thread Mark J. Reed
on the Perl6 compiler to generate PIR that handles it more manually? -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Dumb questions about array slicing...

2008-09-30 Thread Mark J. Reed
Good point on the other special subscript values. The PIR as currently being generated couldn't work anyway, since the subscript is being put in an Int register instead of a PMC one. On 9/30/08, Moritz Lenz <[EMAIL PROTECTED]> wrote: > Mark J. Reed wrote: >> I didn't

Re: Should the Length of string_substr() Ever Be Negative?

2008-10-05 Thread Mark J. Reed
he > function. > > -- > Salu2 > -- Sent from Gmail for mobile | mobile.google.com Mark J. Reed <[EMAIL PROTECTED]>

Re: Should the Length of string_substr() Ever Be Negative?

2008-10-05 Thread Mark J. Reed
"nonnegative means length, negative means offset" behavior is just way too counterintuitive IMO. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Parrot on mobile platforms?

2008-10-24 Thread Mark J. Reed
it's worth asking. Depending on how they interpret the SDK policy: ("an application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture…"), any VM-based app might be verboten on the iPhone. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [perl #60044] [BUG?] rethrow just throwing?

2008-10-24 Thread Mark J. Reed
riginal 'die'? > > ...this is what I would expect. If I catch and then rethrow an > exception, I'd expect the stack trace to continue to show the > location of the original throw, not the location of the > rethrow. I agree. Otherwise, what's the point of 'rethrow'? -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Known Bug in Rakudo?

2008-10-30 Thread Mark J. Reed
t. As a point of comparison, Pugs accepts the operator overload definition but doesn't honor it; ~$point still returns the generic "". -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Parrot doesn't build on OS X

2008-11-01 Thread Mark J. Reed
.com/catalog/perlhks/ > Tech blog- http://use.perl.org/~Ovid/journal/ > Twitter - http://twitter.com/OvidPerl > Official Perl 6 Wiki - http://www.perlfoundation.org/perl6 > -- Sent from Gmail for mobile | mobile.google.com Mark J. Reed <[EMAIL PROTECTED]>

Boolean#perl

2008-12-07 Thread Mark J. Reed
ler;main' pc 16573 (perl6.pir:166) Likewise False. Shouldn't those be the same object? Why would qualifying the name give it a different set of methods? -- Mark J. Reed <[EMAIL PROTECTED]>

Following up on (True|False) vs Bool::$!

2008-12-09 Thread Mark J. Reed
in' pc 16573 (perl6.pir:166) perl6(37577) malloc: *** error for object 0x2f97160: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug Segmentation fault Suggestions on next steps? Assuming I have the problem properly identified, I will be happy to submit an RT, write a test, dive into the PIR ... -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Following up on (True|False) vs Bool::$1

2008-12-09 Thread Mark J. Reed
The subject line should say "Bool::$1" instead of "Bool::$!", btw; I didn't let go of the shift key fast enough. This is what I get for trying to be clever. On Tue, Dec 9, 2008 at 9:50 AM, Mark J. Reed <[EMAIL PROTECTED]> wrote: > This is a Rakudo issue, which

Dumb Configure.pl question

2006-08-25 Thread Mark J. Reed
fig, so it's not coming from there... Anyway, the reason C++ isn't linking is that it needs some libraries that aren't included in the Perl5 $libs, and I can't figure out how to get Configure.pl to add to that. I would expect it to honor LDFLAGS or LIBPATH or LD_LIBRARY_PATH or something... -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Dumb Configure.pl question

2006-08-25 Thread Mark J. Reed
ldflags=(flags)Use the given loader flags for shared libraries --lex=(lexer)Use the given lexical analyzer generator --yacc=(parser) Use the given parser generator Hope this helps. On Aug 25, 2006, at 10:40 AM, Mark J. Reed wrote: > I'm trying to build parrot

Re: #ParrotSketch Meeting 29AUG06

2006-08-29 Thread Mark J. Reed
d Firefox/Mac... and it's not just me... On 8/29/06, Will Coleda <[EMAIL PROTECTED]> wrote: Transcript now available at: http://www.parrotcode.org/misc/parrotsketch-logs/ irclog.parrotsketch-200608/irclog.parrotsketch.20060829 -- Will "Coke" Coleda [EMAIL PROTECTED] -- Mark J. Reed <[EMAIL PROTECTED]>

Re: #ParrotSketch Meeting 29AUG06

2006-08-29 Thread Mark J. Reed
the browser" isn't an option in the resulting dialog. -- Mark J. Reed <[EMAIL PROTECTED]>

Proposed patch

2006-08-30 Thread Mark J. Reed
align', has_dynamic_linking => 1, # XXX when built against a dynamic libparrot installable_parrot records -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Proposed patch

2006-08-30 Thread Mark J. Reed
t just break recently?? Not that I see any problem applying this patch, regardless. On Aug 30, 2006, at 4:55 PM, Mark J. Reed wrote: > Currently compilation fails on OS X with gcc/g++, because "-bundle" > as the > first argument gets interpreted as a request to run the "undle&qu

Re: PMC Methods, Inheritance, and User-visible Classes

2006-08-30 Thread Mark J. Reed
question of backward compatibility. I also really hate the HTML-multivalued-input-names-have-[] hack. And I'm not fond of the "arrays are just hashes with numeric keys" philosophy (which it shares with JavaScript). But other than that, I love PHP. ;-) -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [perl #40543] [NEW] Test for space after curly braces

2006-10-16 Thread Mark J. Reed
ewline? That was exactly my thought when I read Paul's message Death to trailing whitespace! -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [perl #40543] [NEW] Test for space after curly braces

2006-10-16 Thread Mark J. Reed
to get to the next tabstop (whose spacing you can control with the appropriately-named 'tabstop' option). Once expandtab is on, you can issue a ":retab" command to replace any existing hard tabs with spaces. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Coding Standard Questions

2006-10-17 Thread Mark J. Reed
lization on the same line right? INTVAL counter = 0; Sure. Even pre-ANSI C allows that. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [perl #41168] graceful "no compiler" error message?

2007-06-05 Thread Mark J. Reed
. > > That's understandable at the moment since cc_build doesn't seem to have a > > documented return value. It should, of course. I agree with chromatic -- I'd simply add that the cc_build() function should be improved to have a meaningful return value, not that it should be avoided. -- Andy Dougherty [EMAIL PROTECTED] -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [perl #43134] [TODO] Find a generalised way to determin location of Fink

2007-06-05 Thread Mark J. Reed
s. """ this needs implementation. Is a system() call legit at that point of the config? Because I can think of no reliable, general way of looking for fink other than trying to run the fink command... -- Mark J. Reed <[EMAIL PROTECTED]>

Re: memcpy

2007-06-20 Thread Mark J. Reed
. Sure, x might be a pointer, and things might gang agley there, but pointers getting set to the wrong type of pointee is a pretty common problem, and one that I'm happy to have some runtime support in locating. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: memcpy

2007-06-20 Thread Mark J. Reed
since the compiler will automatically complain if the two pointers don't point to the same type of object. AFAICT, the wrapping around the assignment in the macro just makes sure that there aren't any side effects - but the only reason side effects would be a problem is that it's a

Re: Struct copying

2007-06-21 Thread Mark J. Reed
On 6/21/07, Andy Lester <[EMAIL PROTECTED]> wrote: We now have STRUCT_COPY(dest,src) and STRUCT_COPY_N(dest,src,n) for all your struct-copying needs. Wait! Wait! It should be src, THEN dest! -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Struct copying

2007-06-21 Thread Mark J. Reed
On 6/21/07, Joshua Isom <[EMAIL PROTECTED]> wrote: > Wait! Wait! It should be src, THEN dest! Are you an AT&T guy or an Intel guy? Neither! 68k assembly FTW! -- Mark J. Reed <[EMAIL PROTECTED]>

Re: This week's summary

2003-12-10 Thread Mark J. Reed
On 2003-12-10 at 15:05:09, The Perl 6 Summarizer wrote: > Oh yes, if you've not been following, "^op" (ie, the vector operators) > has become " >>op<< " which is, if nothing else, a right swine to write > in a POD C<> escape. Eh, >>op<< is just a hack for people who can't type C<»op«>

Re: This week's summary

2004-07-28 Thread Mark J. Reed
On 2004-07-28 at 20:55:28, Piers Cawley wrote: > What's a math teacher? Oh, come now. You may refuse to *use* the Leftpondian short form, but pretending not to *recognize* it is a bit much. :) -- Mark REED| CNN Internet Technology 1 CNN Center Rm SW0831G | [EMAIL PROTEC

Re: [PATCH] fix for pcre test if libpcre installed in non-standard location

2007-12-20 Thread Mark J. Reed
no pcre-config > ok > 1/1 skipped: various reasons > All tests successful, 1 subtest skipped. > Files=1, Tests=1, 0 wallclock secs ( 0.13 cusr + 0.05 csys = 0.18 CPU) > > > Is this output reasonable? Is it what I should expect? > > kid51 > -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Anyone has perl 1 docs?

2008-01-14 Thread Mark J. Reed
e's that patch you mentioned? The attachment doesn't seem to have made it into the archive there... -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [svn:parrot-pdd] r25172 - trunk/docs/pdds/draft

2008-01-23 Thread Mark J. Reed
On Jan 23, 2008 8:05 AM, <[EMAIL PROTECTED]> wrote: > + So if you see the integer stream C<0x69 0x30F>, it > +needs to be replaced by C<0x30F>. Typo - that second 0x30F should be 0x209. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [PCT] PAST nodes for goto and friends, labels.

2008-01-24 Thread Mark J. Reed
Sorry if I'm missing something here, since I haven't dived into the innards of Parrot, but I thought control flow in Parrot was based on continuations? Presumably 'control exceptions' are really just lexicaly-scoped exceptions, and exceptions are in turn just outgoing-only continuations. If you h

Re: [perl #51478] PDD17PMC : argument doesn't array

2008-03-09 Thread Mark J. Reed
implementation does store numbers as actual numbers, but I don't know about blocks and lists and such. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Character sets PDD ready for review

2008-03-14 Thread Mark J. Reed
a better solution. > > OTOH I don't know the impact of not having it. East European or other maybe > involved folks should speak up now. > > > Simon > > leo's 2¢ > > [1] http://en.wikipedia.org/wiki/Basic_Multilingual_Plane > [2] http://en.wikipedia.org/wiki/UTF-16 > [3] [EMAIL PROTECTED]:~/svn/parrot/leo> find t -name '*.t' | xargs grep -w > compose > t/op/string_cs.t:compose S1, S1 > t/pmc/object-mro.t:# ... now some tests which fail to compose the class > [4] [EMAIL PROTECTED]:~/svn/parrot/leo> ./parrot t/op/string_cs_46.pasm > ___ǰ___ > 7 8 8 7 > -- Mark J. Reed <[EMAIL PROTECTED]>

Re: [tutorial] pct tutorial language: Squaak implementation

2008-03-25 Thread Mark J. Reed
> (on parrotblog), but I don't know if that's possible. > > > (I tried to send this earlier, having attached files separately; > apparently that wasn't accepted maybe because it's executable code?, > so now a zipped version) > > kjs > -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Basic help navigating individual characters of a string

2008-04-25 Thread Mark J. Reed
akes multiple arguments and concatenates them, and you can interpolate variables in strings, you don't need printf most of the time: print "The first character of the string is '", substr($str,0,1), "'\n"; ...although it is arguably clearer in this case. -- Mark J. Reed <[EMAIL PROTECTED]>

Re: Renaming Plumhead"

2008-06-14 Thread Mark J. Reed
, maybe "Phoebe" or "PHoePe?" ;-) > >Ron > > Or "Phoenix"? Does this count as a resurrection from the ashes of > Plumhead? ;-} > > -- Bob > -- Sent from Gmail for mobile | mobile.google.com Mark J. Reed <[EMAIL PROTECTED]>