Choice of image for OMeta?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Choice of image for OMeta?

Casey Ransberger-2
Given the choice of 3.8, or 3.9, do folks have a general suggestion? I've heard there were some "sweet" images over the years. I'm of course going to be unable to resist loading OMeta into a trunk image; I have low expectations for success with that, but I'm kind of interested in seeing what the difference is in the performance of the Javascript implementation when Cog is at the bottom of the stack. So I was thinking that I'd get it loaded into an older image, and try to get to know it there.

--
Casey Ransberger


Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Michael Haupt-3
Casey,

On Wed, Aug 25, 2010 at 7:43 AM, Casey Ransberger
<[hidden email]> wrote:
> Given the choice of 3.8, or 3.9, do folks have a general suggestion? I've
> heard there were some "sweet" images over the years. I'm of course going to
> be unable to resist loading OMeta into a trunk image; I have low
> expectations for success with that, but I'm kind of interested in seeing
> what the difference is in the performance of the Javascript implementation
> when Cog is at the bottom of the stack.

we're using OMeta2 (IIRC) in several projects in bleeding-edge
up-to-date trunk images (some atop Cog) around here. I don't recall
whether any particular fixes were required, but if that is the case,
we can surely help.

Best,

Michael

Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Hannes Hirzel
In reply to this post by Casey Ransberger-2
According to
http://tinlizzie.org/ometa/
it works in both 3.8 and 3.9.

I think both are fine and I am interested in reading about your
experience of loading it into Squeak 4.1trunk.

--Hannes

More about OMeta
http://www.tinlizzie.org/~awarth/
http://vpri.org/mailman/listinfo/ometa

Do you have other links?


On 8/25/10, Casey Ransberger <[hidden email]> wrote:

> Given the choice of 3.8, or 3.9, do folks have a general suggestion? I've
> heard there were some "sweet" images over the years. I'm of course going to
> be unable to resist loading OMeta into a trunk image; I have low
> expectations for success with that, but I'm kind of interested in seeing
> what the difference is in the performance of the Javascript implementation
> when Cog is at the bottom of the stack. So I was thinking that I'd get it
> loaded into an older image, and try to get to know it there.
>
> --
> Casey Ransberger
>

Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Hannes Hirzel
Thank you Michael for your encouragement to just try it.

1) Add http repository www.squeaksource.com/OMeta in the Monticello Browser

2a) Load the package 'OMeta2-preload'
2b) Load the package 'OMeta2'
2c) Load the package 'OMeta2-postload'

3) Evaluate the example
OMeta2Examples match: 3 with: #fact

I did this in the image http://ftp.squeak.org/trunk/Squeak4.2-10382-alpha.zip

Thank to Hans-Martin Mosner, I assume for making this a very smooth experience.

--Hannes


Follow up question to Casey: Where do you get your JavaScript interpreter from?

===================

www.squeaksource.com/OMeta2 refers to
http://tinlizzie.org/~awarth/ometa/ometa2.html
for more information

There is a note about

Known Issues
# This implementation uses Squeak's array literals ({...}), so it
won't work on other flavors of Smalltalk. I'll fix this over the next
few days.
# The Squeak debugger complains about OMeta rules — syntax error —
because it doesn't know about OMeta syntax. I have a plan to fix this,
but it's part of a bigger project (the OmniDebugger) which will take
some time to implement. Please let me know if you know of any quick
fixes.

Is this info still up to date?

On 8/25/10, Hannes Hirzel <[hidden email]> wrote:

> According to
> http://tinlizzie.org/ometa/
> it works in both 3.8 and 3.9.
>
> I think both are fine and I am interested in reading about your
> experience of loading it into Squeak 4.1trunk.
>
> --Hannes
>
> More about OMeta
> http://www.tinlizzie.org/~awarth/
> http://vpri.org/mailman/listinfo/ometa
>
> Do you have other links?
>
>
> On 8/25/10, Casey Ransberger <[hidden email]> wrote:
>> Given the choice of 3.8, or 3.9, do folks have a general suggestion? I've
>> heard there were some "sweet" images over the years. I'm of course going
>> to
>> be unable to resist loading OMeta into a trunk image; I have low
>> expectations for success with that, but I'm kind of interested in seeing
>> what the difference is in the performance of the Javascript
>> implementation
>> when Cog is at the bottom of the stack. So I was thinking that I'd get it
>> loaded into an older image, and try to get to know it there.
>>
>> --
>> Casey Ransberger
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Michael Haupt-3
Hannes,

