bit rot (and other tribulations) in parrot/languages/*
A number of the language examples in parrot seem to not work as well as they once might have(or should). The learning curve to get familiar something like parrot is much easier if things like this just work. So, if anybody cares, here's the list of issues I ran into in the languages directory: ook: executing: parrot ook.pbc generates: invoke() not implemented in class 'PerlUndef' basic: no instructions on how to actually run the .bas examples. Tried a few thing like parrot basic.pbc eliza.bas and got nothing but BAD KEYWORD. Probably my usage error, but at a loss how to use it. Befunge-93: Trivial, but a fresh cvs checkout has a lingering empty Befunge-93 directory. cola: doesn't compile bison -v -y -d -o parser.c cola.y cola.y:75.7-11: type redeclaration for class_decl cola.y:84.7-11: type redeclaration for element_access cola.y:91.7-11: type redeclaration for relational_expr cola.y:91.7-11: type redeclaration for equality_expr forth: not an error, but no examples of usage tried a helloworld, but didn't get anywhere miniperl: make fails t/harness make: t/harness: Command not found make: *** [test] Error 127 parrot_compiler: unclear what its relationship(if any) to the top level assemble.pl is. Looks like it might be a proof of concept assembler written in native parrot, but a little unclear. A tiny readme would be good. Also, tried ../../parrot pc.pbc and got no such file or directory. When I did ../../parrot pc.pbc sample.pasm, I didn't get an error, but it didn't do anything. perl6: The perl6 interpreter/compiler is fine, but some it's examples are broken: qsort.p6: get_pmc_keyed() not implemented in class 'PerlUndef' bnf.p6: Undefined subroutine P6C::Tree::concat_string called at P6C/Tree.pm line 1053. qsort.p6: [IMCC::add_function (diagnostic) main] Redefining function reverse [IMCC::add_function (diagnostic) main] Redefining function main error:imcc:mk_address file examples/qsort.imc line 73: Label '_reverse' already defined Error: '../imcc/imcc -oexamples/qsort.pasm examples/qsort.imc' failed with exit code 1 Stopped at ./perl6 line 312, DATA chunk 155. ruby: absolutely no idea what the status of this one is. The README is a placeholder. -Tupshin
Re: bit rot (and other tribulations) in parrot/languages/*
On Tue, Feb 18, 2003 at 02:14:39AM -0800, Tupshin Harper wrote: Befunge-93: Trivial, but a fresh cvs checkout has a lingering empty Befunge-93 directory. This is a CVS annoyance. It's a good idea to add: checkout -P update -d -P to your ~/.cvsrc. You won't get empty directories if you use -P. As for the rest of your problems, I'm clueless. :-) -- Twisted | Christopher Armstrong: International Man of Twistery Radix | Release Manager, Twisted Project -+ http://twistedmatrix.com/users/radix.twistd/
Re: bit rot (and other tribulations) in parrot/languages/*
Tupshin Harper wrote: A number of the language examples in parrot seem to not work as well as they once might have(or should). The learning curve to get familiar something like parrot is much easier if things like this just work. So, if anybody cares, here's the list of issues I ran into in the languages directory: ook: executing: parrot ook.pbc generates: invoke() not implemented in class 'PerlUndef' Missing program argument $ make test $ ../imcc/imcc ook.pasm test.ook basic: $ perl basic.pl no instructions on how to actually run the .bas examples. yep. LOAD bla.bas ? cola: doesn't compile Seems to be written for old bison. forth: not an error, but no examples of usage tried a helloworld, but didn't get anywhere ../imcc/imcc forth.pasm 2 dup + . 4 miniperl: make fails Yep parrot_compiler: parrot.pasm has some comments. perl6: The perl6 interpreter/compiler is fine, but some it's examples are broken: qsort.p6: delete the function reverse (its internal now) in qsort.p6, the it runs fine $ perl6 -r qsort.p6 ruby: dunno I fear you are right, bit rot -Tupshin leo
Re: bit rot (and other tribulations) in parrot/languages/*
At 02:14 AM 2/18/2003 -0800, Tupshin Harper wrote: A number of the language examples in parrot seem to not work as well as they once might have(or should). cola: doesn't compile bison -v -y -d -o parser.c cola.y cola.y:75.7-11: type redeclaration for class_decl cola.y:84.7-11: type redeclaration for element_access cola.y:91.7-11: type redeclaration for relational_expr cola.y:91.7-11: type redeclaration for equality_expr I just checked in a fix for these, it was simple redeclarations of grammar rules. The rest of the grammar is still in sad shape, granted, but my rewrite is too incomplete to checkin (being in C++ it wont overlay easily). Hope this did the trick. -Melvin