Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
bit rot (and other tribulations) in parrot/languages/*
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tupshin Harper  
View profile  
 More options Feb 18 2003, 5:48 am
Newsgroups: perl.perl6.internals
From: tups...@tupshin.com (Tupshin Harper)
Date: Tue, 18 Feb 2003 02:14:39 -0800
Local: Tues, Feb 18 2003 5:14 am
Subject: 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Armstrong  
View profile  
 More options Feb 18 2003, 7:48 am
Newsgroups: perl.perl6.internals
From: ra...@twistedmatrix.com (Christopher Armstrong)
Date: Tue, 18 Feb 2003 07:08:12 -0500
Local: Tues, Feb 18 2003 7:08 am
Subject: 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/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Feb 18 2003, 8:48 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Tue, 18 Feb 2003 14:22:09 +0100
Local: Tues, Feb 18 2003 8:22 am
Subject: 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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Melvin Smith  
View profile  
 More options Feb 18 2003, 10:48 am
Newsgroups: perl.perl6.internals
From: mrjoltc...@mindspring.com (Melvin Smith)
Date: Tue, 18 Feb 2003 10:02:40 -0500
Local: Tues, Feb 18 2003 10:02 am
Subject: 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »