[Pharo-dev] Returning the source of a class as a string

kilon alios kilon.alios at gmail.com
Sat Jul 26 06:12:59 EDT 2014


there Shampoo already

http://dmitrymatveev.co.uk/shampoo/

or do you mean something different ?


On Sat, Jul 26, 2014 at 1:04 PM, Thierry Goubier <thierry.goubier at gmail.com>
wrote:

> Le 26/07/2014 10:04, Marcus Denker a écrit :
>
>  On 26 Jul 2014, at 10:02, stepharo <stepharo at free.fr> wrote:
>>
>>  Thierry we asked Mark Rizun to look into get a full "compilation unit"
>>> as an AST:
>>>     - AST for packages
>>>     - AST for class definition.
>>> He should look at what gisela proposed and any feedback is interesting.
>>>
>>>  Only the name AST is wrong: the S stand for Syntax. There is no syntax
>> for Classes, nor
>> packages.
>>
> We could have one. It would allow people to write Pharo code with emacs,
> have a pharo emacs-el mode, and try a different way to use git :)
>
>
>> What we want is models for everything with *the same API* as the nodes of
>> the AST.
>> (and visitors that can visit the whole structure)
>>
> This would be cool. I have the nodes and the visitors for all the way from
> packages to method, but it stops at the method / class description level
> (and switches to the RB ast then).
>
> Thierry
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140726/ff22171e/attachment-0002.html>


More information about the Pharo-dev mailing list