Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PMCs in the dynclasses directory

0 views
Skip to first unread message

Roger Browne

unread,
Sep 27, 2005, 8:32:17 AM9/27/05
to perl6-i...@perl.org
The Amber compiler currently generates all its types as PIR objects, but
I'm considering implementing the basic types as PMCs instead.

If I do this, can I have the Amber PMCs included in the dynclasses
directory of the Parrot distribution?

(Assigning copyright to the Perl Foundation would not be a problem).

Regards,
Roger Browne


Leopold Toetsch

unread,
Sep 27, 2005, 9:11:13 AM9/27/05
to Roger Browne, perl6-i...@perl.org
Roger Browne wrote:
> The Amber compiler currently generates all its types as PIR objects, but
> I'm considering implementing the basic types as PMCs instead.
>
> If I do this, can I have the Amber PMCs included in the dynclasses
> directory of the Parrot distribution?

Have a look at languages/tcl/classes - it contains Tcl PMCs. We could do
the same for languages/amber.

> (Assigning copyright to the Perl Foundation would not be a problem).

Great.

> Regards,
> Roger Browne

leo

Roger Browne

unread,
Sep 27, 2005, 9:33:47 AM9/27/05
to perl6-i...@perl.org
On Tue, 2005-09-27 at 15:11 +0200, Leopold Toetsch wrote:
> Have a look at languages/tcl/classes - it contains Tcl PMCs. We could do
> the same for languages/amber.

Thanks - now I just need to learn to program in C :-)

Roger

Will Coleda

unread,
Sep 27, 2005, 12:54:33 PM9/27/05
to Roger Browne, perl6-i...@perl.org
I see no problem with this, but:

I would encourage that any Amber specific PMCS instead go into
languages/amber/classes, in an effort to keep classes/ and dynclasses/
restricted to the basic parrot types.

(see languages/tcl and config/gen/makefiles/tcl.in) for examples on how to
set this up.

Regards!

Will Coleda

unread,
Sep 27, 2005, 1:12:12 PM9/27/05
to Roger Browne, perl6-i...@perl.org
Will Coleda apparently needs to actually read all of his mail in the morning
before replying to it.

^_^

0 new messages