[squeak-dev] Encodings/allowed characters in methods/categories/protocols

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

[squeak-dev] Encodings/allowed characters in methods/categories/protocols

Johan Björk
Hi everyone,

This is my first post to this list, I apologize if my question is too
basic for this list.

I've been working on a remote-filesystem to display the
sourcecode/object hierarchy of the squeak smalltalk image in a
"normal" unix filesystem. (Using FUSE)

I initially followed this resource
http://www.mucow.com/squeak-qref.html , under Symbols, but ended up
having to add more checking to my regexps. (It states that if it's a
special characters, it is either 1 or 2 of them, however, in Integer,
there is a method called '\\\'

What is valid for protocols/categories?

Doing some testing on the FS, we also encountered method sourcecode
with strange encodings (ie, WideStrings used to store the sourcecode
(JapaneseEnvironment / flapTabTextFor:in: for example), and also some
method names that has special characters, ie, in the squeak-web image,
there is a method called "göran"
(Installer-Core/Installer/instanciation-abbreviated/göran )

Anyone know of any resource that outlines what encoding is used and
what characters are allowed for Symbols? (I guess that's what it
really boils down to?)

Thanks in advance
-Johan

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Encodings/allowed characters in methods/categories/protocols

NorbertHartl
On Sat, 2008-04-26 at 10:52 +0200, Johan Björk wrote:
> Hi everyone,
>
> This is my first post to this list, I apologize if my question is too
> basic for this list.
>
> I've been working on a remote-filesystem to display the
> sourcecode/object hierarchy of the squeak smalltalk image in a
> "normal" unix filesystem. (Using FUSE)
>
That's very interesting. What do you use in the fuse adaptor?
Do you read the source and changes file or are you interacting
with an image? I'm _very_ interested in the latter one :)

Norbert


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Encodings/allowed characters in methods/categories/protocols

Johan Björk
We are interacting wit the image using TCP sockets.
This is actually done as a project in the course Dynamic Programming
at the  Royal Institute of Technology (Sweden). I believe this is
Michael Haupt's idea initially, he's been providing us with a
"specification".

We're planning on releasing a package in a day or two, just want to
iron out a few more issues and add support to display Traits
correctly.

-Johan

On Sat, Apr 26, 2008 at 11:19 AM, Norbert Hartl <[hidden email]> wrote:

> On Sat, 2008-04-26 at 10:52 +0200, Johan Björk wrote:
>  > Hi everyone,
>  >
>  > This is my first post to this list, I apologize if my question is too
>  > basic for this list.
>  >
>  > I've been working on a remote-filesystem to display the
>  > sourcecode/object hierarchy of the squeak smalltalk image in a
>  > "normal" unix filesystem. (Using FUSE)
>  >
>  That's very interesting. What do you use in the fuse adaptor?
>  Do you read the source and changes file or are you interacting
>  with an image? I'm _very_ interested in the latter one :)
>
>  Norbert
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Encodings/allowed characters in methods/categories/protocols

NorbertHartl
On Sat, 2008-04-26 at 11:25 +0200, Johan Björk wrote:
> We are interacting wit the image using TCP sockets.
> This is actually done as a project in the course Dynamic Programming
> at the  Royal Institute of Technology (Sweden). I believe this is
> Michael Haupt's idea initially, he's been providing us with a
> "specification".
>
Ok. My hope was that you did that using the callback stuff from
Andreas to call in the image directly.

> We're planning on releasing a package in a day or two, just want to
> iron out a few more issues and add support to display Traits
> correctly.
>
Great!

Norbert

> -Johan
>
> On Sat, Apr 26, 2008 at 11:19 AM, Norbert Hartl <[hidden email]> wrote:
> > On Sat, 2008-04-26 at 10:52 +0200, Johan Björk wrote:
> >  > Hi everyone,
> >  >
> >  > This is my first post to this list, I apologize if my question is too
> >  > basic for this list.
> >  >
> >  > I've been working on a remote-filesystem to display the
> >  > sourcecode/object hierarchy of the squeak smalltalk image in a
> >  > "normal" unix filesystem. (Using FUSE)
> >  >
> >  That's very interesting. What do you use in the fuse adaptor?
> >  Do you read the source and changes file or are you interacting
> >  with an image? I'm _very_ interested in the latter one :)
> >
> >  Norbert
> >
> >
> >
>