Re: [Pharo-users] [Seaside] [ANN] Zürich Smalltalk Meetup Nov 8th, 2016

2016-10-18 Thread jtuc...@objektfabrik.de
Hi Mariano, Would be good to have you, there's a lot to learn from your work ;-) Michal's full name is Michal Balda and honestly I have no idea yet if and how we'll learn more about his framework. I just know he's working on several very interesting things. If you ask: will there be any reco

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Otto Behrens
Sorry, I see there are some unresolved dependencies on our code. Let me know if I should work on that. On Wed, Oct 19, 2016 at 5:44 AM, Otto Behrens wrote: >> Do you mean internal or embedded DSL? I am open to write an DSL if >> facilitates the job, the thing with the Trevor's paper is that he de

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Otto Behrens
> Do you mean internal or embedded DSL? I am open to write an DSL if > facilitates the job, the thing with the Trevor's paper is that he defines 6 > implementations of FSM's (and in each implementation he considers several > issues leading to sub-implementations) so I would like a DSL which let me

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Dimitris Chloupis
I would not hold my breath if I were you for 3 reasons 1) this idea will go through only if my direct bridge via shared memory between Pharo and Unreal fails are is proven very limited, which I highly doubt. 2) even if I proceed with it, I will certainly be specialised for Unreal and have little

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-18 Thread Sven Van Caekenberghe
Thanks, Esteban, that works: pi@raspberrypi ~/Pharo $ ./pharo-arm-vm/pharo --version 5.0-201610181220 Tue Oct 18 14:42:58 UTC 2016 gcc 4.9.2 [Production Spur VM] CoInterpreter VMMaker.oscog-rsf.1951 uuid: c714858a-7f63-47bd-a9ec-4bc1350eead2 Oct 18 2016 StackToRegisterMappingCogit VMMaker.oscog-

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-18 Thread Esteban Lorenzano
Hi Sven, this vm: pharo-linux-i386.7237aa8.zip should work. Name is bad but is an ARMv6 VM… did you tried it? Esteban > On 18 Oct 2016, at 22:50, Sven Van Caekenberghe wrote: > > >> On 18 Oct 2016

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-18 Thread Sven Van Caekenberghe
> On 18 Oct 2016, at 22:16, Todd Blanchard wrote: > > There is a scratch on cog vm as part of the standard raspbian distro. > > Have you tried that? The Squeak VMs that come with raspbian seem to be of the older variant (I am using Pharo 5). You known, "This interpreter (vers. 6505) cannot r

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-18 Thread Todd Blanchard
There is a scratch on cog vm as part of the standard raspbian distro. Have you tried that? > On Oct 18, 2016, at 09:27, Sven Van Caekenberghe wrote: > > >> On 18 Oct 2016, at 14:29, Henrik Johansen >> wrote: >> >> >>> On 17 Oct 2016, at 8:43 , Sven Van Caekenberghe wrote: >>> >>> Hi, >>>

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Todd Blanchard
Yes, this is another one and I would like to see a nice interface to clang that then generated all the glue code for a given library based on its public header files. Smalltalk Agents used to do something like this. You could point it at a library and it would open it and generate Smalltalk bi

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Thierry Goubier
Le 18/10/2016 à 15:45, Otto Behrens a écrit : for things like that, I would consider looking into the SmaCC visitor automatic generation. From an grammar, SmaCC creates the class, respecting an eventual inheritance constraint you specify, adds the instance variables, and generates the visitor (an

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread p...@highoctane.be
http://www.micro-workflow.com/PDF/wecfo.pdf seemed interesting. Not state machines per se but still. Longer paper here: http://micro-workflow.com/PDF/phdthesis.pdf Phil On Tue, Oct 18, 2016 at 8:47 PM, Bernardo Ezequiel Contreras < vonbecm...@gmail.com> wrote: > Implementing State Machines in

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Bernardo Ezequiel Contreras
Implementing State Machines in Smalltalk (1993) Trevor Hopkins http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.31.6732 - A state machine generator (based in the excellent paper of Trevor P. > Hopkins) > > i add it to my reading list. thanks -- Bernardo E.C. Sent from a cheap desktop co

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Lionel Akue
Sure I will look and let you know. Lionel Le 18 oct. 2016 18:07, "Hernán Morales Durand" a écrit : > > 2016-10-18 9:35 GMT-03:00 Lionel Akue : > >> Great! >> >> We had the same idea :) >> >> > Let me know if we can join forces to speed uo things. > > >> The first requirements I wrote was to ge

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread p...@highoctane.be
They are useful for writing VM plugins for example. The generic part. On Tue, Oct 18, 2016 at 6:53 PM, Todd Blanchard wrote: > My personal feeling on code generators is they are a bad code smell and > the desire to use them tends to imply that your programming language isn't > dynamic enough. >

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Evan Donahue
So this isn't a specific out-of-the-box solution to any of the code-generation use cases people have been discussing, but I thought it was relevant enough to toss it out there. I'm currently doing some work on program synthesis using a Pharo port of the miniKanren logic programming language (http:

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Todd Blanchard
My personal feeling on code generators is they are a bad code smell and the desire to use them tends to imply that your programming language isn't dynamic enough. That said I have used DNE on proto object proxies to capture messages sent and generate handlers (I have used this on Morphic to try

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-18 Thread Sven Van Caekenberghe
> On 18 Oct 2016, at 14:29, Henrik Johansen > wrote: > > >> On 17 Oct 2016, at 8:43 , Sven Van Caekenberghe wrote: >> >> Hi, >> >> Does a (faster) Cog VM for the Raspberry Pi actually exist ? >> >> I tried comparing the latest OpenSmalltalk VM with some older ones, only to >> find that th

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Hernán Morales Durand
2016-10-18 9:35 GMT-03:00 Lionel Akue : > Great! > > We had the same idea :) > > Let me know if we can join forces to speed uo things. > The first requirements I wrote was to generate Spec UI directly. But I > rather chose to make Magritte compatible with Spec. > > So from the Magritte descript

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Hernán Morales Durand
Hi Otto, 2016-10-18 5:01 GMT-03:00 Otto Behrens : > +1 for the visitor. What would be nice is to generate methods in the > form #visit: for all classes in a given hierarchy (eg > Magritte's MAVisitor). The default implementation of such a method > would be to call #visit: > > We have been using s

