Is there an up to date tutorial for making plugins?

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

Is there an up to date tutorial for making plugins?

Ang BeePeng
I have search the web and found several links that sounds useful. But they seem out of date and do not work as instructed. Is there an up to date one for a simple example plugin?

Thanks,
Reply | Threaded
Open this post in threaded view
|

Re: Is there an up to date tutorial for making plugins?

EthanChang
Ang Beepeng wrote
I have search the web and found several links that sounds useful. But they seem out of date and do not work as instructed. Is there an up to date one for a simple example plugin?
The first useful tutorial I encounter is to set up the tools for VM compilation. I am going to simplify the steps as follows:

1. Download the Squeak VM Win32 Source from the release directory, into C:\. It saves you a lot of fine tuning work instead of putting your stuff in other folders, for example, the Makefile adjustment.

2. Install VMMaker() from the package loader in Squeak, and check the System Browser for the Win32VMMaker class, remove it and replace it by filing in the new Win32VMMaker.st from here.

3. Execute "VMMakerTool openInWorld", and complete the fields as follows:
    Interpreter class name: Interpreter
    Path to platform code: C:\SqueakVM\platforms
    Platform name: Win32
    Path to generate sources: C:\SqueakVM\platforms\win32\build\src


4. Then drag the plugins from Plugins not build into Internal Plugins, and then click on the generate entire button. This will generate the corresponding C files that are used to compile your new VM.

5. The next step is to get the compiling tools. After extracting the file, you should have two folders "dx7sdk" and "gnutools". Put these folders in C:\ as well.

6. Next, set the path by going into System Properties>Advanced>Environmental Variables. Edit the variable path, by adding in "C:\GNUTools\bin", with a semicolon as a separator.

7. Then, go to the commamd prompt C:\SqueakVM\platforms\win32\build\ and invoke "make". If there exists an error, generate the plugins again from Squeak, and invoke make again. After a few minutes of waiting, you should have your VM in the obj\vm directory of the build.

8. If you want a custom VM, there are a few things that need to be done. First, edit the Makefile in the build directory, change VM = Whatever; then, add another rule right at the bottom of the file,

#       Whatever.res: misc/Whatever.rc
#     $(RC) $(RCFLAGS) -i $< -o $(OBJDIR)/$@
 Then save and close Makefile.

9. Duplicate a Whatever.def.in file from Squeak.def.in in the build directory and Duplicate a Whatever.rc file from Squeak.rc in the win32/misc folder and you can actually edit your icons there. For example, if you prefer the Croquet icon rather than the original Squeak icon, duplicate from Croquet.rc instead !

10. Invoke make in the command prompt again to enjoy your first VM !!
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] [Call for papers] Smalltalks 2008 - 2nd Argentinian Smalltalk Conference

Leandro Caniglia
Call for Papers

Smalltalks 2008 - 2nd Argentinian Smalltalk Conference
November 13th – 15th Buenos Aires, Argentina

Conference Site:
http://neuquina.lifia.info.unlp.edu.ar:8001/Smalltalks-2008

Last year, Smalltalks 2007 (1st Argentinian Smalltalk Conference) was a
lively forum on Smalltalk-based software technologies that attracted over
more than 200 people from both academia and industry for three days. During
this first conference, the industrial partners showed the applicability of
Smalltalk in business, while the students and professors showed their
research and didactic uses of Smalltalk. The presented approaches and
methodologies concerned the language, its implementation technology, its
programming tools as well as the software development culture it supports.
In this year conference, we are extending the scope of the research and
educational track to include other dynamic languages, not only Smalltalk.

In this call, we invite research papers that report on original scientific
research conducted in and/or for Smalltalk and Dynamic Languages in general.

Topics of interest include, but are not restricted to:

- Aspects, Aspect Languages and Applications.
- Ambient Intelligence, Ubiquitous / Pervasive Computing and Embedded
Systems.
- Compilation Technology, Optimization, Virtual Machines.
- Educational Material.
- Language Engineering, Extensions.
- Model Driven Engineering / Development.
- Meta-Modeling.
- Programming in the Large, Design, Architectures and Components.
- Programming Environments, Browsers, User Interfaces, UI Frameworks.
- Reasoning About Code (Analysis, Refactoring, Type Inference, Metrics).
- Reflection and Meta-programming.
- Team Management.
- Testing, Extreme Programming / Practices.
- Web Services, Internet Applications, Event-driven Programming.
- Experience Reports.

