Re: [perl #22706] IMCC (& Parrot) crash with -t when invoke is run

2003-06-30 Thread Leopold Toetsch
Clinton Pierce wrote: Clarification: running an invoke() at *any* time will cause all subsequent tracing to segfault. I can't reproduce that on Linux (even with Dan's patch not applied yet). leo

Re: [perl #22854] Incongruity in Parrot IO and/or Parrot I/O crashes on STDIN read

2003-06-30 Thread Leopold Toetsch
Clinton A. Pierce (via RT) wrote: Suggestions welcome! First, always check the result of IO operations. If something fails, these return a PerlUndef, so: .sub _main fdopen $P1, 0, "r" # STDIN defined $I0, $P1 unless $I0, err read $S0, $P1, 255 print $S0

Parrot Constants

2003-06-30 Thread Leopold Toetsch
Some parrot opcodes like interpinfo, stringinfo, warnings{on,off} have constant items as an argument selecting some action. These are well documented and working fine, but rather unreadable in PASM/PIR source code and are suboptimal if some item ever needs a different value. So I'd like to gene

[perl #22855] [PATCH] build imcc as parrot

2003-06-30 Thread via RT
# New Ticket Created by Leopold Toetsch # Please include the string: [perl #22855] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=22855 > Attached is a minimum patch to build imcc as the parrot executable - renames orig par

Re: [perl #22854] Incongruity in Parrot IO and/or Parrot I/O crashes on STDIN read

2003-06-30 Thread Clinton Pierce
> First, always check the result of IO operations. If something fails, > these return a PerlUndef, so: > .sub _main > fdopen $P1, 0, "r" # STDIN > defined $I0, $P1 *Doh* Stupid Newbie Error. > unless $I0, err > read $S0, $P1, 255 >

[perl #22856] IMCC fails to build

2003-06-30 Thread via RT
# New Ticket Created by Simon Glover # Please include the string: [perl #22856] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=22856 > With a fresh checkout, I get: imcc.y:401: conflicting types for `YYSTYPE' imcparser

Re: [perl #22856] IMCC fails to build

2003-06-30 Thread Leopold Toetsch
Simon Glover <[EMAIL PROTECTED]> wrote: > With a fresh checkout, I get: > imcc.y:401: conflicting types for `YYSTYPE' > imcparser.h:6: previous declaration of `YYSTYPE' > /usr/lib/bison.simple: In function `yyparse': > /usr/lib/bison.simple:432: warning: passing arg 1 of `yylex' from > incom

Re: [perl #22854] Incongruity in Parrot IO and/or Parrot I/O crashes on STDIN read

2003-06-30 Thread Leopold Toetsch
Clinton Pierce <[EMAIL PROTECTED]> wrote: >> .sub _main >> fdopen $P1, 0, "r" # STDIN BTW fdopen $P1, 0, "<" # read STDIN >> 3. its currently only defined for PIO_OS_UNIX > Okaaay, so the plan is for this to work and I should probably code this way anyway

[perl #22857] Parrot IO test failures

2003-06-30 Thread via RT
# New Ticket Created by Simon Glover # Please include the string: [perl #22857] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=22857 > Hi, I'm getting failures in tests 1 & 2 in t/pmc/io.t; however, both tests seem to

Re: [perl #22856] IMCC fails to build

2003-06-30 Thread Simon Glover
On Mon, 30 Jun 2003, Leopold Toetsch wrote: > Simon Glover <[EMAIL PROTECTED]> wrote: > > With a fresh checkout, I get: > > > imcc.y:401: conflicting types for `YYSTYPE' > > imcparser.h:6: previous declaration of `YYSTYPE' > > /usr/lib/bison.simple: In function `yyparse': > > /usr/lib/bison.

Re: [perl #22857] Parrot IO test failures

2003-06-30 Thread Simon Glover
A further data point: the tests pass if I use IMCC to assemble them, rather than assemble.pl Simon

Re: [ANNOUNCE] Test::Warn::None 0.02

2003-06-30 Thread Fergal Daly
On Wednesday 25 June 2003 20:15, Adrian Howard wrote: > Add an explicit "test script finished" footer? But how does the footer-adder know that the correct number of tests ran. You would need to declare a plan to run x additional extensions at which point you're doing sub-plans. I suppose I'm th

Re: multi stack question/grumble

2003-06-30 Thread Benjamin Goldberg
Dave Whipp wrote: > Matt Fowles >> Were this C++ I would say that we could write a single general >> purpose stack and use template meta-programming to avoid the >> overhead. Is there a similar solution available in C? >> >> My instincts tell me that this solution will be dirty to the tune of >> m

Re: Exceptions

2003-06-30 Thread Benjamin Goldberg
Brent Dax wrote: > > Benjamin Goldberg: > # Concievably, we could then examine the exception, and maybe decide > # that it was nonfatal, and resume execution from just after the place > # it was thrown from. > > The problem with that is that some exceptions are unresumable. For > example, except

Re: Exceptions

2003-06-30 Thread Piers Cawley
Leopold Toetsch <[EMAIL PROTECTED]> writes: > Dan Sugalski <[EMAIL PROTECTED]> wrote: >> Exception handlers really strike me as anonymous lexically scoped >> subroutines that get called with just one parameter--the exception >> object. As far as the engine should be concerned, when an exception >>

Re: [perl #22857] Parrot IO test failures

2003-06-30 Thread Leopold Toetsch
Simon Glover <[EMAIL PROTECTED]> wrote: > I'm getting failures in tests 1 & 2 in t/pmc/io.t; however, both tests > seem to run fine if I run them in the debugger. valgrind does indicate, that there are unitialized items in many parts of io_buf.c. (I don't know, if these tests even should use the

Re: Exceptions

2003-06-30 Thread Dan Sugalski
At 11:53 AM -0400 6/30/03, Benjamin Goldberg wrote: Brent Dax wrote: Benjamin Goldberg: # Concievably, we could then examine the exception, and maybe decide # that it was nonfatal, and resume execution from just after the place # it was thrown from. The problem with that is that some exception

[ANNOUNCE] Test::NoWarnings 0.01

2003-06-30 Thread Fergal Daly
Hi all, I've settled on Test::NoWarnings as the right name for this. This improves on Test::Warn 0.02 by - not running the test in forked children - capturing the warnings as objects which is to say that for most people, it's exactly the same. F

Re: [perl #22855] [PATCH] build imcc as parrot

2003-06-30 Thread Andy Dougherty
On Mon, 30 Jun 2003, Leopold Toetsch wrote: > Attached is a minimum patch to build imcc as the parrot executable > Please give it a try on other platforms, especially non Linux. Sun's make failed with the following error: make: Fatal error: Don't know how to make target `languages/imcc/*.o'

Re: CPS invoke & return context

2003-06-30 Thread Piers Cawley
Dan Sugalski <[EMAIL PROTECTED]> writes: > At 11:19 PM +0200 6/29/03, Leopold Toetsch wrote: >>Dan Sugalski wrote: >>> ... I'd also like to be able to manipulate the stacks in a context, >>> pushing things on them, changing values on them, and generally >>> messing about with the things, so I'm al

Re: CPS invoke & return context

2003-06-30 Thread Dan Sugalski
At 4:26 PM -0400 6/30/03, Piers Cawley wrote: Dan Sugalski <[EMAIL PROTECTED]> writes: At 11:19 PM +0200 6/29/03, Leopold Toetsch wrote: Dan Sugalski wrote: ... I'd also like to be able to manipulate the stacks in a context, pushing things on them, changing values on them, and generally messin

This week's summary

2003-06-30 Thread Piers Cawley
The Perl 6 Summary for the week ending 20030629 Welcome to the third of my US tour Perl 6 summaries. Once again I'm pleased to report that the denizens of the Perl 6 mailing lists continue to make the life of a touring summarizer an easy one by not posting all that much to the lists

Re: This week's summary

2003-06-30 Thread Alan Burlison
Piers Cawley wrote: Small Perl task for the interested Want to get involved in the Parrot development process? Don't know much about Virtual Machine design and implementation? Do know Perl? Dan has a small but interesting task for you. At present, Parrot gets built without any co

Re: This week's summary

2003-06-30 Thread Rafael Garcia-Suarez
Alan Burlison wrote in perl.perl6.internals : > Piers Cawley wrote: > >> Small Perl task for the interested >> Want to get involved in the Parrot development process? Don't know much >> about Virtual Machine design and implementation? Do know Perl? Dan has a >> small but interesting

Re: This week's summary

2003-06-30 Thread Alan Burlison
Rafael Garcia-Suarez wrote: Hmm, I'm only a lurker, but that looks *very* suspect to me. Some compilers may choose to reorder even without optimization turned on. I'd say that it is a bug in Parrot if it requires optimization to be off for this code - how many different compilers have you tri

Re: [perl #22706] IMCC (& Parrot) crash with -t when invoke is run

2003-06-30 Thread Clinton Pierce
> I checked in a fix for something that *may* have fixed this, but I'm > not sure as I can't test it out at the moment. Try sync'ing up to CVS > and giving it another whirl. Still no luck. No luck either in getting a stack trace to the problem. This may just be a quirk in MSVS.NET. I can't ge

Re: [perl #22706] IMCC (& Parrot) crash with -t when invoke is run

2003-06-30 Thread Leopold Toetsch
Clinton Pierce <[EMAIL PROTECTED]> wrote: >> I checked in a fix for something that *may* have fixed this, but I'm >> not sure as I can't test it out at the moment. Try sync'ing up to CVS >> and giving it another whirl. > Still no luck. No luck either in getting a stack trace to the problem. > Th

Re: [perl #22855] [PATCH] build imcc as parrot

2003-06-30 Thread Leopold Toetsch
Andy Dougherty <[EMAIL PROTECTED]> wrote: > On Mon, 30 Jun 2003, Leopold Toetsch wrote: >> Attached is a minimum patch to build imcc as the parrot executable >languages/imcc/*.o > languages/imcc/*.o doesn't match anything Brain dead make? Anyway, this line could for sure be dele