Re: [Pharo-users] Nao robot with Pharo and LRP

2016-10-18 Thread Alexandre Bergel
This is great!!! Keep going! Alexandre > On Oct 18, 2016, at 6:09 AM, Miguel Campusano wrote: > > Hello, > I've been working on an API for the Nao Robot [1] in Pharo. You can find an > early demo of how it works in Pharo: > https://www.youtube.com/watch?v=z8jopUfLWtQ >

Re: [Pharo-users] Nao robot with Pharo and LRP

2016-10-18 Thread Johan Fabry
Excellent work ! :-) -- Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org . Johan Fabry - http://pleiad.cl/~jfabry PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile > On 18

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Hernán Morales Durand
Hi Dimitris, That would be certainly nice. C++ is hard, but if one start with a basic instantiation template it could be easier to move forward to more complex tasks like mapping data structures to STL, their containers and iterators. And I think it would attract C++ developers to Smalltalk. Cheer

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Otto Behrens
> for things like that, I would consider looking into the SmaCC visitor > automatic generation. From an grammar, SmaCC creates the class, respecting > an eventual inheritance constraint you specify, adds the instance variables, > and generates the visitor (and an equality test too). Nice. Will hav

Re: [Pharo-users] [Seaside] [ANN] Zürich Smalltalk Meetup Nov 8th, 2016

2016-10-18 Thread Mariano Martinez Peck
On Tue, Oct 18, 2016 at 1:35 AM, jtuc...@objektfabrik.de < jtuc...@objektfabrik.de> wrote: > There are great news about the upcoming Smalltalker’s Meetup in Zürich. > > We’ve found a conference room for the evening and will start off with a > “show us your project” session in a room with a big scr

Re: [Pharo-users] looking for a tutorial on sounds in Pharo

