[Cuis] Xtreams , Ometa and related

H. Hirzel hannes.hirzel at gmail.com
Wed May 20 00:08:34 CDT 2015


Phil

Thank you for the report where you get stuck when porting OMeta to Cuis.

#compilerClass

Would it be possible to re-add #compilerClass through a compatibility package?

https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/tree/master/CompatibilityPackages

--Hannes



On 5/20/15, Phil (list) <pbpublist at gmail.com> wrote:
> On Tue, 2015-05-19 at 19:12 -0300, Edgar J. De Cleene wrote:
>> Your info is very useful.
>> The experiment until now is I can load OMeta in Squeak 4.6 from
>> SqueakSource.
>> In my fork wich is Cuis 3,2 can’t load and several tricks for having
>> the classes ordered before OMeta uses each failed.
>> So if you have the original .st of Alessandro , wish have it for try.
>> In Cuis as cloned from Github the preload package loads fine and the
>> examples works as in Squeak 4.6.
>> I send mail here with link to .jpg picture.
>> But post load fails.
>>
>
> OK, I've almost got it working again except for one tiny thing (that
> breaks everything)... #compilerClass no longer exists.  I've poked
> around and all of the compiler indirection has been removed (i.e.
> Compiler is hard-coded everywhere).  This completely breaks OMeta2 so
> unless Juan would consider bringing this functionality back, it's
> probably not going to work without essentially a rewrite.
>
> ... so that's why I gave up on it :-(
>
>>
>> Edgar
>>
>>
>> --
>> Edgar J. De Cleene
>> Sent with Sparrow
>>
>>
>> On Tuesday, May 19, 2015 at 6:55 PM, Phil (list) wrote:
>>
>> > On Sat, 2015-05-16 at 05:41 -0300, Edgar J. De Cleene wrote:
>> > > People:
>> > >
>> > >
>> > > I working in my SqueakRosCore fork and think if Xtreams should be
>> > > on it or
>> > > not.
>> > >
>> > >
>> > > Google surfing brings me
>> > >
>> > >
>> > > http://comments.gmane.org/gmane.comp.lang.smalltalk.squeak.general/156355
>> > >
>> > >
>> > > So, four years later I wish feedback about this.
>> > >
>> > >
>> > > Cool working examples if you know of any.
>> > >
>> > >
>> > > Opinions:
>> > >
>> > >
>> > > SqueakSource have two projects about Xtreams, which one I should
>> > > have ?
>> > >
>> > >
>> > > Ometa pay same day the work for having it into the .image ?
>> >
>> >
>> > OK, it's all coming back to me as to why my port of OMeta2 died: I
>> > had
>> > it working perfectly in Cuis 1.0. I think I also had it working in
>> > Cuis
>> > 2.0 (I even have a .pck which I *believe* was kinda, sorta had
>> > working
>> > at one point... but now it can only be read in, it no longer works).
>> >
>> >
>> > IIRC, the issue was that part of OMeta is written in OMeta so you
>> > can't
>> > just load it in the way you would a regular package. I think
>> > original
>> > work by Alessandro was a .st file which had a very specific ordering
>> > of
>> > code to load and ran some code as part of the filein which installed
>> > OMeta into the image. The SqueakSource package addressed the loading
>> > issues by splitting it in 2: a preload and postload package. I
>> > believe
>> > the preload package patches the parser so that the postload package
>> > can
>> > even be parsed by Squeak. Then there is some code that gets called
>> > after the postload package has been read in that actually patches
>> > OMeta
>> > into the Squeak compiler. It's a bit tricky and changes to the
>> > Smalltalk parser/compiler since then will require some changes (I
>> > believe it broke as a result of the changes for closure support
>> > being
>> > added ~2012 or so)
>> >
>> >
>> > I'm not sure how far you've gotten with it on your own already... if
>> > what I have might be helpful, let me know and I'll see if I can't
>> > clean
>> > it up a bit and put it up on github.
>> >
>> >
>> > >
>> > >
>> > > Edgar
>> > > @morplenauta en twitter
>> >
>> >
>> > Thanks,
>> > Phil
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Cuis mailing list
>> > Cuis at jvuletich.org
>> > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>>
>>
>> _______________________________________________
>> Cuis mailing list
>> Cuis at jvuletich.org
>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
>
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>




More information about the Cuis mailing list