Commit 4efb5cc9 authored by Jean-Marc Ronck's avatar Jean-Marc Ronck
Browse files

Merge branch 'master' of...

Merge branch 'master' of https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/MathPrettyPrinter
parents d3ef765d 5cdbff29
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.mpp.montimath;
import de.monticore.assignmentexpressions._ast.ASTMinusPrefixExpression;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.mpp.montimath;
import de.monticore.commonexpressions._ast.*;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.mpp.montimath;
import de.monticore.lang.math._ast.*;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.mpp.montimath;
import de.monticore.lang.math._ast.*;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.mpp.montimath;
import de.monticore.ast.ASTNode;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.mpp.montimath;
import de.monticore.lang.math._ast.ASTMathElseIfExpression;
......
<#-- (c) https://github.com/MontiCore/monticore -->
<#assign helper = glex.getGlobalVar("helper")>
<!DOCTYPE HTML>
<html>
......@@ -57,4 +58,4 @@
</#list>
</ul>
</body>
</html>
\ No newline at end of file
</html>
<#-- (c) https://github.com/MontiCore/monticore -->
var radios = document.querySelectorAll("input[name='View']");
var card = document.querySelector(".card");
var front = document.querySelectorAll(".card-face-front tr");
......@@ -58,4 +59,4 @@
radios.forEach(function(element) { element.addEventListener("change", onChange) });
onHashChange();
window.addEventListener("hashchange", onHashChange);
window.addEventListener("resize", onWindowResize);
\ No newline at end of file
window.addEventListener("resize", onWindowResize);
<#-- (c) https://github.com/MontiCore/monticore -->
<#assign helper = glex.getGlobalVar("helper")>
<!DOCTYPE HTML>
<html>
......@@ -190,4 +191,4 @@
<script>
${include("templates/js.ftl")}
</script>
</html>
\ No newline at end of file
</html>
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.mpp.core.application;
import de.monticore.lang.monticar.mpp.core.application.Application;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.mpp.montimath;
import de.monticore.lang.math._ast.ASTMathCompilationUnit;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.mpp.montimath;
import de.monticore.lang.math._ast.ASTMathCompilationUnit;
......
// (c) https://github.com/MontiCore/monticore
<span class="keyword">package</span> montimath.vanilla;
<span class="keyword">script</span> Arithmetic
<span class="comment">//Variable Declaration</span>
Q rational;
rational = 1 + 2 * 3;
<span class="keyword">end</span>
\ No newline at end of file
<span class="keyword">end</span>
// (c) https://github.com/MontiCore/monticore
<span class="keyword">package</span> montimath.vanilla;
<span class="keyword">script</span> Assignments
......@@ -8,4 +9,4 @@
Q^{2, 2} matC = [1, 1; 1, 1];
matC = matB;
Q D = A;
<span class="keyword">end</span>
\ No newline at end of file
<span class="keyword">end</span>
// (c) https://github.com/MontiCore/monticore
<span class="keyword">package</span> montimath.vanilla;
<span class="keyword">script</span> Assignments2
Q a = 1;
a = 2;
<span class="keyword">end</span>
\ No newline at end of file
<span class="keyword">end</span>
<span class="comment">/*</span>
<span class="comment"> * (C) SE RWTH 2018</span>
<span class="comment"> * (c) https://github.com/MontiCore/monticore </span>
<span class="comment"> */</span>
<span class="keyword">package</span> montimath.vanilla;
......@@ -20,4 +20,4 @@
<span class="keyword">end</span>
x += 1;
<span class="keyword">end</span>
<span class="keyword">end</span>
\ No newline at end of file
<span class="keyword">end</span>
......
// (c) https://github.com/MontiCore/monticore
<span class="keyword">package</span> montimath.vanilla;
<span class="keyword">script</span> Compare
B b;
b = x < 2;
<span class="keyword">end</span>
\ No newline at end of file
<span class="keyword">end</span>
// (c) https://github.com/MontiCore/monticore
<span class="keyword">package</span> montimath.vanilla;
<span class="keyword">script</span> Example
......@@ -10,4 +11,4 @@
<span class="keyword">end</span>
x += 1;
<span class="keyword">end</span>
<span class="keyword">end</span>
\ No newline at end of file
<span class="keyword">end</span>
// (c) https://github.com/MontiCore/monticore
<span class="keyword">package</span> montimath.vanilla;
<span class="keyword">script</span> ForLoop
......@@ -5,4 +6,4 @@
<span class="keyword">for</span> i = 1:2:9
sum += sum * i;
<span class="keyword">end</span>
<span class="keyword">end</span>
\ No newline at end of file
<span class="keyword">end</span>
// (c) https://github.com/MontiCore/monticore
<span class="keyword">package</span> montimath.vanilla;
<span class="keyword">script</span> ForLoop2
......@@ -13,4 +14,4 @@
<span class="keyword">end</span>
x += 1;
<span class="keyword">end</span>
<span class="keyword">end</span>
\ No newline at end of file
<span class="keyword">end</span>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment