moosetechnology / famejava Goto Github PK
View Code? Open in Web Editor NEWFame is a concise meta-meta-model, and this project holds its Java implementation. This is a fork of the original implementation by Adrian Kuhn and Toon Verwaest.
Fame is a concise meta-meta-model, and this project holds its Java implementation. This is a fork of the original implementation by Adrian Kuhn and Toon Verwaest.
When exporting the Java metamodel with:
'famixJava.mse' asFileReference writeStreamDo: [:stream | FamixJavaModel metamodel exportOn: stream]
We have the property users
under trait elements.
The importer does not understand that property and raises an error.
When exporting metamodel to Java, the inheritance between traits is not exported:
Trait << #FamixTType
traits: {FamixTNamedEntity + FamixTReferenceable + FamixTSourceEntity + TEntityMetaLevelDependency};
gives:
public interface TType {
whereas it should be:
public interface TType extends TNamedEntity, TReferenceable, TSourceEntity, TEntityMetaLevelDependency {
if we have 2 meta-models mm1 and mm2, mm1 is sub-meta-model of mm2 (ie. mm2 uses entities of mm1).
there is an mm1Entity and an mm2Entity and they don't inherit one from the other
If both generators are based on FamixBasicInfrastructureGenerator, then there are also two SourcedEntity, NamedEntity, Comment, ...
when we translate that to Java, we have "incompatible types", eg two NamedEntity.java that are equals but in separate packages and incompatible ...
otherwise we get lines as "signature":"print("Printer " + name() + " prints "+ thePacket.contents(),false)"
which produce error
We need to add the support of default value for properties.
It implies modifying the Fame Meta-model, the .mse importer, and the code generator.
This feature exists in Fame Pharo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.