Re: Anyone has perl 1 docs?

2008-01-14 Thread Paul Johnson
at probably explains a lot too. In any case, the patch looks fairly minimal - you might be able to retrofit it to Perl1 without too much trouble. But I'd go the virtual machine route too, all else being equal. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Consting args for vmethods

2007-12-17 Thread Paul Johnson
equivalent would break in Perl 5, where the "objects" can change internal > private state as a side effect of being read. For example, conversions are > cached. Which is where, in C++, you would be using the mutable keyword. I don't think this has yet made it into any C stan

Re: [perl #47886] [TODO] 'make quicktest' target

2007-11-27 Thread Paul Johnson
get is known as coretest in Perl 5. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [perl #43338] [TODO] config/auto/va_ptr.pm: Write unit tests

2007-10-29 Thread Paul Johnson
27;s food available if you are hungry enough. > Hence, I'm resolving the ticket. Sorry if this opens it up again. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [perl #41897] [BUG]: Parrot::Pmc2c::STMRef gets 'subroutine prederef redefined' warning

2007-05-01 Thread Paul Johnson
Devel::Cover has sometimes uncovered questionable constructs that have otherwise gone unnoticed, but my first thoughts would be that it was a bug in Devel::Cover. Has anyone managed to shine any additional light on this in the last six weeks? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [perl #41886] [CAGE] Use lcov to show code coverage

2007-03-18 Thread Paul Johnson
uot;make cover" target, the Perl world seems to have settled on "make testcover". -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Why consting is good

2006-08-13 Thread Paul Johnson
stant rather than a constant pointer. > =head2 Mixing C > > Combining Cs on a pointer and its constants can get confusing. Very much so. s/constants/contents/ I suspect? Or maybe s/its constants/what it points to/ ? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [perl #39217] [TODO] legal - eliminate "All Rights Reserved."

2006-05-26 Thread Paul Johnson
eed, http://www.copyright.gov/circs/circ03.html only talks about: The symbol © (the letter C in a circle), or the word “Copyright,” or the abbreviation “Copr.” I wouldn't have said anything, but your correction seems to indicate that the (C) is important. Is my information outdated? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: suspend and resume opcode

2005-11-04 Thread Paul Johnson
On Fri, Nov 04, 2005 at 11:02:42AM -0500, Will Coleda wrote: > The mail list strips out .t attachments (Robert? is this necessary?) This was changed on perl5-porters a few weeks ago, and since then I don't recall seeming a marked increase in troff spam. -- Paul Johnson - [EMAIL PROTECT

Re: [CVS ci] class refactoring 1 - Integer

2004-12-10 Thread Paul Johnson
the quoting and attributions. s/le/wle/ gives the hint too. Mike is quite right of course. And the code which handles this is one of the more simple parts of perl5. Provided you're not too worried about what's going on under the macros, I suppose. if (SvTRUE(left) != SvTRUE(right)) RETSETYES; else RETSETNO; -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: References to hash elements?

2004-01-08 Thread Paul Johnson
ewly created PMCs, that's ok, but in the case of > retrieving a reference or a value from an hash with an unexisting key, > it would matter, the one does autovifiy the latter doesn't. I wonder whether this message from Larry might be useful? http://www.mail-archive.com/[EMAIL PROTECTED]/msg14525.html -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: De Morgan's theorum

2002-02-20 Thread Paul Johnson
gt; >However, I just don't > >think most programs spend enough time doing logical comparison to > >really matter. Besides which, such techniques work best on complex > >expressions, which are rare indeed. I suspect this is true. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: New Todo

2002-01-29 Thread Paul Johnson
On Tue, Jan 29, 2002 at 09:57:16PM +, Simon Cozens wrote: > I've started a new TODO list. Remind me of anything else that needs > doing; Sandboxes. Has anyone given any thought as to whether Parrot should support "use Safe", and if so, how? -- Paul Johnson - [

.pl extension

2001-09-14 Thread Paul Johnson
we get too many .pl files. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Using int32_t instead of IV for code

2001-09-13 Thread Paul Johnson
32_t be platform-specific. I'd have thought it made sense to define it as a bytecode_t type, or some such which could be platform specific. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: op code bof

2001-07-19 Thread Paul Johnson
ah. Our canon of scripture? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Between-Opcode Callbacks

2001-07-09 Thread Paul Johnson
trap?), which is only > >one byte (no args) and which breaks into a handler which can check > >various flags and do stuff. very reminiscent of the trap op code of many > >cpu's. > > Sure, we can do that too. I think something like that will be necessary. And ultimately it's going to be possible to directly manipulate the optree, even while a program is running, right? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Between-Opcode Callbacks

2001-07-08 Thread Paul Johnson
On Sat, Jul 07, 2001 at 09:58:54PM -0400, Uri Guttman wrote: > >>>>> "PJ" == Paul Johnson <[EMAIL PROTECTED]> writes: > > PJ> Some method of attaching a callback function to arbitrary opcodes would > PJ> be very useful. > > how would y

Re: Between-Opcode Callbacks

2001-07-07 Thread Paul Johnson
ere they both false? Verilog, a Hardware Description Language, is an example of a language in which this is possible, using the VPI. > For symmetry a begin-of-block opcode can be imagined, also, but I have > hard time thinking what would setup the code to run in there unless we > allow for time travel :-) See above? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net