Esug-list
By thread
esug-list@lists.esug.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
April 2012
- 17 participants
- 27 messages
Re: [Esug-list] GSoC news: we have 13 projects!
by Georg Heeg
Dear GSoC Participants,
These topics read to me as good candidates for Smalltalk Directions 2013 in June 2013 in Arizona.
Georg Heeg
STIC - Smalltalk Industry Council
Executive Director
Phone +49-3496-214328, Fax +49-3496-214712
-----Ursprüngliche Nachricht-----
Von: esug-list-bounces(a)lists.esug.org [mailto:esug-list-bounces@lists.esug.org] Im Auftrag von Janko Mivšek
Gesendet: Dienstag, 24. April 2012 14:10
An: Squeak; Pharo-project(a)lists.gforge.inria.fr; A friendly place where any question about pharo is welcome; 'VWNC'; ESUG Mailing list; GNU Smalltalk
Betreff: [Esug-list] GSoC news: we have 13 projects!
Dear Smalltalkers!
We have 13 GSoC projects and let we welcome to all students whose proposals were accepted:
1. Santiago Bragagnolo
Concrete Type Inference -- Call graph
http://gsoc2012.esug.org/projects/type-inference
2. Lars Wassermann
ARM jitter for Squeak VM
http://gsoc2012.esug.org/projects/arm-jitter
3. Facundo Mainere
Interactive & social online Smalltalk tutorial
http://gsoc2012.esug.org/projects/interactive-tutorial
4. Benjamin Van Ryseghem
Nautilus
http://gsoc2012.esug.org/projects/nautilus
5. Martín Dias
Package management with Fuel
http://gsoc2012.esug.org/projects/fuel-packages
6. Guillermo Polito
Bootstrapping the core-Hazelnut
http://gsoc2012.esug.org/projects/hazelnut
7. Pablo Estefo
TestSurgeon
http://gsoc2012.esug.org/projects/testsurgeon
8. Daniel Uber
SciSmalltalk
http://gsoc2012.esug.org/projects/sci-smalltalk
9. Rustem Khubbatov
HMI (Human-Machine Interface) with Amber
http://gsoc2012.esug.org/projects/mmi-amber
10. Juan Pablo Sandoval Alcocer
Rizel - Multidimensional Profiler
http://gsoc2012.esug.org/projects/rizel
11. Saurav Bhattacharya
Export Excel files and other spreadsheet related goodies
http://gsoc2012.esug.org/projects/excel-export
12. Steve Granda
Finish Physical Etoys port to Sugar
http://gsoc2012.esug.org/projects/etoys-sugar
13. Paul Kuzovkin
Esse, a framework for visualizing, storing and exploring ideas
http://gsoc2012.esug.org/projects/esse
5 students from Argentina, 2 from Chile, 2 from Russia, 1 from Sweden, France, USA and let we specially welcome our first Indian student!
Now a Community bonding period started, when students get to know mentors, read documentation, get up to speed to begin working on their projects. Until 21.May when coding begin.
Good luck to everyone!
Janko @ Carla
--
Smalltalk GSoC Admin Team
http://gsoc2012.esug.org
_______________________________________________
Esug-list mailing list
Esug-list(a)lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
April 30, 2012
Re: [Esug-list] Pharo Consortium Important Documents and Request for Feedback
by Yuriy Mironenko
You will probably want to add something special for self-employed - like me.
Let me explain. I'm self-employed and I making pharo-based solutions. So my interest in pharo is somewhat stronger than just "hey, it's cool and I just like smalltalk". At the same time I'm not (hopefully yet) reached the size of "small firm". I can't afford 2000 euro/year - it's my income for several months (3 to 5 depend on my luck). But I definetely can afford more than 40 euro/year.
I have a feeling that my case is not unique, especially in Argentina. You see, smalltalk is not mainstream, and neither Pharo. So it's natural to start as an self-employed. And it takes considerably big time to reach "small firm" size. Maybe some argentinians (or russians, or anybody else) can confirm (or decline) this?
Of course, it is possible to make donations without be involved into Consortium. But it's much...mmm...pleasant to be "involved". I expect that more (and more regularly) funds will be collected if invite self-employed to join the consortium rather than just propose to make donations.
P.S. Sorry for such a long waiting before answering: you know, GSoC...
Mon, 19 Mar 2012 19:19:12 +0100 от Stéphane Ducasse <stephane.ducasse(a)inria.fr>:
> Dear Pharo Friends and Supporters
>
> We worked a lot with INRIA lawyers and tried a lot of different scenarios. We arrived to a setup that make sense
> now we would like to get your input. Please have a look at the following powerpoint presentation and feel free to comment!
>
> We provide some sketches for the consortium fees and benefits for you. But we need your input!
> If you are not in the mailing-list: send us a mail to board(a)pharo-project.org.
>
> Remember that what we want to achieve is to be able to pay one (or more) full time engineer to help us improving
> our system and making that our future is bright.
>
> Since it may be difficult to follow closely our vision, dreams and current development efforts you can read the Pharo vision document.
>
>
> https://gforge.inria.fr/frs/download.php/30436/PHARO-ENG-V4.2.pdf
>
> https://gforge.inria.fr/frs/download.php/30434/PharoVision.pdf
>
> The Pharo Team
>
> Remember: The best way to predict the future is to invent it. A. Kay
> And we want to do it :)
> _______________________________________________
> Esug-list mailing list
> Esug-list(a)lists.esug.org
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>
April 30, 2012
Re: [Esug-list] metaprogramming in smalltalk
by laurent laffont
Hi,
you may enjoy http://www.pharocasts.com/search/label/metaprogramming
Cheers,
Laurent
On Sun, Apr 29, 2012 at 10:25 AM, vittly <vitaly.kosenko(a)gmail.com> wrote:
> Hi! Please could you help me understand smalltalk capabilities in
> metaprogramming? Q: could I construct arbitrary message by program? Create
> keywords from strings and than build sequence of them to make a message.
> Mm?
> Or may be store keywords in variables and then pass variables withing
> messages extracting stored keywords?
> Am I dreamer?)
>
>
> --
> View this message in context:
> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4595928.html
> Sent from the ESUG mailing list archive at Nabble.com.
>
> _______________________________________________
> Esug-list mailing list
> Esug-list(a)lists.esug.org
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>
April 29, 2012
Re: [Esug-list] metaprogramming in smalltalk
by Vitaly Kosenko
| x y plu perf wi sel args |
x := 3.
y := 4.
plu := '+'.
perf := 'perform:'.
wi := 'with:'.
sel := perf,wi.
args := Array new: 2.
args
at: 1 put: plu asSymbol;
at: 2 put: y.
x perform: sel asSymbol withArguments: args.
It works! Great! Thanks a lot. About Pharo examples book: I have red some
chapters but the real understanding comes only in prectice)
2012/4/30 Guillermo Polito <guillermopolito(a)gmail.com>
> Hi Vitaly!
>
> try to think it like this: #perform:with: is a reflective operation to
> send messags to an object. Thus, if you are trying to send an object a
> message like:
>
> object perform: someSelector with: someArgument.
>
> - The receiver is object
> - the selector of the message is #perform:with:
> - the arguments of #perform:with: are someSelector and someArgument.
>
> Then, what you have to do is
>
> object
> perform: #perform:with:
> withArguments: { someSelector . someArgument }
>
> Because #perform: and #with: are not two different messages, they are two
> keywords of the same selector, in the same message. Then, you have to
> treat them together.
>
> Cheers,
> Guille
>
>
> 2012/4/29 Vitaly Kosenko <vitaly.kosenko(a)gmail.com>
>
>> Nice! Almost as elegant as Ward's legendary
>>> Symbol>>value: anObject
>>> ^anObject perform: self
>>
>> Mickey!) I don't understand how does it help me.
>>
>> The method is called #perform:with: and it takes two arguments.
>>
>> Yes. But what if I need to emulate "x perform: y with: z" - there is
>> three arguments
>>
>> How can I do this using perform?
>>
>> Yes, there is Behavior class that compile everything so non can help this
>> method is good. But what about perform? Message class also require selector
>> and what is selector for keyword messages?
>>
>> 2012/4/29 Jean-François LEFEVRE <jflefevre(a)gmail.com>
>>
>>> You probably want to do something like this :
>>>
>>>
>>> | x y plu perf wi args |
>>> x := 3.
>>> y := 4.
>>> plu := '+'.
>>> perf := 'perform:withArguments:'.
>>> args := Array new: 1.
>>> args at: 1 put: y.
>>> x perform: perf asSymbol withArguments: args
>>>
>>> You should look the class Message too.
>>> (and all other classes and methods like Behavior, Class, Metaclass,
>>> Method and Object)
>>>
>>> Jean-François
>>>
>>>
>>>
>>> 2012/4/29 Vitaly Kosenko <vitaly.kosenko(a)gmail.com>
>>>
>>>> Ok. perform: is working for arithmetic but what about perform: itself?
>>>> | x y plu perf wi args |
>>>> x := 3.
>>>> y := 4.
>>>> plu := '+'.
>>>> perf := 'perform:'.
>>>> wi := 'with:'.
>>>> args := Array new: 3.
>>>> args
>>>> at: 1 put: plu asSymbol;
>>>> at: 2 put: wi asSymbol;
>>>> at: 3 put: y.
>>>> x perform: perf asSymbol withArguments: args.
>>>>
>>>> This code tells me that there is wrong number of arguments in permforn:
>>>> How can I fix it?
>>>>
>>>>
>>>> 2012/4/29 vittly <vitaly.kosenko(a)gmail.com>
>>>>
>>>>> Mmm thnx for replie! I'll run this code and experemt with it
>>>>>
>>>>> 2012/4/29 Georg Heeg [via Smalltalk] <[hidden email]<http://user/SendEmail.jtp?type=node&node=4596244&i=0>
>>>>> >
>>>>>
>>>>>> Please try to understand the following code:
>>>>>>
>>>>>> | a b c |
>>>>>>
>>>>>> a := 3.
>>>>>> b := 4.
>>>>>> c := '+'.
>>>>>> ^a perform: c asSymbol with: b
>>>>>>
>>>>>> Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
>>>>>> Wallstraße 22, 06366 Köthen
>>>>>> Tel. +49-3496-214328, Fax +49-3496-214712
>>>>>>
>>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: [hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=0>
>>>>>> [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=1>]
>>>>>> Im Auftrag von vittly
>>>>>> Gesendet: Sonntag, 29. April 2012 10:25
>>>>>> An: [hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=2>
>>>>>> Betreff: [Esug-list] metaprogramming in smalltalk
>>>>>>
>>>>>> Hi! Please could you help me understand smalltalk capabilities in
>>>>>> metaprogramming? Q: could I construct arbitrary message by program?
>>>>>> Create
>>>>>> keywords from strings and than build sequence of them to make a
>>>>>> message. Mm?
>>>>>> Or may be store keywords in variables and then pass variables withing
>>>>>> messages extracting stored keywords?
>>>>>> Am I dreamer?)
>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>>
>>>>>> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4595928.html
>>>>>> Sent from the ESUG mailing list archive at Nabble.com.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Esug-list mailing list
>>>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=3>
>>>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Esug-list mailing list
>>>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=4>
>>>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> If you reply to this email, your message will be added to the
>>>>>> discussion below:
>>>>>>
>>>>>> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596217.html
>>>>>> To unsubscribe from metaprogramming in smalltalk, click here.
>>>>>> NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instan…>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> View this message in context: Re: metaprogramming in smalltalk<http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596244.html>
>>>>>
>>>>> Sent from the ESUG mailing list archive<http://forum.world.st/ESUG-f1589038.html>at Nabble.com.
>>>>>
>>>>> _______________________________________________
>>>>> Esug-list mailing list
>>>>> Esug-list(a)lists.esug.org
>>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Esug-list mailing list
>>>> Esug-list(a)lists.esug.org
>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Esug-list mailing list
>> Esug-list(a)lists.esug.org
>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>
>>
>
April 29, 2012
Re: [Esug-list] metaprogramming in smalltalk
by Guillermo Polito
Hi Vitaly!
try to think it like this: #perform:with: is a reflective operation to send
messags to an object. Thus, if you are trying to send an object a message
like:
object perform: someSelector with: someArgument.
- The receiver is object
- the selector of the message is #perform:with:
- the arguments of #perform:with: are someSelector and someArgument.
Then, what you have to do is
object
perform: #perform:with:
withArguments: { someSelector . someArgument }
Because #perform: and #with: are not two different messages, they are two
keywords of the same selector, in the same message. Then, you have to
treat them together.
Cheers,
Guille
2012/4/29 Vitaly Kosenko <vitaly.kosenko(a)gmail.com>
> Nice! Almost as elegant as Ward's legendary
>> Symbol>>value: anObject
>> ^anObject perform: self
>
> Mickey!) I don't understand how does it help me.
>
> The method is called #perform:with: and it takes two arguments.
>
> Yes. But what if I need to emulate "x perform: y with: z" - there is three
> arguments
>
> How can I do this using perform?
>
> Yes, there is Behavior class that compile everything so non can help this
> method is good. But what about perform? Message class also require selector
> and what is selector for keyword messages?
>
> 2012/4/29 Jean-François LEFEVRE <jflefevre(a)gmail.com>
>
>> You probably want to do something like this :
>>
>>
>> | x y plu perf wi args |
>> x := 3.
>> y := 4.
>> plu := '+'.
>> perf := 'perform:withArguments:'.
>> args := Array new: 1.
>> args at: 1 put: y.
>> x perform: perf asSymbol withArguments: args
>>
>> You should look the class Message too.
>> (and all other classes and methods like Behavior, Class, Metaclass,
>> Method and Object)
>>
>> Jean-François
>>
>>
>>
>> 2012/4/29 Vitaly Kosenko <vitaly.kosenko(a)gmail.com>
>>
>>> Ok. perform: is working for arithmetic but what about perform: itself?
>>> | x y plu perf wi args |
>>> x := 3.
>>> y := 4.
>>> plu := '+'.
>>> perf := 'perform:'.
>>> wi := 'with:'.
>>> args := Array new: 3.
>>> args
>>> at: 1 put: plu asSymbol;
>>> at: 2 put: wi asSymbol;
>>> at: 3 put: y.
>>> x perform: perf asSymbol withArguments: args.
>>>
>>> This code tells me that there is wrong number of arguments in permforn:
>>> How can I fix it?
>>>
>>>
>>> 2012/4/29 vittly <vitaly.kosenko(a)gmail.com>
>>>
>>>> Mmm thnx for replie! I'll run this code and experemt with it
>>>>
>>>> 2012/4/29 Georg Heeg [via Smalltalk] <[hidden email]<http://user/SendEmail.jtp?type=node&node=4596244&i=0>
>>>> >
>>>>
>>>>> Please try to understand the following code:
>>>>>
>>>>> | a b c |
>>>>>
>>>>> a := 3.
>>>>> b := 4.
>>>>> c := '+'.
>>>>> ^a perform: c asSymbol with: b
>>>>>
>>>>> Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
>>>>> Wallstraße 22, 06366 Köthen
>>>>> Tel. +49-3496-214328, Fax +49-3496-214712
>>>>>
>>>>>
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: [hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=0>
>>>>> [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=1>]
>>>>> Im Auftrag von vittly
>>>>> Gesendet: Sonntag, 29. April 2012 10:25
>>>>> An: [hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=2>
>>>>> Betreff: [Esug-list] metaprogramming in smalltalk
>>>>>
>>>>> Hi! Please could you help me understand smalltalk capabilities in
>>>>> metaprogramming? Q: could I construct arbitrary message by program?
>>>>> Create
>>>>> keywords from strings and than build sequence of them to make a
>>>>> message. Mm?
>>>>> Or may be store keywords in variables and then pass variables withing
>>>>> messages extracting stored keywords?
>>>>> Am I dreamer?)
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>>
>>>>> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4595928.html
>>>>> Sent from the ESUG mailing list archive at Nabble.com.
>>>>>
>>>>> _______________________________________________
>>>>> Esug-list mailing list
>>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=3>
>>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Esug-list mailing list
>>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=4>
>>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> If you reply to this email, your message will be added to the
>>>>> discussion below:
>>>>>
>>>>> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596217.html
>>>>> To unsubscribe from metaprogramming in smalltalk, click here.
>>>>> NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instan…>
>>>>>
>>>>
>>>>
>>>> ------------------------------
>>>> View this message in context: Re: metaprogramming in smalltalk<http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596244.html>
>>>>
>>>> Sent from the ESUG mailing list archive<http://forum.world.st/ESUG-f1589038.html>at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> Esug-list mailing list
>>>> Esug-list(a)lists.esug.org
>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Esug-list mailing list
>>> Esug-list(a)lists.esug.org
>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>
>>>
>>
>
> _______________________________________________
> Esug-list mailing list
> Esug-list(a)lists.esug.org
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>
>
April 29, 2012
Re: [Esug-list] metaprogramming in smalltalk
by Vitaly Kosenko
>
> Nice! Almost as elegant as Ward's legendary
> Symbol>>value: anObject
> ^anObject perform: self
Mickey!) I don't understand how does it help me.
The method is called #perform:with: and it takes two arguments.
Yes. But what if I need to emulate "x perform: y with: z" - there is three
arguments
How can I do this using perform?
Yes, there is Behavior class that compile everything so non can help this
method is good. But what about perform? Message class also require selector
and what is selector for keyword messages?
2012/4/29 Jean-François LEFEVRE <jflefevre(a)gmail.com>
> You probably want to do something like this :
>
>
> | x y plu perf wi args |
> x := 3.
> y := 4.
> plu := '+'.
> perf := 'perform:withArguments:'.
> args := Array new: 1.
> args at: 1 put: y.
> x perform: perf asSymbol withArguments: args
>
> You should look the class Message too.
> (and all other classes and methods like Behavior, Class, Metaclass, Method
> and Object)
>
> Jean-François
>
>
>
> 2012/4/29 Vitaly Kosenko <vitaly.kosenko(a)gmail.com>
>
>> Ok. perform: is working for arithmetic but what about perform: itself?
>> | x y plu perf wi args |
>> x := 3.
>> y := 4.
>> plu := '+'.
>> perf := 'perform:'.
>> wi := 'with:'.
>> args := Array new: 3.
>> args
>> at: 1 put: plu asSymbol;
>> at: 2 put: wi asSymbol;
>> at: 3 put: y.
>> x perform: perf asSymbol withArguments: args.
>>
>> This code tells me that there is wrong number of arguments in permforn:
>> How can I fix it?
>>
>>
>> 2012/4/29 vittly <vitaly.kosenko(a)gmail.com>
>>
>>> Mmm thnx for replie! I'll run this code and experemt with it
>>>
>>> 2012/4/29 Georg Heeg [via Smalltalk] <[hidden email]<http://user/SendEmail.jtp?type=node&node=4596244&i=0>
>>> >
>>>
>>>> Please try to understand the following code:
>>>>
>>>> | a b c |
>>>>
>>>> a := 3.
>>>> b := 4.
>>>> c := '+'.
>>>> ^a perform: c asSymbol with: b
>>>>
>>>> Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
>>>> Wallstraße 22, 06366 Köthen
>>>> Tel. +49-3496-214328, Fax +49-3496-214712
>>>>
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: [hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=0>
>>>> [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=1>]
>>>> Im Auftrag von vittly
>>>> Gesendet: Sonntag, 29. April 2012 10:25
>>>> An: [hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=2>
>>>> Betreff: [Esug-list] metaprogramming in smalltalk
>>>>
>>>> Hi! Please could you help me understand smalltalk capabilities in
>>>> metaprogramming? Q: could I construct arbitrary message by program?
>>>> Create
>>>> keywords from strings and than build sequence of them to make a
>>>> message. Mm?
>>>> Or may be store keywords in variables and then pass variables withing
>>>> messages extracting stored keywords?
>>>> Am I dreamer?)
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>>
>>>> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4595928.html
>>>> Sent from the ESUG mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> Esug-list mailing list
>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=3>
>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Esug-list mailing list
>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=4>
>>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>>
>>>>
>>>> ------------------------------
>>>> If you reply to this email, your message will be added to the
>>>> discussion below:
>>>>
>>>> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596217.html
>>>> To unsubscribe from metaprogramming in smalltalk, click here.
>>>> NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instan…>
>>>>
>>>
>>>
>>> ------------------------------
>>> View this message in context: Re: metaprogramming in smalltalk<http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596244.html>
>>>
>>> Sent from the ESUG mailing list archive<http://forum.world.st/ESUG-f1589038.html>at Nabble.com.
>>>
>>> _______________________________________________
>>> Esug-list mailing list
>>> Esug-list(a)lists.esug.org
>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>>
>>>
>>
>> _______________________________________________
>> Esug-list mailing list
>> Esug-list(a)lists.esug.org
>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>
>>
>
April 29, 2012
Re: [Esug-list] metaprogramming in smalltalk
by Joseph Pelrine
Nice! Almost as elegant as Ward's legendary
Symbol>>value: anObject
^anObject perform: self
On 29.04.12 13:49, Georg Heeg wrote:
> Please try to understand the following code:
>
> | a b c |
>
> a := 3.
> b := 4.
> c := '+'.
> ^a perform: c asSymbol with: b
>
> Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
> Wallstraße 22, 06366 Köthen
> Tel. +49-3496-214328, Fax +49-3496-214712
>
>
> -----Ursprüngliche Nachricht-----
> Von: esug-list-bounces(a)lists.esug.org
> [mailto:esug-list-bounces@lists.esug.org] Im Auftrag von vittly
> Gesendet: Sonntag, 29. April 2012 10:25
> An: esug-list(a)lists.esug.org
> Betreff: [Esug-list] metaprogramming in smalltalk
>
> Hi! Please could you help me understand smalltalk capabilities in
> metaprogramming? Q: could I construct arbitrary message by program? Create
> keywords from strings and than build sequence of them to make a message. Mm?
> Or may be store keywords in variables and then pass variables withing
> messages extracting stored keywords?
> Am I dreamer?)
>
>
> --
> View this message in context:
> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4595928.html
> Sent from the ESUG mailing list archive at Nabble.com.
>
> _______________________________________________
> Esug-list mailing list
> Esug-list(a)lists.esug.org
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>
>
>
> _______________________________________________
> Esug-list mailing list
> Esug-list(a)lists.esug.org
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>
>
--
Joseph Pelrine [ | ]
MetaProg GmbH
Email: jpelrine(a)metaprog.com
Web: http://www.metaprog.com
As soon as you introduce people, things become complex.
April 29, 2012
Re: [Esug-list] metaprogramming in smalltalk
by Vitaly Kosenko
Ok. perform: is working for arithmetic but what about perform: itself?
| x y plu perf wi args |
x := 3.
y := 4.
plu := '+'.
perf := 'perform:'.
wi := 'with:'.
args := Array new: 3.
args
at: 1 put: plu asSymbol;
at: 2 put: wi asSymbol;
at: 3 put: y.
x perform: perf asSymbol withArguments: args.
This code tells me that there is wrong number of arguments in permforn:
How can I fix it?
2012/4/29 vittly <vitaly.kosenko(a)gmail.com>
> Mmm thnx for replie! I'll run this code and experemt with it
>
> 2012/4/29 Georg Heeg [via Smalltalk] <[hidden email]<http://user/SendEmail.jtp?type=node&node=4596244&i=0>
> >
>
>> Please try to understand the following code:
>>
>> | a b c |
>>
>> a := 3.
>> b := 4.
>> c := '+'.
>> ^a perform: c asSymbol with: b
>>
>> Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
>> Wallstraße 22, 06366 Köthen
>> Tel. +49-3496-214328, Fax +49-3496-214712
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: [hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=0>
>> [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=1>]
>> Im Auftrag von vittly
>> Gesendet: Sonntag, 29. April 2012 10:25
>> An: [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=2>
>> Betreff: [Esug-list] metaprogramming in smalltalk
>>
>> Hi! Please could you help me understand smalltalk capabilities in
>> metaprogramming? Q: could I construct arbitrary message by program?
>> Create
>> keywords from strings and than build sequence of them to make a message.
>> Mm?
>> Or may be store keywords in variables and then pass variables withing
>> messages extracting stored keywords?
>> Am I dreamer?)
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4595928.html
>> Sent from the ESUG mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Esug-list mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=3>
>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>
>>
>>
>> _______________________________________________
>> Esug-list mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=4>
>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596217.html
>> To unsubscribe from metaprogramming in smalltalk, click here.
>> NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instan…>
>>
>
>
> ------------------------------
> View this message in context: Re: metaprogramming in smalltalk<http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596244.html>
>
> Sent from the ESUG mailing list archive<http://forum.world.st/ESUG-f1589038.html>at Nabble.com.
>
> _______________________________________________
> Esug-list mailing list
> Esug-list(a)lists.esug.org
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>
>
April 29, 2012
Re: [Esug-list] metaprogramming in smalltalk
by vittly
Mmm thnx for replie! I'll run this code and experemt with it
2012/4/29 Georg Heeg [via Smalltalk] <
ml-node+s1294792n4596217h96(a)n4.nabble.com>
> Please try to understand the following code:
>
> | a b c |
>
> a := 3.
> b := 4.
> c := '+'.
> ^a perform: c asSymbol with: b
>
> Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
> Wallstraße 22, 06366 Köthen
> Tel. +49-3496-214328, Fax +49-3496-214712
>
>
> -----Ursprüngliche Nachricht-----
> Von: [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=0>
> [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=4596217&i=1>]
> Im Auftrag von vittly
> Gesendet: Sonntag, 29. April 2012 10:25
> An: [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=2>
> Betreff: [Esug-list] metaprogramming in smalltalk
>
> Hi! Please could you help me understand smalltalk capabilities in
> metaprogramming? Q: could I construct arbitrary message by program? Create
> keywords from strings and than build sequence of them to make a message.
> Mm?
> Or may be store keywords in variables and then pass variables withing
> messages extracting stored keywords?
> Am I dreamer?)
>
>
> --
> View this message in context:
> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4595928.html
> Sent from the ESUG mailing list archive at Nabble.com.
>
> _______________________________________________
> Esug-list mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=3>
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>
>
>
> _______________________________________________
> Esug-list mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4596217&i=4>
> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596217.html
> To unsubscribe from metaprogramming in smalltalk, click here<http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&no…>
> .
> NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instan…>
>
--
View this message in context: http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4596244.html
Sent from the ESUG mailing list archive at Nabble.com.
April 29, 2012
Re: [Esug-list] metaprogramming in smalltalk
by Georg Heeg
Please try to understand the following code:
| a b c |
a := 3.
b := 4.
c := '+'.
^a perform: c asSymbol with: b
Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
Wallstraße 22, 06366 Köthen
Tel. +49-3496-214328, Fax +49-3496-214712
-----Ursprüngliche Nachricht-----
Von: esug-list-bounces(a)lists.esug.org
[mailto:esug-list-bounces@lists.esug.org] Im Auftrag von vittly
Gesendet: Sonntag, 29. April 2012 10:25
An: esug-list(a)lists.esug.org
Betreff: [Esug-list] metaprogramming in smalltalk
Hi! Please could you help me understand smalltalk capabilities in
metaprogramming? Q: could I construct arbitrary message by program? Create
keywords from strings and than build sequence of them to make a message. Mm?
Or may be store keywords in variables and then pass variables withing
messages extracting stored keywords?
Am I dreamer?)
--
View this message in context:
http://forum.world.st/metaprogramming-in-smalltalk-tp4595928p4595928.html
Sent from the ESUG mailing list archive at Nabble.com.
_______________________________________________
Esug-list mailing list
Esug-list(a)lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
April 29, 2012