Re: pynie

19 views
Skip to first unread message

Ashraya

unread,
Oct 17, 2013, 6:03:26 AM10/17/13
to Chris Burdess, Duke Leto, Will Coleda, Allison Randal, parro...@lists.parrot.org, parro...@googlegroups.com, parro...@gmail.com
Thanks a lot, Chris, for the diffs. I could install pynie now. But as you said, I am getting the same errors :

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

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

root@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@CN:/home/ubuntu/pynie#

Please advise.

Esash



Thanks & Regards,
Ashraya S Shiva



On Sun, Oct 13, 2013 at 10:13 PM, Chris Burdess <parro...@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

Ashraya

unread,
Oct 28, 2013, 6:10:52 AM10/28/13
to Chris Burdess, Duke Leto, Will Coleda, Allison Randal, parro...@lists.parrot.org, parro...@googlegroups.com, parro...@gmail.com
Hi All,

Can anyone please tell me where to find older versions of parrot ? I want to download 5.0.0 version. Please help.

Thanks,
Esash

Thanks & Regards,
Ashraya S Shiva



Reply all
Reply to author
Forward
0 new messages