Important dates:
- Submission (Hard Deadline): September 7th, 2008 (Argentinian time).
- Notification of acceptance: October 6th, 2008.
- Camera Ready Submission: October 15th, 2008.

Papers:
Papers should be written in English, in pdf-format and not exceed 10 pages
(including references and figures), using the 2-column IEEE conference
format. Templates for Microsoft Word and LaTeX formats can be found at
http://www.ieee.org/go/conferencepublishing/templates

Papers must be submitted through the Conference Website, in the Research
Track section. The accepted papers will be published in the Smalltalks 2008
Research Track Proceedings published by CEUR (CEUR-WS.org - online
proceedings for scientific workshops) and will be digitally available in the
conference website. Papers submitted must not have been previously published
and must not be under review for publication elsewhere. Papers must strictly
adhere to submission guidelines.

If you have questions, please send an e-mail to Gabriela Arévalo
(gabriela.arevalo at lifia.info.unlp.edu.ar) using [Smalltalks08-RT] as tag
in the e-mail subject.

Program Committee:
- Federico Balaguer (LIFIA, Universidad Nacional de La Plata, Argentina)
- Tulio Ballari (UTN, Buenos Aires, Argentina)
- Alexandre Bergel (INRIA, Lille, France)
- Gilad Bracha (Cadence Design Systems, USA)
- Johan Brichau (Université Catholique de Louvain, Belgium)
- Cecilia Challiol (LIFIA, Universidad Nacional de La Plata, Argentina)
- Marco D'Ambros (University of Lugano, Switzerland)
- Marcus Denker (SCG, University of Bern, Switzerland)
- Fernando Dodino (UTN, Buenos Aires, Argentina)
- Stéphane Ducasse (INRIA, Lille, France)
- Alejandra Garrido (LIFIA, Universidad Nacional de La Plata, Argentina)
- Tudor Girba (SCG, University of Bern, Switzerland)
- Orla Greevy (SCG, University of Bern, Switzerland)
- Julián Grigera (LIFIA, Universidad Nacional de La Plata, Argentina)
- Robert Hirschfeld (Hasso-Plattner-Institute Potsdam, Germany)
- Andy Kellens (PROG, Vrije Universiteit Brussels, Belgium)
- Michele Lanza (University of Lugano, Switzerland)
- Kim Mens (Université Catholique de Louvain, Belgium)
- Guillermo Adrián Molina (ESSI Projects, Spain)
- Damien Pollet (INRIA, Lille, France)
- Romain Robbes (University of Lugano, Switzerland)
- David Röthlisberger (SCG, University of Bern, Switzerland)
- Daniel Solmirano (UTN, Buenos Aires, Argentina)
- Tom Van Cutsem (PROG, Vrije Universeit Brussels, Belgium)
- Roel Wuyts (IMEC, Belgium)

Organizing Committee:
- Gabriela Arévalo (LIFIA, Universidad Nacional de La Plata)
- Andrés Fortier (LIFIA, Universidad Nacional de La Plata)



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] [Call for papers] Smalltalks 2008 - 2nd Argentinian Smalltalk Conference

David Zmick
I will forward this to my dad :)

On Tue, Aug 19, 2008 at 7:25 AM, Leandro <[hidden email]> wrote:
Call for Papers

Smalltalks 2008 - 2nd Argentinian Smalltalk Conference
November 13th – 15th Buenos Aires, Argentina

Conference Site:
http://neuquina.lifia.info.unlp.edu.ar:8001/Smalltalks-2008

Last year, Smalltalks 2007 (1st Argentinian Smalltalk Conference) was a
lively forum on Smalltalk-based software technologies that attracted over
more than 200 people from both academia and industry for three days. During
this first conference, the industrial partners showed the applicability of
Smalltalk in business, while the students and professors showed their
research and didactic uses of Smalltalk. The presented approaches and
methodologies concerned the language, its implementation technology, its
programming tools as well as the software development culture it supports.
In this year conference, we are extending the scope of the research and
educational track to include other dynamic languages, not only Smalltalk.

In this call, we invite research papers that report on original scientific
research conducted in and/or for Smalltalk and Dynamic Languages in general.