On Wed, Aug 25, 2010 at 5:34 PM, Hannes Hirzel <[hidden email]> wrote:
> 2a) Load the package 'OMeta2-preload'
> 2b) Load the package 'OMeta2'
> 2c) Load the package 'OMeta2-postload'

actually, it is fine to just load the .mcm to be found there.

Best,

Michael

Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Casey Ransberger-2
In reply to this post by Hannes Hirzel
It's a .sar on the OMeta home page.

On Aug 25, 2010, at 8:34 AM, Hannes Hirzel <[hidden email]> wrote:

> Thank you Michael for your encouragement to just try it.
>
> 1) Add http repository www.squeaksource.com/OMeta in the Monticello Browser
>
> 2a) Load the package 'OMeta2-preload'
> 2b) Load the package 'OMeta2'
> 2c) Load the package 'OMeta2-postload'
>
> 3) Evaluate the example
> OMeta2Examples match: 3 with: #fact
>
> I did this in the image http://ftp.squeak.org/trunk/Squeak4.2-10382-alpha.zip
>
> Thank to Hans-Martin Mosner, I assume for making this a very smooth experience.
>
> --Hannes
>
>
> Follow up question to Casey: Where do you get your JavaScript interpreter from?
>
> ===================
>
> www.squeaksource.com/OMeta2 refers to
> http://tinlizzie.org/~awarth/ometa/ometa2.html
> for more information
>
> There is a note about
>
> Known Issues
> # This implementation uses Squeak's array literals ({...}), so it
> won't work on other flavors of Smalltalk. I'll fix this over the next
> few days.
> # The Squeak debugger complains about OMeta rules — syntax error —
> because it doesn't know about OMeta syntax. I have a plan to fix this,
> but it's part of a bigger project (the OmniDebugger) which will take
> some time to implement. Please let me know if you know of any quick
> fixes.
>
> Is this info still up to date?
>
> On 8/25/10, Hannes Hirzel <[hidden email]> wrote:
>> According to
>> http://tinlizzie.org/ometa/
>> it works in both 3.8 and 3.9.
>>
>> I think both are fine and I am interested in reading about your
>> experience of loading it into Squeak 4.1trunk.
>>
>> --Hannes
>>
>> More about OMeta
>> http://www.tinlizzie.org/~awarth/
>> http://vpri.org/mailman/listinfo/ometa
>>
>> Do you have other links?
>>
>>
>> On 8/25/10, Casey Ransberger <[hidden email]> wrote:
>>> Given the choice of 3.8, or 3.9, do folks have a general suggestion? I've
>>> heard there were some "sweet" images over the years. I'm of course going
>>> to
>>> be unable to resist loading OMeta into a trunk image; I have low
>>> expectations for success with that, but I'm kind of interested in seeing
>>> what the difference is in the performance of the Javascript
>>> implementation
>>> when Cog is at the bottom of the stack. So I was thinking that I'd get it
>>> loaded into an older image, and try to get to know it there.
>>>
>>> --
>>> Casey Ransberger
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Hans-Martin Mosner
Am 25.08.2010 19:16, schrieb Casey Ransberger:
> It's a .sar on the OMeta home page.
>
>  
That one is pretty old. You should really be using the one that I put on
SqueakMap (which loads without problems).

Cheers,
Hans-Martin

Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Hannes Hirzel
On 8/25/10, Hans-Martin Mosner <[hidden email]> wrote:

> Am 25.08.2010 19:16, schrieb Casey Ransberger:
>> It's a .sar on the OMeta home page.
>>
>>
> That one is pretty old. You should really be using the one that I put on
> SqueakMap (which loads without problems).
>
> Cheers,
> Hans-Martin
>
There is no OMeta2 SAR file on Squeakmap. There is OMeta but it seems to be old.
http://map.squeak.org/package/dea7935d-2497-45df-936c-69f0daedd136

Squeak 4.1 is not mentioned.

