EmbeddedMontiArc issueshttps://git.rwth-aachen.de/groups/monticore/EmbeddedMontiArc/-/issues2018-06-05T16:18:28+02:00https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/RewriteConf/-/issues/1Fix Build2018-06-05T16:18:28+02:00vonWencksternFix Build@ferdinand.mehlan please fix build for RewriteConf@ferdinand.mehlan please fix build for RewriteConfFerdinand Alexander MehlanFerdinand Alexander Mehlanhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/-/issues/1Job Failed #1239532018-06-05T19:25:18+02:00Alexander David HellwigJob Failed #123953Job [#123953](/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/-/jobs/123953) failed for e222c4b9b24fe617e7aaa32f125472c54d31c895: Gitlab CI tries to find maven dependencies in github mirror instead of se-nexus.
Maven Error:
The ...Job [#123953](/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/-/jobs/123953) failed for e222c4b9b24fe617e7aaa32f125472c54d31c895: Gitlab CI tries to find maven dependencies in github mirror instead of se-nexus.
Maven Error:
The following artifacts could not be resolved: de.monticore.lang.monticar:common-monticar:jar:0.0.12-SNAPSHOT, de.monticore.lang.monticar:common-monticar:jar:grammars:0.0.12-SNAPSHOT: Could not find artifact de.monticore.lang.monticar:common-monticar:jar:0.0.12-SNAPSHOT in github (https://raw.githubusercontent.com/EmbeddedMontiArc/external-dependencies/master/)Evgeny KusmenkoEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/-/issues/2Build in master is failing2018-06-07T11:48:15+02:00Alexander David HellwigBuild in master is failingCommit 8ad1a412a0a12374fa4186a3a79dae210c3a4c97 breaks CI and local builds in master branchCommit 8ad1a412a0a12374fa4186a3a79dae210c3a4c97 breaks CI and local builds in master branchhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/2Gerneric type in initialization parameter2018-06-12T22:00:51+02:00Nils KaminskiGerneric type in initialization parameterConsider the following two components:
```
package test;
component Delay<T> (T initval) {
port
in T in1,
out T out1;
implementation Math {
static T sval = initval;
out1 = sval;
sval = in1;
}
}
package test;
co...Consider the following two components:
```
package test;
component Delay<T> (T initval) {
port
in T in1,
out T out1;
implementation Math {
static T sval = initval;
out1 = sval;
sval = in1;
}
}
package test;
component DelayTest {
port
in Q in1,
out Q out1;
instance Delay<Q>(2) delayInstanceZ;
connect in1 -> delayInstanceZ.in1;
connect delayInstanceZ.out1 -> out1;
}
```
While generating it produces an error and terminates:
[ERROR] Case not handled!https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2RosMsg/-/issues/1CI einrichten2018-06-13T20:43:09+02:00Evgeny KusmenkoCI einrichtenCarlos Alfredo Yeverino RodriguezCarlos Alfredo Yeverino Rodriguez2018-06-13https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/CNNArch2Caffe2/-/issues/1CI einrichten2018-06-13T21:44:32+02:00Evgeny KusmenkoCI einrichtenCarlos Alfredo Yeverino RodriguezCarlos Alfredo Yeverino Rodriguez2018-06-13https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/MontiMath/-/issues/1Composed Units Fail2018-06-14T08:17:29+02:00Evgeny KusmenkoComposed Units Failm*s is not possible as unit, see comment below.
```
package models.montimath;
script Units
Q(0 m*s : 10 m*s) F = 2 m * 1 s;
end
```m*s is not possible as unit, see comment below.
```
package models.montimath;
script Units
Q(0 m*s : 10 m*s) F = 2 m * 1 s;
end
```https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/EmbeddedMontiArcStudio/-/issues/1In Version 1.7.1 does the Play Button for PacMan not work2018-06-19T22:10:27+02:00vonWencksternIn Version 1.7.1 does the Play Button for PacMan not work@malte.heithoff
![image](/uploads/7313984274840c765bf3a9cd15becfc7/image.png)@malte.heithoff
![image](/uploads/7313984274840c765bf3a9cd15becfc7/image.png)https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/-/issues/2[Bug in Grammatik] Gleichungssystem lösen; ist nur einfacher Backslash und ni...2018-06-28T21:46:31+02:00vonWenckstern[Bug in Grammatik] Gleichungssystem lösen; ist nur einfacher Backslash und nicht doppelterhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/blob/tex/src/test/resources/models/montimath/vanilla/SolEqu.m#L5
Da ist ein Fehler drin.
Die Zeile
```
Q^{3,1} A = [3 6 2; 1 2 8; 7 9 4] \\ [2;3;4];
```
...https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/blob/tex/src/test/resources/models/montimath/vanilla/SolEqu.m#L5
Da ist ein Fehler drin.
Die Zeile
```
Q^{3,1} A = [3 6 2; 1 2 8; 7 9 4] \\ [2;3;4];
```
müsste
```
Q^{3,1} A = [3 6 2; 1 2 8; 7 9 4] \ [2;3;4];
```
lauten; siehe
https://de.mathworks.com/help/matlab/ref/mldivide.html
@jean\-marc.ronck, @bram.kohlen, @armin.mokhtarian: Könnt ihr die Grammatik bitte so anpassen, dass sich das Beispiel Regelkonform parsen lassen?Jean-Marc RonckJean-Marc Ronckhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/7Generics are missing when no default value is provided2018-07-01T00:03:20+02:00Sascha Niklas SchneidersGenerics are missing when no default value is providedExsample:
```
component ComponentA<N value>{
}
```
The generator does not now anything about value.
This is an issue with the EmbeddedMontiArc language and should be fixed there.
Components like:
```
component ComponentA<N value = ...Exsample:
```
component ComponentA<N value>{
}
```
The generator does not now anything about value.
This is an issue with the EmbeddedMontiArc language and should be fixed there.
Components like:
```
component ComponentA<N value = 1>{
}
```
Work as expected.https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/6Generics Inistialization in SubComponents does not work correctly, when Gener...2018-07-01T00:03:51+02:00Sascha Niklas SchneidersGenerics Inistialization in SubComponents does not work correctly, when Generics of parent component are used as valueExample:
```
component ComponentA<N value = 1>{
instance ComponentB<value> compB; // in compB instance creation the default value will be used
}
```
```
component ComponentB<N value = 2>{
port in Z testPorts[value];
}
```
```
co...Example:
```
component ComponentA<N value = 1>{
instance ComponentB<value> compB; // in compB instance creation the default value will be used
}
```
```
component ComponentB<N value = 2>{
port in Z testPorts[value];
}
```
```
component ComponentC{
instance ComponentA<5> compA;
}
```
Should be fixed in Generics Resolution in EmbeddedMontiArc language.
(ExpandedComponentInstance creation should probably be changed, as the error is related to this)https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/8Refactor all conversions2018-07-01T18:20:26+02:00Sascha Niklas SchneidersRefactor all conversions# Preliminary:
The math language needs to store all relevant information in the astnodes, and not everything in different symbols, as symbols will change in the next monticore version, and the generated monticore visitor for a language ...# Preliminary:
The math language needs to store all relevant information in the astnodes, and not everything in different symbols, as symbols will change in the next monticore version, and the generated monticore visitor for a language can only be used on astnodes, not on their symbols. (astnode.getSymbol() is deprecated and will be removed soon, so no direct connection between astnode -> symbol anymore; Every symbol needs to habe a unique name for identification)
# Conversion:
The conversions should be done using the generated monticore visitor for all astnodes of a language.
This includes the optimizations, and general transformations.
As the generator currently works mostly with the Math languge symbols only, a huge refactoring is required.
# Goal:
Reduce bugs, increase robustness and readability.https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/-/issues/7Test mit transponierten Operator auf gh-pages hochladen2018-07-02T11:44:13+02:00vonWencksternTest mit transponierten Operator auf gh-pages hochladenBitte einen Test für `X = A'` hochladen.
Und `A'` im LaTeX-Modus bitte wiefolgt darstellen:
![image](/uploads/3fb44603932abe7e296bcf6513e90161/image.png)Bitte einen Test für `X = A'` hochladen.
Und `A'` im LaTeX-Modus bitte wiefolgt darstellen:
![image](/uploads/3fb44603932abe7e296bcf6513e90161/image.png)Jean-Marc RonckJean-Marc Ronckhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/-/issues/5bei mathematischen Brüchen Platz lassen zwischen Zeilen2018-07-02T11:45:22+02:00vonWencksternbei mathematischen Brüchen Platz lassen zwischen ZeilenIch denke folgendes lässt sich besser lesen:
![image](/uploads/547aea10161b01aef183001fb74b34c0/image.png)
Besonders, wenn man folgendes sieht:
![image](/uploads/a478586aa6bc68754c710e4f14c1bb2b/image.png)
@kusmenko: Was meinst du? Sol...Ich denke folgendes lässt sich besser lesen:
![image](/uploads/547aea10161b01aef183001fb74b34c0/image.png)
Besonders, wenn man folgendes sieht:
![image](/uploads/a478586aa6bc68754c710e4f14c1bb2b/image.png)
@kusmenko: Was meinst du? Sollte man bei Brüchen eine leer Zeile mit kleinerer Schriftgröße extra einfügen?Jean-Marc RonckJean-Marc Ronckhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/-/issues/4Unnötige Klammern bei Zeilen2018-07-02T11:49:34+02:00vonWencksternUnnötige Klammern bei ZeilenIn https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/blob/master/src/test/resources/models/montimath/vanilla/SolEqu.m#L5
sieht die Ausgabe wie folgt aus: (Bug #2 behoben)
```
Q^{3,1} A = [3 6 2; 1 2 8; 7...In https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/blob/master/src/test/resources/models/montimath/vanilla/SolEqu.m#L5
sieht die Ausgabe wie folgt aus: (Bug #2 behoben)
```
Q^{3,1} A = [3 6 2; 1 2 8; 7 9 4] \ [2;3;4];
```
Aber die Ausgabe sieht wie folgt aus:
![image](/uploads/6705613da019557155aba8373052f145/image.png)
Gerade bei Vektoren wie `[(2); (3); (4)]`, sieht die unnötige Klammerung pro Zeile hässlich aus; viel besser ist ` [2; 3; 4]`.
@jean\-marc.ronck, @armin.mokhtarian, @bram.kohlen: Bitte beheben.Jean-Marc RonckJean-Marc Ronckhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/visualisation/-/issues/5Should generate from main.txt2018-07-02T12:11:10+02:00Ferdinand Alexander MehlanShould generate from main.txthttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/utilities/EMAStudioBuilder/issues/1https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/utilities/EMAStudioBuilder/issues/1toezen1toezen1https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/-/issues/9LaTeX Line Width2018-07-02T17:26:48+02:00Bram KohlenLaTeX Line WidthIn case a line is too large, the image should be broken down into separate pieces. One will have to concatenate the seperate lines with \left . and \right . .In case a line is too large, the image should be broken down into separate pieces. One will have to concatenate the seperate lines with \left . and \right . .https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/11Structs Do not work for arrays / matrices2018-07-04T09:23:52+02:00vonWencksternStructs Do not work for arrays / matrices@sascha.schneiders can you create a test, to verify whether this bug exists@sascha.schneiders can you create a test, to verify whether this bug existsSascha Niklas SchneidersSascha Niklas Schneidershttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/-/issues/8Hadamard-Produkt2018-07-04T19:36:45+02:00Evgeny KusmenkoHadamard-ProduktAnalog zu
https://embeddedmontiarc.github.io/MathPrettyPrinter/montimath/vanilla/PowerWise/index.html
sollte auch das hadamard-Produkt aussehen. Aus .* sollte also ein Kreis entstehen, zB hier:
https://embeddedmontiarc.github.io/MathPre...Analog zu
https://embeddedmontiarc.github.io/MathPrettyPrinter/montimath/vanilla/PowerWise/index.html
sollte auch das hadamard-Produkt aussehen. Aus .* sollte also ein Kreis entstehen, zB hier:
https://embeddedmontiarc.github.io/MathPrettyPrinter/montimath/vanilla/TimeWise/index.html
Siehe:
https://en.wikipedia.org/wiki/Hadamard_product_(matrices)
Bei .+ bzw .- soll zudem der Punkt entfernt werden, Addition / Subtraktion immer elementweise sind.
Bei ./ verhält es sich folgendermaßen: A./B = A°B^{°(-1)} , wobei ^{} "hochgestellt" symbolisieren soll. Siehe:
https://math.stackexchange.com/questions/1321879/is-there-a-formula-for-the-inverse-of-hadamard-productArmin MokhtarianArmin Mokhtarianhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/MontiMath/-/issues/2[Bug in Grammatik] Gleichungssystem lösen; ist nur einfacher Backslash und ni...2018-07-04T19:59:01+02:00vonWenckstern[Bug in Grammatik] Gleichungssystem lösen; ist nur einfacher Backslash und nicht doppelterhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/blob/tex/src/test/resources/models/montimath/vanilla/SolEqu.m#L5
Da ist ein Fehler drin.
Die Zeile
```
Q^{3,1} A = [3 6 2; 1 2 8; 7 9 4] \\ [2;3;4];
```
...https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter/blob/tex/src/test/resources/models/montimath/vanilla/SolEqu.m#L5
Da ist ein Fehler drin.
Die Zeile
```
Q^{3,1} A = [3 6 2; 1 2 8; 7 9 4] \\ [2;3;4];
```
müsste
```
Q^{3,1} A = [3 6 2; 1 2 8; 7 9 4] \ [2;3;4];
```
lauten; siehe
https://de.mathworks.com/help/matlab/ref/mldivide.html
@jean\-marc.ronck, @bram.kohlen, @armin.mokhtarian: Könnt ihr die Grammatik bitte so anpassen, dass sich das Beispiel Regelkonform parsen lassen?Jean-Marc RonckJean-Marc Ronck