pynie

Ashraya theemeraldsoul at gmail.com
Thu Oct 17 10:03:26 UTC 2013


Thanks a lot, Chris, for the diffs. I could install pynie now. But as you
said, I am getting the same errors :

root at CN:/home/ubuntu/pynie# ./pynie

Pynie: a Python compiler for Parrot.
>>> print ("Hello World")
Null PMC access in get_attr_str()
>>>

root at CN:/home/ubuntu/pynie# ./pynie hello.py
Null PMC access in get_attr_str()
current instr.: 'pynie;Pynie;Grammar;TOP' pc 470
(include/gen_grammar.pir:95)
called from Sub 'pynie;PCT;HLLCompiler;parse' pc 821
(compilers/pct/src/PCT/HLLCompiler.pir:458)
called from Sub 'pynie;PCT;HLLCompiler;compile' pc 459
(compilers/pct/src/PCT/HLLCompiler.pir:326)
called from Sub 'pynie;PCT;HLLCompiler;eval' pc 1076
(compilers/pct/src/PCT/HLLCompiler.pir:577)
called from Sub 'pynie;PCT;HLLCompiler;evalfiles' pc 1496
(compilers/pct/src/PCT/HLLCompiler.pir:759)
called from Sub 'pynie;PCT;HLLCompiler;command_line' pc 1721
(compilers/pct/src/PCT/HLLCompiler.pir:874)
root at CN:/home/ubuntu/pynie#

Please advise.

Esash


Thanks & Regards,*
Ashraya S Shiva*


On Sun, Oct 13, 2013 at 10:13 PM, Chris Burdess <parrot-dev at bluezoo.org>wrote:

> With the patches to get pynie building again, I'm still encountering errors
> while getting it to interpret even basic Python statements: anything
> evaluated results in a "Null PMC access".
>
> This seems to be the important part from running pynie with parrot
> debugging:
>
> 01d3 get_results PC4 (1), P9
>  PC4=FixedIntegerArray=PMC(0x18775a0)
> P9=Object(Pynie;Grammar)=PMC(0x9318e28)
> 01d6 getattribute P1, P9, "$.pos"
>  P1=PMCNULL P9=PMCNULL
>
> Any pointers welcome.
> --
> Chris Burdess
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20131017/5b0f3b51/attachment.html>


More information about the parrot-dev mailing list