Hi,
The Moose image is back to a reasonable state. Next is to look at the ConfigurationOfFamix and see how to integrate it.
Please take a look and let me know if you see any problems.
Cheers,
Doru
--
www.tudorgirba.comwww.feenk.com
"Every successful trip needs a suitable vehicle."
And another one. That's not cool :-/
At some point I get to RTLabel>>trachelShapeForOneLine: which does a self trachelShapeClass but that is not defined there, so it goes to RTShape where it is implemented as self subclassResponsibility.
--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile
Hi all,
I get an MNU on the following code: RTLine new width: 2
This is because widthElement: is not implemented. It’s called here:
RTAbstractLine>> width: aBlockOrValue
"Set the width of the shape"
self widthElement: [ :e | aBlockOrValue rtValue: e model ].
Is there a quick workaround that I can do while I wait for this to be fixed?
--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile
Hi,
I added a new feature: explicit logging of problems encountered during import.
These problems do not stop the import, but they do lead to loss of information quality in the model. These problems are typically due to missing jars in the classpath. However, if you know which parts are problematic, you get a chance of fixing them.
To give you an example, entries might look like this:
unresolved type declaration - TestPlatform - /Users/girba/Work/Code/jdt2famix/tmp/guava/guava-tests/test/com/google/common/math/TestPlatform.java - line 21
unresolved method declaration - suite - /Users/girba/Work/Code/jdt2famix/tmp/guava/guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java - line 51
For example, in the case of guava, importing just the checked out code, gives us 419 problems, most of which were method declaration problems (due to unknown return types). However, after downloading all jars from the maven dependencies, we got only 47 problems (only type declaration problems, but no more method declaration problems). Interestingly, guava is made out of several sub-projects, and these problems appear if we import the overall project. But, if we import only a subproject at a time, the problems do not appear anymore, so likely the issue is related to conflicting jars, or duplicated sources.
The point is that having an insight on what problems are encountered can provide a hint of how to act to improve the quality of the resulting model.
The logging support is quite rudimentary right now, and I will likely build on this, but it already offers an added value.
Cheers,
Doru
--
www.tudorgirba.comwww.feenk.com
"Reasonable is what we are accustomed with."
Hi,
I am happy to announce that jdt2famix reached a beta version. I consider that the coverage of entities that we can import is essentially complete.
I am sure there are still edge cases to hunt for (both in terms of error handling and import semantics), and that is what I would like to look at.
So, if you can, now is the time to try again to play again with it :).
Cheers,
Doru
--
www.tudorgirba.comwww.feenk.com
"Don't give to get. Just give."
Hi everybody
I just released a new version (1.0.0) of the FamixGenerator for .NET assemblies:
http://www.sharpmetrics.net/index.php/famix-generator
I have fixed a couple of issues (especially with handling of generic classes and types).
Cheers
Thomas
On Fri, Jul 29, 2016 at 2:23 PM, Thierry Goubier
<thierry.goubier(a)gmail.com> wrote:
> Hi Sven,
>
> I'd put RB + SmaCC among the lot. But I consider that really non-trivial :
> the pattern language of RB (and the underlying pattern matching and
> unification algorithm) is top notch, and how SmaCC builds on RB to virtually
> generate code / optimise code / then compile is nothing short of amazing.
>
> SmaCC comes with a pattern matching/unification algorithm over ASTs +
> auto-generation of AST code + visitor + tree equality + the equivalent of
> Flex/Bison(*) + a GUI in 11401 lines of code.
SmaCC deserves definitively more advertisements and should be added to
MOOSE platform I think.
When I see all the buzz around languages workbenches like Rascal:
https://www.youtube.com/watch?v=Ffx7VtEOSx4
with MOOSE+RB+SmaCC+Reflectivity+GTools we are close to these tools
(or even better).
Regards,
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
Hi!
Currently, I cannot use the moose image. Some classes are missing.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.