... Just to argue with myself, I took another look at the Martin Fowler article (http://www.martinfowler.com/bliki/ DomainSpecificLanguage.html), where I first...
Rich Warren
rwmlist@...
Sep 1, 2006 9:00 am
110021
... While it's true that I can reprogram the Squeak UI however I wish, that isn't a trivial process. And it's not really a satisfying answer to the problem. ...
Rich Warren
rwmlist@...
Sep 1, 2006 9:27 am
110022
... As I say, you could have any UI . Someone did a Expose like in Squeak, a long ago, but I don't remember who. Or use John Mac AppleScript hooks for raise...
Lic. Edgar J. De Cleene
edgardec2001@...
Sep 1, 2006 9:43 am
110023
... If things do not change , progress do not happen. Myself argue against Traits, a long ago, as having Traits cause breaks with older Squeak and introduce...
Lic. Edgar J. De Cleene
edgardec2001@...
Sep 1, 2006 10:08 am
110024
Here you have MorpicWrappers working in Squeak3.9g-7054.image, and also Funcions and Plotters http://minnow.cc.gatech.edu/squeak/5855 You should load first ...
Lic. Edgar J. De Cleene
edgardec2001@...
Sep 1, 2006 10:28 am
110025
... Fine! Now we are ready to add the point number 5. 5.- it must be realized in 100% smalltalk. e.g. included in FFI services to be understood by squeak users...
Alejandro F. Reimondo
aleReimondo@...
Sep 1, 2006 1:17 pm
110026
... from http://www.rubyquiz.com/ Nice. Any takers for this one? I really like the idea of quizzes. I think we should have sth. similar for Squeak and...
Markus Gaelli
gaelli@...
Sep 1, 2006 1:42 pm
110027
I've been thinking a bit about that. I agree it is important that we define a standard way to handle the api. It seems to me that a call to a call back would...
Ron Teitelbaum
Ron@...
Sep 1, 2006 2:10 pm
110028
We can model the callback as a simple full message (aMessageSend) to be performed when activated. Any objects that responds to: #arguments(:) #perform (or...
Alejandro F. Reimondo
aleReimondo@...
Sep 1, 2006 2:28 pm
110029
That is how it would be called if the callback was defined in the primitive. We would parse the return method and do a message send with the values from the...
Ron Teitelbaum
Ron@...
Sep 1, 2006 3:26 pm
110030
I don't know anything about the internals but I like how callbacks are declared in VAST: windowProc := EsEntryPoint receiver: [:hwnd :lParam | "call back...
Diego Fernandez
diegof79@...
Sep 1, 2006 3:50 pm
110031
Hi ;) It is Friday and I'd like to do a small joke. Do you like scripting in smalltalk right? But the "Revenge of the Bash" has came finally! BashTalk is a...
Giovanni Giorgi
daitangio@...
Sep 1, 2006 4:07 pm
110032
... I consider bottom up programming, and embedded DSL's the same thing. ... It's not just basic software engineering, because most languages can't be moved...
Ramon Leon
ramon.leon@...
Sep 1, 2006 4:19 pm
110033
... Why anyone would want to do this is beyond me, but here you go: aFunction := ExternalLibraryFunction name:'EnumWindows' module: 'user32' callType:...
Andreas Raab
andreas.raab@...
Sep 1, 2006 4:39 pm
110034
Ron, I prefer the most natural (naïve) model as default. If there is more that one practical use of callbacks, subclassification (of Callback class) can be...
Alejandro F. Reimondo
aleReimondo@...
Sep 1, 2006 4:45 pm
110035
Hi Diego, The <...> syntax is a short syntax notation to make a method as a primitive method, calling a function (object) like you instantiate for...
Alejandro F. Reimondo
aleReimondo@...
Sep 1, 2006 4:46 pm
110036
Hi! ... Yup :) ... Cool! :) Even though the tests passes I might (not sure) have introduced some subtle problems when creating Durations using non integer ...
goran@...
Sep 1, 2006 5:45 pm
110037
Let me point out two recent literate programming successes - 1. darcs. The (haskell) code and (latex) manual are intermingled and maintained as a single unit...
Simon Michael
simon@...
Sep 1, 2006 6:02 pm
110038
Cool, thanks for the reply :) to both (Andreas and Alejandro). ... Beacuse I don't have to learn a new syntax, is just the simple object message syntax. I...
Diego Fernandez
diegof79@...
Sep 1, 2006 6:25 pm
110039
... I know that <> is used in primitives, but in calls to external libraries there is a performance reason for this kind of notation? Have this kind of methods...
Diego Fernandez
diegof79@...
Sep 1, 2006 6:51 pm
110040
Hey Markus, I can't resist a good puzzle. Please not too many, I won't get any work done! So here is my entry. What is most interesting about this problem...
Ron Teitelbaum
Ron@...
Sep 1, 2006 7:04 pm
110041
Hi Diego, ... The method will be activated ONLY on primitive failure. Activation of method contexts requires processing. In this situation, the api call will...
Alejandro F. Reimondo
aleReimondo@...
Sep 1, 2006 7:17 pm
110042
... It's both a shorthand and a "statically compiled version" of the longer expression. Here is something that is essentially equivalent: 1. Using <> syntax: ...
Andreas Raab
andreas.raab@...
Sep 1, 2006 8:31 pm
110043
Hi Andreas, Using the option (2) will activate the method context for Foo>>callSomething (a context with a block context....) The option (1) will execute the...
Alejandro F. Reimondo
aleReimondo@...
Sep 1, 2006 8:59 pm
110044
... Ah, those Tweak classes need to be replaced with the appropriate DisplayTransform subclasses for demo. Originally Rome was developed for Tweak using Tweak...
Again thanks to both for the reply... :) [se entendio perfecto, gracias :)]...
Diego Fernandez
diegof79@...
Sep 1, 2006 9:37 pm
110047
Hi, Thanks to those of you who helped me started towards building arcs, sectors, etc. I've completed some classes that are now available from my web site...
TJ Leone
tj@...
Sep 1, 2006 9:50 pm
110048
... Eventually, we should try to reintegrate some of it via the graphics packages. It's been on my list for a while already, e.g., move some of the graphics...
Andreas Raab
andreas.raab@...
Sep 1, 2006 10:03 pm
110049
... A lot of people do. However, I think there's a real benifit in distinguishing between the following: a) DSL as Bottom-Up Programming using language...