Topics of interest include, but are not restricted to:

- Aspects, Aspect Languages and Applications.
- Ambient Intelligence, Ubiquitous / Pervasive Computing and Embedded
Systems.
- Compilation Technology, Optimization, Virtual Machines.
- Educational Material.
- Language Engineering, Extensions.
- Model Driven Engineering / Development.
- Meta-Modeling.
- Programming in the Large, Design, Architectures and Components.
- Programming Environments, Browsers, User Interfaces, UI Frameworks.
- Reasoning About Code (Analysis, Refactoring, Type Inference, Metrics).
- Reflection and Meta-programming.
- Team Management.
- Testing, Extreme Programming / Practices.
- Web Services, Internet Applications, Event-driven Programming.
- Experience Reports.

Important dates:
- Submission (Hard Deadline): September 7th, 2008 (Argentinian time).
- Notification of acceptance: October 6th, 2008.
- Camera Ready Submission: October 15th, 2008.

Papers:
Papers should be written in English, in pdf-format and not exceed 10 pages
(including references and figures), using the 2-column IEEE conference
format. Templates for Microsoft Word and LaTeX formats can be found at
http://www.ieee.org/go/conferencepublishing/templates

Papers must be submitted through the Conference Website, in the Research
Track section. The accepted papers will be published in the Smalltalks 2008
Research Track Proceedings published by CEUR (CEUR-WS.org - online
proceedings for scientific workshops) and will be digitally available in the
conference website. Papers submitted must not have been previously published
and must not be under review for publication elsewhere. Papers must strictly
adhere to submission guidelines.

If you have questions, please send an e-mail to Gabriela Arévalo
(gabriela.arevalo at lifia.info.unlp.edu.ar) using [Smalltalks08-RT] as tag
in the e-mail subject.

Program Committee:
- Federico Balaguer (LIFIA, Universidad Nacional de La Plata, Argentina)
- Tulio Ballari (UTN, Buenos Aires, Argentina)
- Alexandre Bergel (INRIA, Lille, France)
- Gilad Bracha (Cadence Design Systems, USA)
- Johan Brichau (Université Catholique de Louvain, Belgium)
- Cecilia Challiol (LIFIA, Universidad Nacional de La Plata, Argentina)
- Marco D'Ambros (University of Lugano, Switzerland)
- Marcus Denker (SCG, University of Bern, Switzerland)
- Fernando Dodino (UTN, Buenos Aires, Argentina)
- Stéphane Ducasse (INRIA, Lille, France)
- Alejandra Garrido (LIFIA, Universidad Nacional de La Plata, Argentina)
- Tudor Girba (SCG, University of Bern, Switzerland)
- Orla Greevy (SCG, University of Bern, Switzerland)
- Julián Grigera (LIFIA, Universidad Nacional de La Plata, Argentina)
- Robert Hirschfeld (Hasso-Plattner-Institute Potsdam, Germany)
- Andy Kellens (PROG, Vrije Universiteit Brussels, Belgium)
- Michele Lanza (University of Lugano, Switzerland)
- Kim Mens (Université Catholique de Louvain, Belgium)
- Guillermo Adrián Molina (ESSI Projects, Spain)
- Damien Pollet (INRIA, Lille, France)
- Romain Robbes (University of Lugano, Switzerland)
- David Röthlisberger (SCG, University of Bern, Switzerland)
- Daniel Solmirano (UTN, Buenos Aires, Argentina)
- Tom Van Cutsem (PROG, Vrije Universeit Brussels, Belgium)
- Roel Wuyts (IMEC, Belgium)

Organizing Committee:
- Gabriela Arévalo (LIFIA, Universidad Nacional de La Plata)
- Andrés Fortier (LIFIA, Universidad Nacional de La Plata)






--
David Zmick
/dz0004455\
http://dz0004455.googlepages.com
http://dz0004455.blogspot.com


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Is there an up to date tutorial for making plugins?

Ragnar Hojland Espinosa-2
In reply to this post by EthanChang
On Tue, Aug 19, 2008 at 11:43 AM, EthanChang <[hidden email]> wrote:
> Ang Beepeng wrote:
>> I have search the web and found several links that sounds useful. But they
>> seem out of date and do not work as instructed. Is there an up to date one
>> for a simple example plugin?
>>
>
> The first  http://www.squeakvm.org/win32/compiling.html useful tutorial  I
> encounter is to set up the tools for VM compilation. I am going to simplify
> the steps as follows:

