[prev in list] [next in list] [prev in thread] [next in thread]
List: perl6-internals
Subject: Re: prototype-based language under parrot
From: Bernhard Schmalhofer <Bernhard.Schmalhofer () gmx ! de>
Date: 2007-11-30 17:08:21
Message-ID: 47504385.3090800 () gmx ! de
[Download RAW message or body]
Robert Lemmen schrieb:
> hi folks,
>
> i want to write a compiler for a small prototype-based language that
> should target parrot. as a reminder: prototype-based means that i have
> objects, and objects are cloned from other objects, but i have no
> classes. objects consist of methods and variables that are only
> accessible to methods on the same object.
>
> my question is: how should such code look on pir level? has anyone done
> something like it before? my current solution is to have a namespace for
> each object, with methods in it:
>
I have no answer for that. My suggestion is to look how it is solved in
PJS, http://users.fulladsl.be/spb1622/pjs/.
Regards,
Bernhard
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic