Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I’m thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I’m not sure how this can be implemented.
Cheers, Uko
Hi, did you check if the root folder of your moose model is correct? It should point to the root where your source code is.
Cheers, Fabrizio
2014-04-09 16:45 GMT+02:00 Yuriy Tymchuk yuriy.tymchuk@me.com:
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I'm thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I'm not sure how this can be implemented.
Cheers, Uko _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
For now I’m working with smalltalk only :)
Uko
On 09 Apr 2014, at 17:05, Fabrizio Perin fabrizio.perin@gmail.com wrote:
Hi, did you check if the root folder of your moose model is correct? It should point to the root where your source code is.
Cheers, Fabrizio
2014-04-09 16:45 GMT+02:00 Yuriy Tymchuk yuriy.tymchuk@me.com:
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I'm thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I'm not sure how this can be implemented.
Cheers, Uko _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi Yuriy,
Unfortunately, we do not use the source anchor for Pharo code. As far as I know (I do not have access right now) we have an issue open for it. It would be great to extend the Pharo importer to create anchors.
Look at FAMIXSourcedEntity>>sourceText as a starting point.
Cheers, Doru
-- www.tudorgirba.com
"Every thing has its own flow."
On 09.04.2014, at 18:08, Yuriy Tymchuk yuriy.tymchuk@me.com wrote:
For now I’m working with smalltalk only :)
Uko
On 09 Apr 2014, at 17:05, Fabrizio Perin fabrizio.perin@gmail.com wrote:
Hi, did you check if the root folder of your moose model is correct? It should point to the root where your source code is.
Cheers, Fabrizio
2014-04-09 16:45 GMT+02:00 Yuriy Tymchuk yuriy.tymchuk@me.com:
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I'm thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I'm not sure how this can be implemented.
Cheers, Uko _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Yuriy
the problem is what to store? if you have a model on classes loaded in the system you can refer to them. Now if you have model about classes that are not loaded in memory it is not clear what we should do - saving the code of the model in a certain way - computing the source anchors according to this physical representation?
Stef
For now I’m working with smalltalk only :)
Uko
On 09 Apr 2014, at 17:05, Fabrizio Perin fabrizio.perin@gmail.com wrote:
Hi, did you check if the root folder of your moose model is correct? It should point to the root where your source code is.
Cheers, Fabrizio
2014-04-09 16:45 GMT+02:00 Yuriy Tymchuk yuriy.tymchuk@me.com:
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I'm thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I'm not sure how this can be implemented.
Cheers, Uko _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Le 09/04/2014 16:45, Yuriy Tymchuk a écrit :
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I’m thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I’m not sure how this can be implemented.
This is the sort of things I do and its very cool :), especially combined with Roassal.
Thierry
On 09 Apr 2014, at 17:50, Goubier Thierry thierry.goubier@cea.fr wrote:
Le 09/04/2014 16:45, Yuriy Tymchuk a écrit :
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I’m thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I’m not sure how this can be implemented.
This is the sort of things I do and its very cool :), especially combined with Roassal.
How do you do it?
Thierry
Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95 _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Well,
usually, if you have something parsing source code, it stores somewhere the range in the file and the file for each element. From that information, you can control a text pane by opening the file and selecting the right range.
If you draw a representation of your elements with Roassal, then you add, in the interaction of the visualisation, the code which plays with the text pane.
Thierry
________________________________________ De : moose-dev-bounces@iam.unibe.ch [moose-dev-bounces@iam.unibe.ch] de la part de Yuriy Tymchuk [yuriy.tymchuk@me.com] Envoyé : mercredi 9 avril 2014 18:25 À : Moose-related development Objet : [Moose-dev] Re: Relations with source code
On 09 Apr 2014, at 17:50, Goubier Thierry thierry.goubier@cea.fr wrote:
Le 09/04/2014 16:45, Yuriy Tymchuk a écrit :
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I’m thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I’m not sure how this can be implemented.
This is the sort of things I do and its very cool :), especially combined with Roassal.
How do you do it?
Thierry
Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95 _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Le 9 avr. 2014 à 16:45, Yuriy Tymchuk a écrit :
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I’m thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I’m not sure how this can be implemented.
I may be wrong, but if you get a FAST representation of your source code, you can have what you want.
Anne
Cheers, Uko _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
On 09 Apr 2014, at 18:00, Anne Etien anne.etien@univ-lille1.fr wrote:
Le 9 avr. 2014 à 16:45, Yuriy Tymchuk a écrit :
Hi everyone.
I wander if there is any place I can read about the philosophy about how Moose is linked with a source code. I know that there are source anchors, and sourced entities. But as far as I can see, my entities do not have any anchors.
Right now I’m thinking that it would be cool to be able to browse a source code of any sourced entity that you have, but I’m not sure how this can be implemented.
I may be wrong, but if you get a FAST representation of your source code, you can have what you want.
Right now I’m not using FAST. And anyway FAST is not storing the code the way it is (it may, but that’s why I’m asking about how to use source anchors)
Uko
Anne
Cheers, Uko _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev