Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And I started to visualize their JavaScript application.
Here are my two tries:
So, it seems to work well :-) Happy I am :-)
Cheers, Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ]
Hi,
Very nice.
How was it parsed? Also, is the meta-model available?
Doru
-- www.tudorgirba.com
"Every thing has its own flow"
On 11 Mar 2015, at 18:24, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And I started to visualize their JavaScript application.
Here are my two tries: <Screen Shot 2015-03-11 at 2.14.44 PM.png><Screen Shot 2015-03-11 at 2.21.40 PM.png>
So, it seems to work well :-) Happy I am :-)
Cheers, Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ]
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Yes, this is still early work. My email was more saying ‘Hey! We are working on this’ than ‘We have something cool to share right now’.
Leonardo use Esprima, a JavaScript parser to get a JSON. We then import it in Moose.
Alexandre
Hi,
Great to hear. Indeed this will be a valuable addition.
What about the meta-model? In the screenshot I saw FAMIXJsObject. Where is that packaged?
Cheers, Doru
On Wed, Mar 11, 2015 at 9:27 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
Yes, this is still early work. My email was more saying ‘Hey! We are working on this’ than ‘We have something cool to share right now’.
Leonardo use Esprima, a JavaScript parser to get a JSON. We then import it in Moose.
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Mar 11, 2015, at 3:38 PM, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
Very nice.
How was it parsed? Also, is the meta-model available?
Doru
-- www.tudorgirba.com
"Every thing has its own flow"
On 11 Mar 2015, at 18:24, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And I started to visualize their JavaScript application.
Here are my two tries: <Screen Shot 2015-03-11 at 2.14.44 PM.png><Screen Shot 2015-03-11 at 2.21.40 PM.png>
So, it seems to work well :-) Happy I am :-)
Cheers, Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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
you mean these are classes extracted from the JS code?
if so, what are the (few) links?
nicolas
On 11/03/2015 18:24, Alexandre Bergel wrote:
Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And I started to visualize their JavaScript application.
Here are my two tries:
So, it seems to work well :-) Happy I am :-)
Cheers, Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
I was thinking that the strategy to detect classes (Section III.A from the paper) could be implemented in Moose, on the class FAMIXJSObject ?
The link are about the nesting I think using #belongTo
Alexandre
On Thu, Mar 12, 2015 at 2:08 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
I was thinking that the strategy to detect classes (Section III.A from the paper) could be implemented in Moose, on the class FAMIXJSObject ?
The strategy to detect classes is implemented in Pharo. It reads the FAMIX-JS meta model and creates instances of FAMIXClass, FAMIXInheritance, FAMIXMethod and FAMIXAttributes.
Try this with the "js model" you already have:
js1 := JSClassFinder new. js1 famixJSModel: (js model). js1 searchJSClasses. js1 classModel.
The link are about the nesting I think using #belongTo
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Mar 11, 2015, at 6:42 PM, Nicolas Anquetil nicolas.anquetil@inria.fr wrote:
you mean these are classes extracted from the JS code?
if so, what are the (few) links?
nicolas
On 11/03/2015 18:24, Alexandre Bergel wrote:
Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And I started to visualize their JavaScript application.
Here are my two tries: <Mail Attachment.png><Mail Attachment.png>
So, it seems to work well :-) Happy I am :-)
Cheers, Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
Could you please let me know where the JS meta-model is defined? I am looking for a Gofer script to get the code :)
Doru
On Fri, Mar 13, 2015 at 10:35 AM, Leonardo Silva < leonardo.humberto@gmail.com> wrote:
On Thu, Mar 12, 2015 at 2:08 PM, Alexandre Bergel <alexandre.bergel@me.com
wrote:
I was thinking that the strategy to detect classes (Section III.A from the paper) could be implemented in Moose, on the class FAMIXJSObject ?
The strategy to detect classes is implemented in Pharo. It reads the FAMIX-JS meta model and creates instances of FAMIXClass, FAMIXInheritance, FAMIXMethod and FAMIXAttributes.
Try this with the "js model" you already have:
js1 := JSClassFinder new. js1 famixJSModel: (js model). js1 searchJSClasses. js1 classModel.
The link are about the nesting I think using #belongTo
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Mar 11, 2015, at 6:42 PM, Nicolas Anquetil nicolas.anquetil@inria.fr wrote:
you mean these are classes extracted from the JS code?
if so, what are the (few) links?
nicolas
On 11/03/2015 18:24, Alexandre Bergel wrote:
Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And I started to visualize their JavaScript application.
Here are my two tries: <Mail Attachment.png><Mail Attachment.png>
So, it seems to work well :-) Happy I am :-)
Cheers, Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
On Fri, Mar 13, 2015 at 10:43 AM, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
Hi
Could you please let me know where the JS meta-model is defined? I am looking for a Gofer script to get the code :)
You can find it here:
MCHttpRepository location: 'http://smalltalkhub.com/mc/LeonardoHumberto/Famix-JS/main' user: '' password: ''
I am still working on it. It lacks documentation and more tests with JS applications. But you can try it !
Leonardo
Doru
On Fri, Mar 13, 2015 at 10:35 AM, Leonardo Silva < leonardo.humberto@gmail.com> wrote:
On Thu, Mar 12, 2015 at 2:08 PM, Alexandre Bergel < alexandre.bergel@me.com> wrote:
I was thinking that the strategy to detect classes (Section III.A from the paper) could be implemented in Moose, on the class FAMIXJSObject ?
The strategy to detect classes is implemented in Pharo. It reads the FAMIX-JS meta model and creates instances of FAMIXClass, FAMIXInheritance, FAMIXMethod and FAMIXAttributes.
Try this with the "js model" you already have:
js1 := JSClassFinder new. js1 famixJSModel: (js model). js1 searchJSClasses. js1 classModel.
The link are about the nesting I think using #belongTo
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Mar 11, 2015, at 6:42 PM, Nicolas Anquetil nicolas.anquetil@inria.fr wrote:
you mean these are classes extracted from the JS code?
if so, what are the (few) links?
nicolas
On 11/03/2015 18:24, Alexandre Bergel wrote:
Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And I started to visualize their JavaScript application.
Here are my two tries: <Mail Attachment.png><Mail Attachment.png>
So, it seems to work well :-) Happy I am :-)
Cheers, Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Girba,
Leonardo is my PhD student and he is visiting Lille for 6 months.
We really would like to contribute to JavaScript analysis in Moose. So any comments, suggestions are welcome.
Maybe what we have today is more like a prototype, but Leonardo has time to work on something more robust.
-- Marco Tulio.
On Fri, Mar 13, 2015 at 6:59 AM, Leonardo Silva leonardo.humberto@gmail.com wrote:
On Fri, Mar 13, 2015 at 10:43 AM, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
Hi
Could you please let me know where the JS meta-model is defined? I am looking for a Gofer script to get the code :)
You can find it here:
MCHttpRepository location: 'http://smalltalkhub.com/mc/LeonardoHumberto/Famix-JS/main' user: '' password: ''
I am still working on it. It lacks documentation and more tests with JS applications. But you can try it !
Leonardo
Doru
On Fri, Mar 13, 2015 at 10:35 AM, Leonardo Silva leonardo.humberto@gmail.com wrote:
On Thu, Mar 12, 2015 at 2:08 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
I was thinking that the strategy to detect classes (Section III.A from the paper) could be implemented in Moose, on the class FAMIXJSObject ?
The strategy to detect classes is implemented in Pharo. It reads the FAMIX-JS meta model and creates instances of FAMIXClass, FAMIXInheritance, FAMIXMethod and FAMIXAttributes.
Try this with the "js model" you already have:
js1 := JSClassFinder new. js1 famixJSModel: (js model). js1 searchJSClasses. js1 classModel.
The link are about the nesting I think using #belongTo
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Mar 11, 2015, at 6:42 PM, Nicolas Anquetil nicolas.anquetil@inria.fr wrote:
you mean these are classes extracted from the JS code?
if so, what are the (few) links?
nicolas
On 11/03/2015 18:24, Alexandre Bergel wrote:
Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And I started to visualize their JavaScript application.
Here are my two tries: <Mail Attachment.png><Mail Attachment.png>
So, it seems to work well :-) Happy I am :-)
Cheers, Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
Nice to meet you. Please call me Doru :)
Sounds great. Please keep us posted with the progress so that we can provide feedback.
Cheers, Doru
On Fri, Mar 13, 2015 at 12:43 PM, Marco Tulio Valente mtov@dcc.ufmg.br wrote:
Hi Girba,
Leonardo is my PhD student and he is visiting Lille for 6 months.
We really would like to contribute to JavaScript analysis in Moose. So any comments, suggestions are welcome.
Maybe what we have today is more like a prototype, but Leonardo has time to work on something more robust.
-- Marco Tulio.
On Fri, Mar 13, 2015 at 6:59 AM, Leonardo Silva leonardo.humberto@gmail.com wrote:
On Fri, Mar 13, 2015 at 10:43 AM, Tudor Girba tudor@tudorgirba.com
wrote:
Hi,
Hi
Could you please let me know where the JS meta-model is defined? I am looking for a Gofer script to get the code :)
You can find it here:
MCHttpRepository location: 'http://smalltalkhub.com/mc/LeonardoHumberto/Famix-JS/main' user: '' password: ''
I am still working on it. It lacks documentation and more tests with JS applications. But you can try it !
Leonardo
Doru
On Fri, Mar 13, 2015 at 10:35 AM, Leonardo Silva leonardo.humberto@gmail.com wrote:
On Thu, Mar 12, 2015 at 2:08 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
I was thinking that the strategy to detect classes (Section III.A from the paper) could be implemented in Moose, on the class FAMIXJSObject ?
The strategy to detect classes is implemented in Pharo. It reads the FAMIX-JS meta model and creates instances of FAMIXClass,
FAMIXInheritance,
FAMIXMethod and FAMIXAttributes.
Try this with the "js model" you already have:
js1 := JSClassFinder new. js1 famixJSModel: (js model). js1 searchJSClasses. js1 classModel.
The link are about the nesting I think using #belongTo
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Mar 11, 2015, at 6:42 PM, Nicolas Anquetil nicolas.anquetil@inria.fr wrote:
you mean these are classes extracted from the JS code?
if so, what are the (few) links?
nicolas
On 11/03/2015 18:24, Alexandre Bergel wrote:
Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And
I
started to visualize their JavaScript application.
Here are my two tries: <Mail Attachment.png><Mail Attachment.png>
So, it seems to work well :-) Happy I am :-)
Cheers, Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.