2016-10-18 Thread Grigory Hatsevich
I’m interested in using a computer as a musical instrument and a XXI-century tool to learn how to play and compose music. First, I’d like to implement a Janko keyboard emulator in Pharo (like this one http://monxmood.free.fr/roche/roche.html, but with various customizations) – it is an alte

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Lionel Akue
Great! We had the same idea :) The first requirements I wrote was to generate Spec UI directly. But I rather chose to make Magritte compatible with Spec. So from the Magritte description, we could generate Spec, Seaside ... Lionel 2016-10-18 14:20 GMT+02:00 Peter Uhnak : > Hi Hernan, > > I w

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-18 Thread Henrik Johansen
> On 17 Oct 2016, at 8:43 , Sven Van Caekenberghe wrote: > > Hi, > > Does a (faster) Cog VM for the Raspberry Pi actually exist ? > > I tried comparing the latest OpenSmalltalk VM with some older ones, only to > find that they are all equally fast (slow actually): > > pi@raspberrypi ~/Pharo

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Peter Uhnak
On Tue, Oct 18, 2016 at 02:24:28AM -0300, Hernán Morales Durand wrote: > - A Spec UI generator. Oh, and Stephan did CRUD(e) Spec generator http://forum.world.st/ANN-SpecGenerator-easy-CRUD-applications-with-Spec-td4889624.html Peter

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Peter Uhnak
Hi Hernan, I wrote some time ago two basic code generators (both in Pharo) from UML-ified FAMIX for a particular user (so there are some domain-specific patterns), one for Pharo syntax ( https://github.com/OpenPonk/class-editor/blob/master/docs/code-generation/uml-to-code.md ) and one for VW sy

Re: [Pharo-users] Spec: scaling imageModels

2016-10-18 Thread matteob8 via Pharo-users
--- Begin Message --- Hi Stef, I think that an automatic scaled behaviour is very useful for ImageModel, especially if you need to generate list of images, that automatically adapts to their container (i.e. Thumbnails). Playing with AlpahImageMorph I found that the desired behavio

[Pharo-users] Nao robot with Pharo and LRP

2016-10-18 Thread Miguel Campusano
Hello, I've been working on an API for the Nao Robot [1] in Pharo. You can find an early demo of how it works in Pharo: https://www.youtube.com/watch?v=z8jopUfLWtQ Moreover, I built a communication bridge between the Nao and LRP [2]. LRP is a live programming language for robotic behaviors. You ca

Re: [Pharo-users] [Seaside] Seaside can not be used with Pharo 60261

2016-10-18 Thread Johan Brichau
I only received a config for Grease :) In my haste, I did not check you need Seaside :) Right now, I’m a bit too busy so until someone can provide a working config, it will have to wait. cheers Johan > On 18 Oct 2016, at 10:19, Norbert Hartl wrote: > > You uploaded ConfigurationOfGrease but n

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Thierry Goubier
Hi Otto, for things like that, I would consider looking into the SmaCC visitor automatic generation. From an grammar, SmaCC creates the class, respecting an eventual inheritance constraint you specify, adds the instance variables, and generates the visitor (and an equality test too). Regardi

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Otto Behrens
+1 for the visitor. What would be nice is to generate methods in the form #visit: for all classes in a given hierarchy (eg Magritte's MAVisitor). The default implementation of such a method would be to call #visit: We have been using state machines for a long time and have built generators for it

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Dimitris Chloupis
There is the CCodeGenerator , which is basically Slang, Smalltalk that is turned into basic C. I would like to expand it to generate C++ at some point for converting pharo code to C++ code that I will be able to add to Unreal. Though its a very low priority project for me. http://smalltalkhub.com/

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-18 Thread Clément Bera
The VM you use is the fastest one available. It's slower mostly due to non Smalltalk concerns (processor architecture, energy consumption, frequency, overall hardware). There is an abstraction over the back-ends in the JIT and it could be that overall the JIT is a little bit more optimised for in

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Julien Delplanque
Hello, A generator for the visitor design pattern: - Generate methods in visited objects: VisitedObject>>#accept: (with the selector name configurable) - Generate empty methods (or methods with a "self subclassResponsability" if an abstract visitor is generated) called in #accept: methods of Vi