I was reading the self grammar. Am I right in assuming that... doIt. or a: setSlot: 'x' With: doIt. works, by having the receiver of the unary message doIt...
38
Jecel Assumpcao Jr
jecel@...
Dec 10, 1998 6:30 pm
... I am not sure if this is what you are asking, but typing doIt at the prompt (or in an evaluator in the graphical user interface) is indeed parsed as the...
39
Dru Nelson
dnelson@...
Dec 10, 1998 11:06 pm
Hi, This does answer the questions. However, what I really was trying to find out (what I should have asked), was how does this correspond to the grammar...
40
Stefan Matthias Aust
sma@...
Dec 22, 1998 11:46 am
Hi! I was trying to understand the Self grammar to implement a Self parser. I failed. Now I've a couple of questions regarding the ambiguities of the ...
41
Stefan Matthias Aust
sma@...
Dec 22, 1998 2:54 pm
... It's bad habit to quote oneself, but I'd like to add that b) isn't an issue anymore. I overlooked paragraph 2.4.5 which explicitely removes | and ^ from...
42
Dru Nelson
dnelson@...
Dec 22, 1998 7:47 pm
Hi Stefan, I'm working on a parser too. So far, I've only implemented the lexer portion. Your recent email on that shows that you have discovered how to handle...
43
Stefan Matthias Aust
sma@...
Dec 22, 1998 9:46 pm
Dru, ... Perhaps I should tell you a little bit more about my program. I used VisualWorks smalltalk to implement the parser. A "SelfScanner" class implements...
44
Dru Nelson
dnelson@...
Dec 29, 1998 9:54 am
... [Using VW Smalltalk ... Is this from T Gen or something else? Sounds neat. ... Yeah, I finished my lexer and it is time for the parser and code gen. I...
45
Stefan Matthias Aust
sma@...
Dec 29, 1998 11:11 am
... It's something else. I wrote scanner and parser from scratch without any generator program. No big deal for a grammar as small as for Self. ... No comment...
46
Stefan Matthias Aust
sma@...
Dec 30, 1998 9:25 pm
Hi! I've set up a web page for my first version of ``mySelf´´, my Self parser and simulator written in Smalltalk! If you like, check out ...
47
Jecel Assumpcao Jr
jecel@...
Jan 6, 1999 5:14 am
I'm back from vacation and only now reading my December email. I'm glad to see people having fun with the Self syntax. As you have already found out, '^' and...
48
Stefan Matthias Aust
sma@...
Jan 6, 1999 6:49 pm
... Then SELF 1.0 had no '( expr )' at all. Everything in () was a new object, however only objects in slot definitions got a 'self' slot. Right? ... Which is...
49
Jecel Assumpcao Jr
jecel@...
Jan 7, 1999 1:45 am
... Yes, but these inner methods had an invisible "lexical parent" slot just like block method contexts do. Another strange thing in Self 1.0 was that the...
50
Stefan Matthias Aust
sma@...
Jan 7, 1999 7:44 pm
... Well, for the evaluation function, you need to at least detect methods and blocks as one need to clone them and create an activation object. How are these...
51
Stefan Matthias Aust
sma@...
Jan 7, 1999 9:56 pm
... I doubt. I looked through the code and it looks more than Squeak than anything else. The code uses all that old MVC stuff of Forms, DisplayScreen and so...
52
Jecel Assumpcao Jr
jecel@...
Jan 11, 1999 2:01 am
... You could have several map subclasses and use that instead of a class. Blocks and Methods would do the right thing when you sent the exact same message to...
53
Stefan Matthias Aust
sma@...
Jan 11, 1999 7:39 pm
... Yes, but... well, I tried to immitate the implementation as described in the various papers and this can't have map classes, just simple chunks of map...
54
Jecel Assumpcao Jr
jecel@...
Jan 12, 1999 7:15 pm
... Actually, one of the first words in a map is the C++ VTable - its runtime type (class)! ... Squeak was OO the last time I checked ;-) but if you mean that...
55
Stefan Matthias Aust
sma@...
Jan 13, 1999 10:39 pm
... I see! Pretty obvious actually. Probably that "i didn't see the forest because of all that trees" problem. ... It was? Amaising :-) But you guessed right,...
56
Jecel Assumpcao Jr
jecel@...
Jan 14, 1999 8:06 pm
I was showing a friend, Kyle Hayes, Self 4.0 but wasn't able to get the web browser to work. I had had this problem before and had tracked it down to a DNS...
57
Jecel Assumpcao Jr
jecel@...
Jan 14, 1999 8:06 pm
... You are probably right that Self objects could be the same format as Squeak objects with no problems at all. ObjectMemory is a lot more complex than it...
58
Hacker, David
David.Hacker@...
Jan 14, 1999 8:10 pm
... eGroup home: http://www.eGroups.com/list/self-interest Free Web-based e-mail groups by eGroups.com...
59
Stefan Matthias Aust
sma@...
Jan 14, 1999 9:27 pm
... Wait. I'm comparing byte codes, disregarding any additonal constraints of the Smalltalk language. As instance variables and temporary variables are ...
60
Jecel Assumpcao Jr
jecel@...
Jan 15, 1999 5:15 pm
... Ooops - you are right. Otherwise this isn't possible: frame "returns my current frame" ^ frame ... Ooops again! Yes, it would be easier simply to have...
61
Dru Nelson
dnelson@...
Jan 15, 1999 11:02 pm
Where is a good reference on Self maps? Also, the grammar talk and implementation talk has been interesting. Keep it up. Dru Nelson Redwood City, California ...
62
Stefan Matthias Aust
sma@...
Jan 16, 1999 11:28 am
... I used the paper Chambers, Ungar and Lee, "An Efficient Implementation of SELF, [...]", 1991. Another source might be the source code of the VM itself. ...
63
Gordon@...
Jan 18, 1999 1:12 pm
Hi all, I am so terribly fed up with C++, I really would like to write real programs in a better programming language. Fortunately, the source code of Self is...
64
Dru Nelson
dnelson@...
Jan 18, 1999 6:04 pm
... I urge you to go to www.opensource.com and check out the other licenses besides the GPL. ... eGroup home: http://www.eGroups.com/list/self-interest Free...
66
Jochen Schneider
josch@...
Jan 19, 1999 12:22 pm
That would be way cool, Self on a PC. Keep up the good work, Gordon! Another project done by an angry programmer ... By the way, there is a repository of...
67
Jecel Assumpcao Jr
jecel@...
Jan 19, 1999 5:21 pm
... Ooops - I reread the smalltalk.ps document and saw that cascades aren't mentioned at all. I guess I was thinking of non-lifo blocks, but I see that even...