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

Reply via email to