modelwriter / wp3 Goto Github PK
View Code? Open in Web Editor NEWA Platform for Automated Analysis of Traceability (WP3)
Home Page: https://modelwriter.github.io/WP3/
License: Eclipse Public License 1.0
A Platform for Automated Analysis of Traceability (WP3)
Home Page: https://modelwriter.github.io/WP3/
License: Eclipse Public License 1.0
.... bla bla
NUMBER
'-'? INT'.'INT EXP? //1.35,1.35E-9,0.3,-4.5
| '-'? INT EXP //1e10-3e4
| '-'? INT //-3,45
;
fragment INT: '0'|[1-9][0-9]*; //noleadingzeros
fragment EXP: [Ee][+\-]? INT;
try to implement without using ECore API
The editor sometimes becomes unstable.
Algorithm: If a variable is defined in a quantifier, comprehension or let declaration, semantically resolve all identifiers with the same name as variables in the scope of that declaration. Resolve other identifiers in the scope as relations. This approach maintains a good approximation for a semantically valid parse tree since the variables are always declared before using them. Variables may shadow each other, and may shadow field names. Conventional lexical scoping, with the innermost binding taking precedence.
CZT Corejava of CZT: Community Z Tools for developing and reasoning about Z specifications
Corejava is part of the CZT project that aims at providing a framework for building formal methods tools, especially for the Z specification language. This subproject provides AST (Annotated Syntax Tree) classes for Z and its extensions, written in Java.
Translating Z to Alloy
https://sourceforge.net/p/czt/code/ci/master/tree/z2alloy/
Double click on an element in the content outline page or click on the context menu of an item on the content outline page fires this action.
JPF is a highly customizable execution environment for verification of Java™ bytecode programs
It is important to approximate ECore Type System with Java Types while translating into Java compilation units.
ferhat
{subsets <EReference>}
{redefines <EReference>}
Test
please define ...
This may provide us a way of semantic analysis of types, generic types and type parameters. We can promote stringtemplate to generate a Java program files from AlloyInEcore AST.
We will exploit the Java Compiler Interface in javax.tools. The approach that I propose is to transform each class type constructs into interface and employ the java's type inheritance mechanism using interfaces to simulate state inheritance of ECore or MOF. To enable this approach, every structural elements should be rephrased as methods (getters and setters); every nested package definitions are flattened, and each class definition are converted into a compilation unit.
-> We have EcoreDropAdapter class to connect IDragAndDropService on startup.
In this class, we are using MarkdownParser to parse markdown text, and it creates dependency on plugins above.
-> In this project, we have MarkdownToReqIfDocumentBuilder which extends org.eclipse.mylyn.wikitext.core.DocumentBuilder
-> In this project, we have CreateReqifSpecFromMarkdownHandler class. If this handler is triggered, we are creating MarkdownParser instance, setting its document builder as MarkdownToReqIfDocumentBuilder, and running its parser.
-> Maybe we should create our own parser or any other alternative.
CD2Alloy website
CD2Alloy-- Class Diagrams Analysis Using Alloy Revisited (MODELS) - 2011
On challenges of model transformation from UML to Alloy (SoSym) - 2010
UML2Alloy-- A Challenging Model Transformation (MODELS) - 2007
Translating between Alloy specifications and UML class diagrams annotated with OCL (SoSym) - 2015
From UML and OCL to Relational Logic and Back (MODELS) - 2012
abstract class Shape extends Geometry
{
attribute Type : Shape| [?];
}
enum ShapeType
{
literal Arc = 0;
literal Oval = 1;
literal Rectangle = 2;
}
Save operations must preserve the layout of the programs unless it is updated outside the user's editor.
/generics/Shape.java:3: error: duplicate class: generics.Shape
enum Shape
^
Mapped to:
/generics/Shape.java:8: error: duplicate class: generics.Shape
interface Shape<V>
^
Mapped to:
We can use the UML.xmi and the UML2.x API of Eclipse to generate our own API in which we develop concrete representations of data types from the specification. In fact, this approach also enables us to verify the UML2.5.
Translating between Alloy specifications and UML class diagrams annotated with OCL (SoSym) - 2015
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.