thanks I am looking at it

is this relevant to pharo ? --> http://en.wikipedia.org/wiki/Visitor_pattern

Sure if I can stay in pharo while coding in C/C++ then why not ? Even if I
still have to do work outside pharo. The problem is beginners like me do
not realize the potential of their tools because of lack of experience, so
its more likely I give up than you who you are a much more experienced
pharoer than me.

Afterall Neo needed Morpheas to show him that he is the chosen one ;)

I invested a year of my life in pharo and I would love to invest a lot more
and benefit back the community. This way everyone is a winner.

Also Thierry mentioned Ring which led me to this
http://rmod.lille.inria.fr/archives/papers/Uqui11a-RingJournalPaper-CSSJournal.pdf
from
the looks of it is a source code analyzer ?

much to study , a lot of potential and another happy Pharo user :)

On Mon, Sep 15, 2014 at 3:02 PM, p...@highoctane.be <p...@highoctane.be>
wrote:

> On Mon, Sep 15, 2014 at 1:39 PM, kilon alios <kilon.al...@gmail.com>
> wrote:
>
>> WOW this CCodeGenerator is great , I have downloaded it and tried the
>> example and it generated the 'generated.c" file . Awesome !!!! thank you
>> all
>>
>
> Ah ah, happy to have made you day. Yes, Slang is the awesome thing for
> integrating things. You can debug in Pharo, and then compile to C. How cool
> is that?
>
>>
>> Ok how about this visitor thing ? any links to it , no idea what that is
>> and how to use it in pharo. Is it a way to code like continuations ?
>>
>
> Check the FileSystem-Core-Implementation package.
>
> Look at the FileSystemGuide and how ti works, including the
> FileSystemVisitor and its Collect and Select visitors down there.
>
> It is interesting material to get to terms with the Visitor/Guide thing.
>
> I reused/cloned a ton of this code for my current project where I do have
> to navigate network equipement structures and generate probes along the way.
>
> A tad mind twisting at the beginning but very useful once you get it.
>
> Once you have the guide, you can visit all the way you want. Like here, I
> generate HTML tree controls, D3 graphics, SNMP probes etc.
>
> There are samples also for AST, but this is a tad too much for me at the
> moment.
>
>
>
>> About LLVM sound very cool and I was googling about that few hours ago
>> but from what I have read is a very undocumented part of LLVM so that maybe
>> easier said than done. Looks like Pharo is not the only project having
>> issues with documentation ;)
>>
>> So it looks like I will be sticking with Pharo after all :D
>>
>
> Ah, swallowing the red pill is nearing.
>
> Enjoy,
> Phil
>
>>
>>
>> On Mon, Sep 15, 2014 at 2:28 PM, Serge Stinckwich <
>> serge.stinckw...@gmail.com> wrote:
>>
>>> On Mon, Sep 15, 2014 at 12:31 PM, p...@highoctane.be <p...@highoctane.be>
>>> wrote:
>>> > On Mon, Sep 15, 2014 at 11:33 AM, Serge Stinckwich
>>> > <serge.stinckw...@gmail.com> wrote:
>>> >>
>>> >> On Mon, Sep 15, 2014 at 11:28 AM, Santiago Bragagnolo
>>> >> <santiagobragagn...@gmail.com> wrote:
>>> >> >  I may be wrong, but I think the closest thing out there is Slang.
>>> Is
>>> >> > the
>>> >> > pseudo smalltalk used to develop the VM.
>>> >> >
>>> >> > Also there is a project for generating C for arduino, (a project
>>> related
>>> >> > with EToys), but i am not sure about how complete is.
>>> >>
>>> >> Both are subset of Smalltalk. This is best path to follow I guess:
>>> >> define your own DSL for your needs and implement a visitor to do code
>>> >> generation.
>>> >> We have done that for epidemiological modeling.
>>> >
>>> >
>>> > Or combine both: visitor which uses CCodeGenerator for emitting the
>>> result.
>>>
>>> Yes, interesting idea, instead of generating strings!
>>>
>>> --
>>> Serge Stinckwich
>>> UCBN & UMI UMMISCO 209 (IRD/UPMC)
>>> Every DSL ends up being Smalltalk
>>> http://www.doesnotunderstand.org/
>>>
>>>
>>
>

Reply via email to