Re: [perl #38023] [TODO] build - support pkgconfig

2006-01-10 Thread Joshua Hoblitt
I've add simple install support for pkgconfig as r11035. It's currently hardcoded as being under libdir as this is what every automake installed package I know of does. If there's ever compelling reason to install it someplace else we can add a separate 'pkgconfigdir' option for it. Cheers, -J

[perl #38197] [TODO] docs - add linking discussion to docs/embed.pod

2006-01-10 Thread via RT
# New Ticket Created by Joshua Hoblitt # Please include the string: [perl #38197] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38197 > Using pkg-config and/or parrot-config to link against libparrot should be discussed.

Re: [perl #38023] [TODO] build - support pkgconfig

2006-01-10 Thread Nick Glencross
On 1/10/06, Joshua Hoblitt <[EMAIL PROTECTED]> wrote: > On Tue, Jan 10, 2006 at 01:06:29AM +, Nick Glencross wrote: > > Joshua Hoblitt (via RT) wrote: > > > > >Parrot should support pkgconfig by installing a pc data file. It should > > >probably be named parrot.pc. > > > > > Ok, I can do this.

Re: SKIP blocks and the debugger

2006-01-10 Thread Adam Kennedy
Kirrily Robert wrote: Does anyone else find that SKIP: { } blocks bugger up the debugger? I'll be happily bouncing on the "n" key to get to round about the vicinity of the failing test, and then blam, it sees a skipped test and just fast-forwards to the end. K. Yep Actually, eval doe

Re: [svn ci] Changes to dynoplibs build process

2006-01-10 Thread Nick Glencross
On 1/10/06, Jonathan Worthington <[EMAIL PROTECTED]> wrote: > "Jonathan Worthington" <[EMAIL PROTECTED]> wrote: > > Note that dynamic op libs do not *work* on Win32 yet > They do now - I'm using them with my .NET to PIR translator and they work > nicely. > > I would really like some feedback from M

Re: [svn ci] Changes to dynoplibs build process

2006-01-10 Thread Jonathan Worthington
"Nick Glencross" <[EMAIL PROTECTED]> wrote: On 1/10/06, Jonathan Worthington <[EMAIL PROTECTED]> wrote: > I would really like some feedback from MinGW and cygwin folks on how > dynoplibs build and work for them Works straight off on cygwin. :-) Gives the answers you wanted. That's great, thank

Re: [perl #37940] substr and memory issues

2006-01-10 Thread Leopold Toetsch
Leopold Toetsch wrote: On Dec 14, 2005, at 12:52, Joshua Isom (via RT) wrote: [ substr related PANIC ] After a lengthy session with gdb and some added debug prints, I've now tracked down and fixed the reason for the memory panic. The sweep code tried to avoid freeing buffers, if there were

Re: [perl #38197] [TODO] docs - add linking discussion to docs/embed.pod

2006-01-10 Thread Nick Glencross
On 1/10/06, via RT Joshua Hoblitt <[EMAIL PROTECTED]> wrote: > # New Ticket Created by Joshua Hoblitt > # Please include the string: [perl #38197] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/rt3/Ticket/Display.html?id=38197 > > > > Using pkg-conf

Re: [perl #38197] [TODO] docs - add linking discussion to docs/embed.pod

2006-01-10 Thread Nick Glencross
On 1/10/06, Nick Glencross <[EMAIL PROTECTED]> wrote: > On 1/10/06, via RT Joshua Hoblitt <[EMAIL PROTECTED]> wrote: > > # New Ticket Created by Joshua Hoblitt > > # Please include the string: [perl #38197] > > # in the subject line of all future correspondence about this issue. > > # https://rt.

Re: [perl #38196] [PATCH] bug wrangler doc

2006-01-10 Thread jerry gay
On 1/9/06, via RT Joshua Hoblitt <[EMAIL PROTECTED]> wrote: > # New Ticket Created by Joshua Hoblitt > # Please include the string: [perl #38196] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/rt3/Ticket/Display.html?id=38196 > > > > Hi Folks, > > I

Re: [perl #38023] [TODO] build - support pkgconfig

2006-01-10 Thread jerry gay
On 1/9/06, Joshua Hoblitt <[EMAIL PROTECTED]> wrote: > As a side note, Parrot::Configure::Step is only partially tested and I'm > rather nervous about messing with it until it has better test coverage. > i'll work on this now. ~jerry

How to best have statements execute only during dev/testing?

2006-01-10 Thread Matisse Enzer
I'd like to create a class that provides a bunch of assertion methods, like Carp::Assert, etc. I want to have an object oriented interface, so in some code I'm developing I would have: use Devel::Assert; my $tester = Devel::Assert->new( on_fail => carp ); # or on_fail => cluck, etc.

Re: How to best have statements execute only during dev/testing?

2006-01-10 Thread Paul Johnson
On Tue, Jan 10, 2006 at 08:11:43AM -0800, Matisse Enzer wrote: > I'd like to create a class that provides a bunch of assertion > methods, like Carp::Assert, etc. I want to have an object oriented > interface, so in some code I'm developing I would have: > > > use Devel::Assert; > my $tes

Re: How to best have statements execute only during dev/testing?

2006-01-10 Thread Matisse Enzer
By the way - I have also been looking at Test::Assertions --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: How to best have statements execute only during dev/testing?

2006-01-10 Thread Matisse Enzer
On Jan 10, 2006, at 8:44 AM, Paul Johnson wrote: I suppose you could consider a source filter, but I couldn't recommend that. I am in fact considering using a filter, but it scares me - perhaps because I have never done it before. --- Ma

Lua2PIR translator

2006-01-10 Thread Klaas-Jan Stol
Hi, As you know, I've been playing with Lua for some time now, and my attempt to write a Lua compiler targetting Parrot has not been completely unsuccessful, but it was quite some work. Anyway, at some point I realized that PIR looks very much like Lua bytecodes (which I had inspected at tha

Re: [perl #38176] [PATCH] Fix string-to-integer conversion with multiple leading spaces

2006-01-10 Thread Leopold Toetsch
Until r10938, string-to-integer conversion was possible even when the string contained more than one space before the start of the integer. Thanks, applied - r11042. leo

Re: How to best have statements execute only during dev/testing?

2006-01-10 Thread Ben Evans
On Tue, Jan 10, 2006 at 05:44:45PM +0100, Paul Johnson wrote: > > This isn't an answer to your question, but in general production is the > environment in which your code will be exposed to the data and > conditions which have had the least testing, and to which you will have > the least access an

Re: [perl #38197] [TODO] docs - add linking discussion to docs/embed.pod

2006-01-10 Thread Nick Glencross
On 1/10/06, Nick Glencross <[EMAIL PROTECTED]> wrote: > On 1/10/06, Nick Glencross <[EMAIL PROTECTED]> wrote: > > On 1/10/06, via RT Joshua Hoblitt <[EMAIL PROTECTED]> wrote: > > > # New Ticket Created by Joshua Hoblitt > > > # Please include the string: [perl #38197] > > > # in the subject line

Re: How to best have statements execute only during dev/testing?

2006-01-10 Thread dakkar
Matisse Enzer wrote: The trick I want is that if my code is running in a production environment (perhaps determined at compile-time) then I want my Devel::Assert stuff to basically disappear. So the question is, what is the lowest-impact way to do that? This entry in BooK's use.perl journal mi

Re: How to best have statements execute only during dev/testing?

2006-01-10 Thread A. Pagaltzis
Hi Ben, * Ben Evans <[EMAIL PROTECTED]> [2006-01-10 18:20]: >I'd make a slightly stronger statement than that: If you were >congenitally insane, wilfully stupid or drunk, you could >consider a source filter for this. Depends. Additive filters that the same code can run without are sane when used

Parrot 0.4.1 in pkgsrc

2006-01-10 Thread Anders Nor Berle
Parrot 0.4.1 has been committed to pkgsrc. Anybody who uses pkgsrc, feel free to try it and let me know if it works ok. The repository may be browsed here: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/parrot -- - Anders Nor Berle

divide by zero exceptions

2006-01-10 Thread Leopold Toetsch
The integer and floatval opcodes div, fdiv, and cmod now all throw a E_ZeroDivisionError exception with the text "Divide by zero". JIT/i386 and JIT/ppc are also adapted accordingly. Updates for Integer, Float, Complex, BigInt PMCs are welcome. leo

Dynamic op libs now part of normal build

2006-01-10 Thread Jonathan Worthington
Hi, As of tonight, dynamic op librareis are now built as a standard part of the Parrot build process, plus there are some tests for them. Jonathan

[perl #38201] Integer pmc doesn't make store an int

2006-01-10 Thread via RT
# New Ticket Created by Joshua Isom # Please include the string: [perl #38201] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38201 > Given the code .sub main :main $N0 = 3.14 $P0 = new .Integer $P0 = $N0

[perl #38202] [TODO] divide by zero exceptions for PMCs

2006-01-10 Thread via RT
# New Ticket Created by jerry gay # Please include the string: [perl #38202] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38202 > see below. ~jerry -- Forwarded message -- From: Leopold Toetsch <[EMAIL P

[perl #38200] [PATCH] trivial omission in hints/cygwin.pm

2006-01-10 Thread via RT
# New Ticket Created by Greg Bacon # Please include the string: [perl #38200] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38200 > The attached patch against r11052 adds a missing trailing comma so parrot can configure a

Re: [perl #38200] [PATCH] trivial omission in hints/cygwin.pm

2006-01-10 Thread Jonathan Worthington
"Greg Bacon (via RT)" <[EMAIL PROTECTED]> wrote: The attached patch against r11052 adds a missing trailing comma so parrot can configure and build on Cygwin. Seems someone with a commit bit has beaten your patch to it. ;-) Though the "libparrot_is_shared" line seems to be gone altogether now

Documentation for Pugs / Parrot interaction

2006-01-10 Thread Peter Schwenn
Dear Internists, Could someone post two or three pointers to documentation that gives an overview (and more) of how to use Pugs with embedded Parrot, use Parrot "external" to Pugs, and other means of interaction of Pugs and Parrot: PGE, ... ? PeterS

Re: [perl #38201] Integer pmc doesn't make store an int

2006-01-10 Thread Will Coleda
FYI, the builtin types automatically shimmer based on assignment. .sub main :main $N0 = 3.14 $P0 = new .Integer $P0 = $N0 $S0 = typeof $P0 print $S0 print "\n" print $P0 print "\n" .end prints: Float 3.14 The assignment of an N register causes the Intege

Late Summary

2006-01-10 Thread Matt Fowles
All~ Fear not this weeks summary will come out... just a bit late. I have it half written, but my bed is calling oh so sweetly. Night all, Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary