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

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 #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

[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

[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

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

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

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

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: [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

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 #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

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 #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 #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 #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: [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: [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: [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.

[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 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