Re: Compiler Toolkit

2009-11-24 Thread kjstol
HI, I authored the thing, but dont' have time and tuits to update it, unfortunately, sorry. I think pmichaud was planning to write a new tutorial. we should consider whether it's worth the effort to update the old one. If so, the best way would be to go through each episode, and see what changed,

Re: [perl #39714] [TODO] Refactor IMCC to remove static globals

2009-02-13 Thread kjstol
On Fri, Feb 13, 2009 at 12:55 AM, jerry gay jerry@gmail.com wrote: On Thu, Feb 12, 2009 at 15:53, Will Coleda w...@coleda.com wrote: On Thu, Feb 12, 2009 at 6:09 PM, kjstol parrotc...@gmail.com wrote: On Thu, Feb 12, 2009 at 9:22 PM, Will Coleda via RT parrotbug-follo

Re: [perl #36283] [TODO] pasm/pir: forbid assignment syntax for inout params

2009-02-13 Thread kjstol
not a complete disaster... Adding the extra code to achieve this is also prone for new bugs; I'd say, let's document it and close the ticket. (pirc does catch these cases) kjs --Andrew Whitworth On Wed, Feb 11, 2009 at 7:37 PM, kjstol parrotc...@gmail.com wrote: I almost couldn't believe how

Re: [perl #39714] [TODO] Refactor IMCC to remove static globals

2009-02-12 Thread kjstol
On Thu, Feb 12, 2009 at 9:22 PM, Will Coleda via RT parrotbug-follo...@parrotcode.org wrote: On Tue Jul 04 19:30:44 2006, autri...@gmail.com wrote: IMCC currently relies on a lot of static globals to carry state, and cannot reliably restore them when an error occurs. (grep for static and

Re: [perl #36283] [TODO] pasm/pir: forbid assignment syntax for inout params

2009-02-11 Thread kjstol
I almost couldn't believe how I could have missed that, until I remembered what was the problem.Thing is, there are some ops (and of course, this should be possible, as users can load dynops) that have different variants, with different directions for the first arg. For instance: (can't remember

Re: [perl #55586] [BUG] Parrot no longer uses HLL_map types?

2009-02-06 Thread kjstol
.HLL has been changed into a one-operand directive:write .HLL 'Tcl'. the second operand indicated the (I think) shared lib containing the language's PMCs, if any. Use '.loadlib' for that. So: .HLL 'Tcl' .loadlib 'tcl_group' is equivalent to the old, deprecated and removed: .HLL 'Tcl',

Re: [perl #60940] Test failure: t/dynpmc/foo.t

2009-01-31 Thread kjstol
it's been failing for a while (until quite recently, iirc), but now it seems ok.Just svn up'ed, and nmake'd test; no failures. I'll report any new failures to trac, if necessary. thanks for coming back to me. Ticket can be closed. kjs On Sun, Feb 1, 2009 at 12:11 AM, James Keenan via RT

Re: [perl #41825] [BUG] morph vtable override not working in PIR

2009-01-15 Thread kjstol
On Thu, Jan 15, 2009 at 6:32 PM, Andrew Whitworth via RT parrotbug-follo...@parrotcode.org wrote: Okay, I've committed a variant of my patch in r35599, but I've run into some issues while trying to test this. The morph VTABLE interface takes an INTVAL which represents the PMC type to morph

Re: [perl #61744] error:imcc:syntax error, unexpected VAR, expecting '(' ('var')

2008-12-27 Thread kjstol
Hi, it seems to me this syntax error message indicates that it doesn't know the opcode 'rebless_subclass'. The parser expects a '(', which indicates that it wants to parse rebless_subclass as a sub name. Haven't built parrot in 10 days myself now, so can't tell why it's not working and whether it

Re: [perl #41218] [CAGE] warnings in imcc lexer code

2008-12-04 Thread kjstol
On Wed, Dec 3, 2008 at 7:25 PM, Will Coleda via RT [EMAIL PROTECTED] wrote: On Tue Jan 09 06:43:10 2007, particle wrote: compilers\imcc\imclexer.c(4310) : warning C4018: '' : signed/unsigned mismatch compilers\imcc\imcc.l(662) : warning C4090: 'function' : different 'const' qualifiers

test failure: t/pmc/eval

2008-11-30 Thread kjstol
On win32, XP, I get the following test failure, with output: t/pmc/eval..ok 1/17 t/pmc/eval..NOK 10/17# Failed test 'eval.get_string - same file' # at t/pmc/eval.t line 319. # Exited with error code: 1 # Received: # hello from