Hi! I adopted the Zcode interpreter that leo posted in February. Luckily, he did the hard parts.
I added some opcodes, README/CHANGES/TODO files, and testing, and, finally, did my first Parrot checkin. How exciting! There's much much more to do - 41 more opcodes just for version 3 of the Z-machine. And then of course there's Dan's Holy Grail of making the Zops into native parrot ops... The only bad news is there's something wrong with my make test. The following work: - perl t/harness in languages/Zcode - perl t/whatever.t in languages/Zcode - make test in languages/Zcode - make Zcode.test in languages/ However, I couldn't put Zcode into languages/testall. It breaks when it tries to run my tests. I managed to narrow this down to a very weird Perl behavior I don't understand at all: testportal:~>mkdir z testportal:~>cd z testportal:~/z>mkdir y testportal:~/z>touch y/foo testportal:~/z>perl -we 'system("cd y")' Can't exec "cd": No such file or directory at -e line 1. testportal:~/z>perl -we 'system("cd y && ls")' foo Because of the above, my tests break when they do: run_command("$parrot z3.pir $test_file", CD=>"Zcode" (I need to cd into Zcode so that I can run z3.pir and find the z*.pir files it depends on.) Any thoughts on why this is happening? -Amir Karger