--Hannes

Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Frank Shearar
On 2010/08/26 16:16, Hannes Hirzel wrote:

> On 8/25/10, Hans-Martin Mosner<[hidden email]>  wrote:
>> Am 25.08.2010 19:16, schrieb Casey Ransberger:
>>> It's a .sar on the OMeta home page.
>>>
>>>
>> That one is pretty old. You should really be using the one that I put on
>> SqueakMap (which loads without problems).
>>
>> Cheers,
>> Hans-Martin
>>
> There is no OMeta2 SAR file on Squeakmap. There is OMeta but it seems to be old.
> http://map.squeak.org/package/dea7935d-2497-45df-936c-69f0daedd136
>
> Squeak 4.1 is not mentioned.

Maybe Hans-Martin meant SqueakSOURCE?:
http://www.squeaksource.com/OMeta.html

frank

Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Hannes Hirzel
I am aware of http://www.squeaksource.com/OMeta.html and I could load
it successfully into Squeak4.1 trunk and evaluate an example.

What I am looking for now are more examples, e.g. a subset of a
JavaScript interpreter

--Hannes

On 8/26/10, Frank Shearar <[hidden email]> wrote:

> On 2010/08/26 16:16, Hannes Hirzel wrote:
>> On 8/25/10, Hans-Martin Mosner<[hidden email]>  wrote:
>>> Am 25.08.2010 19:16, schrieb Casey Ransberger:
>>>> It's a .sar on the OMeta home page.
>>>>
>>>>
>>> That one is pretty old. You should really be using the one that I put on
>>> SqueakMap (which loads without problems).
>>>
>>> Cheers,
>>> Hans-Martin
>>>
>> There is no OMeta2 SAR file on Squeakmap. There is OMeta but it seems to
>> be old.
>> http://map.squeak.org/package/dea7935d-2497-45df-936c-69f0daedd136
>>
>> Squeak 4.1 is not mentioned.
>
> Maybe Hans-Martin meant SqueakSOURCE?:
> http://www.squeaksource.com/OMeta.html
>
> frank
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

espin
While trying to learn OMeta(2) I kept my experiments: you can find them in
attachment.

I have taken some of the OMeta-js projects from http://tinlizzie.org/ometa-js/
and made them in OMeta-smalltalk

Hope it helps
Enjoy
Bye
Enrico

On Thu, Aug 26, 2010 at 16:51, Hannes Hirzel <[hidden email]> wrote:

> I am aware of http://www.squeaksource.com/OMeta.html and I could load
> it successfully into Squeak4.1 trunk and evaluate an example.
>
> What I am looking for now are more examples, e.g. a subset of a
> JavaScript interpreter
>
> --Hannes
>
> On 8/26/10, Frank Shearar <[hidden email]> wrote:
>> On 2010/08/26 16:16, Hannes Hirzel wrote:
>>> On 8/25/10, Hans-Martin Mosner<[hidden email]>  wrote:
>>>> Am 25.08.2010 19:16, schrieb Casey Ransberger:
>>>>> It's a .sar on the OMeta home page.
>>>>>
>>>>>
>>>> That one is pretty old. You should really be using the one that I put on
>>>> SqueakMap (which loads without problems).
>>>>
>>>> Cheers,
>>>> Hans-Martin
>>>>
>>> There is no OMeta2 SAR file on Squeakmap. There is OMeta but it seems to
>>> be old.
>>> http://map.squeak.org/package/dea7935d-2497-45df-936c-69f0daedd136
>>>
>>> Squeak 4.1 is not mentioned.
>>
>> Maybe Hans-Martin meant SqueakSOURCE?:
>> http://www.squeaksource.com/OMeta.html
>>
>> frank
>>
>>
>
>


--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick



EtCetera-LearningOMeta.st (25K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Choice of image for OMeta?

Hans-Martin Mosner
In reply to this post by Frank Shearar
Am 26.08.2010 16:30, schrieb Frank Shearar:
>
> Maybe Hans-Martin meant SqueakSOURCE?:
> http://www.squeaksource.com/OMeta.html
>
> frank
>
>
Oops, yes of course. Not having touched it for a few weeks blanked my
memory...

Cheers,
Hans-Martin