I wrote http://wiki.squeak.org/squeak/3408 ages ago, it may complement
Ethan's mail as it deals with the smalltalk part and, hopefully a bit
relevant.

--
Ragnar

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Is there an up to date tutorial for making plugins?

Ang BeePeng
Thanks Ragnar. I am trying to build plugin on Win32, how and what should I modify if I am to follow the example from the page you wrote?

Thanks,
Ang Beepeng


I wrote http://wiki.squeak.org/squeak/3408 ages ago, it may complement
Ethan's mail as it deals with the smalltalk part and, hopefully a bit
relevant.

--
Ragnar



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Is there an up to date tutorial for making plugins?

Ragnar Hojland Espinosa-2
On Mon, Aug 25, 2008 at 12:40 PM, Ang Beepeng <[hidden email]> wrote:
>
> Thanks Ragnar. I am trying to build plugin on Win32, how and what should I
> modify if I am to follow the example from the page you wrote?

Ethan's post is good on setting up the build environment. My page,
other than the references to platforms/unix/config/ and maybe the
-lncurses.so, should be applicable to win32. You could start by
building a sample plugin without using any external libraries just to
see if it works, and then move on from there (if the C side of the
plugin doesn't need a library you obviously don't need to link it when
compiling).

--
Ragnar

Reply | Threaded
Open this post in threaded view
|

Re: Is there an up to date tutorial for making plugins?

Ang BeePeng
In reply to this post by EthanChang
Thanks, Ethan. Here's something I found out. In step 2, we need to file in Win32VMMaker.st for a new Win32VMMaker class. Win32VMMaker.st is actually include in the source realease. Which mean it's in the directory C:\SqueakVM\platforms\win32\build following steps you've wrote.

Thanks,
Ang Beepeng


EthanChang wrote
Ang Beepeng wrote
I have search the web and found several links that sounds useful. But they seem out of date and do not work as instructed. Is there an up to date one for a simple example plugin?
The first useful tutorial I encounter is to set up the tools for VM compilation. I am going to simplify the steps as follows:

1. Download the Squeak VM Win32 Source from the release directory, into C:\. It saves you a lot of fine tuning work instead of putting your stuff in other folders, for example, the Makefile adjustment.

2. Install VMMaker() from the package loader in Squeak, and check the System Browser for the Win32VMMaker class, remove it and replace it by filing in the new Win32VMMaker.st from here.

3. Execute "VMMakerTool openInWorld", and complete the fields as follows:
    Interpreter class name: Interpreter
    Path to platform code: C:\SqueakVM\platforms
    Platform name: Win32
    Path to generate sources: C:\SqueakVM\platforms\win32\build\src


4. Then drag the plugins from Plugins not build into Internal Plugins, and then click on the generate entire button. This will generate the corresponding C files that are used to compile your new VM.

5. The next step is to get the compiling tools. After extracting the file, you should have two folders "dx7sdk" and "gnutools". Put these folders in C:\ as well.

6. Next, set the path by going into System Properties>Advanced>Environmental Variables. Edit the variable path, by adding in "C:\GNUTools\bin", with a semicolon as a separator.

7. Then, go to the commamd prompt C:\SqueakVM\platforms\win32\build\ and invoke "make". If there exists an error, generate the plugins again from Squeak, and invoke make again. After a few minutes of waiting, you should have your VM in the obj\vm directory of the build.

8. If you want a custom VM, there are a few things that need to be done. First, edit the Makefile in the build directory, change VM = Whatever; then, add another rule right at the bottom of the file,

#       Whatever.res: misc/Whatever.rc
#     $(RC) $(RCFLAGS) -i $< -o $(OBJDIR)/$@
 Then save and close Makefile.

9. Duplicate a Whatever.def.in file from Squeak.def.in in the build directory and Duplicate a Whatever.rc file from Squeak.rc in the win32/misc folder and you can actually edit your icons there. For example, if you prefer the Croquet icon rather than the original Squeak icon, duplicate from Croquet.rc instead !

10. Invoke make in the command prompt again to enjoy your first VM !!