[Pharo-dev] Returning the source of a class as a string
kilon.alios at gmail.com
Sat Jul 26 06:12:59 EDT 2014
there Shampoo already
or do you mean something different ?
On Sat, Jul 26, 2014 at 1:04 PM, Thierry Goubier <thierry.goubier at gmail.com>
> 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
> 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).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev