Re: Prothon IS different inside
Joe Mason <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jul 10, 2004 at 02:18:08PM -0700, Lenard Lindstrom wrote: > On Sat, 10 Jul 2004 13:52:24 -0700 Mark Hahn <[email protected]> wrote: > > > Paul Prescod wrote: > > > > >> Am I crazy? Is my object-oriented interpreter doomed because it is > > >> so out of the mainstream? > > > > > > Python's interpreter is totally object oriented. > > > > P.S. Thanks for making me feel better about not being crazy. (At least not > > in this regard.) :-) > > > Maybe it is possible to ignore Parrots built-in types, which are for Perl, and > just use the objects. That must be the plan for Python. The int, float, and string > are there for future optimizations, if desired. Well, you have to use them when writing the object internals. Otherwise, what actual Parrot asembly instructions do you emit while adding two int objects? You just wouldn't map them to real Prothon types like you would with objects. Joe