-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Predefined unit variables #348
Predefined unit variables #348
Commits on Apr 16, 2017
-
Remove prefixes of d,c,da,h and fix typo
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 89b4b17 - Browse repository at this point
Copy the full SHA 89b4b17View commit details -
Add predefined variables for each possible SI unit
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for de12e9d - Browse repository at this point
Copy the full SHA de12e9dView commit details -
Drop NESTMLNumericLiteral from grammar
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 8aa9053 - Browse repository at this point
Copy the full SHA 8aa9053View commit details
Commits on Apr 17, 2017
-
Fix issues arising from removing NESTMLNumericLiteral
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for de4cce3 - Browse repository at this point
Copy the full SHA de4cce3View commit details -
replace "n * unit" with "n unit" replace "1 * unit" with "unit" replace "[complexRhsUnit]" with "complexRhsUnit" Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for f83c3a0 - Browse repository at this point
Copy the full SHA f83c3a0View commit details -
Change expressionvisitor system to deal with "literal unit" instead o…
…f "literal*unit" Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 037f8ca - Browse repository at this point
Copy the full SHA 037f8caView commit details -
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 01d33ba - Browse repository at this point
Copy the full SHA 01d33baView commit details
Commits on Apr 19, 2017
-
Check that "Literal Variable" expressions use only SI-unit variables
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 7d4bc16 - Browse repository at this point
Copy the full SHA 7d4bc16View commit details -
for n ... m step k to for n ... m : k To resolve clash with changed expression grammar Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 84433bc - Browse repository at this point
Copy the full SHA 84433bcView commit details -
Adapt test case to grammar change.
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for c84171f - Browse repository at this point
Copy the full SHA c84171fView commit details -
Add "isPredefined" to VariableSymbol to indicate if it is a predefine…
…d Variable. Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 5d331e6 - Browse repository at this point
Copy the full SHA 5d331e6View commit details -
Drop predefined VariableSymbols from resolved List before testing Var…
…iableNotDefinedBeforeUse. Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for e648429 - Browse repository at this point
Copy the full SHA e648429View commit details -
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 96d98f9 - Browse repository at this point
Copy the full SHA 96d98f9View commit details -
Change for_stmt step notation again.
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for c2a4085 - Browse repository at this point
Copy the full SHA c2a4085View commit details -
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 434b72d - Browse repository at this point
Copy the full SHA 434b72dView commit details -
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 58f07af - Browse repository at this point
Copy the full SHA 58f07afView commit details -
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 8e41d58 - Browse repository at this point
Copy the full SHA 8e41d58View commit details
Commits on Apr 20, 2017
-
Implement helper funciton to convert a unit into the literal represen…
…tation of its magnitude Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for b9a5d74 - Browse repository at this point
Copy the full SHA b9a5d74View commit details -
Teach various ReferenceConverters to print units as their literal rep…
…resentation Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for a62ae60 - Browse repository at this point
Copy the full SHA a62ae60View commit details -
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 6dfdca0 - Browse repository at this point
Copy the full SHA 6dfdca0View commit details -
Teach expressionprinter to print "literal variable" pairs as "literal…
… * convertedVariable" Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 81fa348 - Browse repository at this point
Copy the full SHA 81fa348View commit details -
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for bf4dd1b - Browse repository at this point
Copy the full SHA bf4dd1bView commit details -
Reinstate "step" notation for for loops. Make step mandatory to avoid…
… matching as variable Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 6e84db7 - Browse repository at this point
Copy the full SHA 6e84db7View commit details -
Adapt models to mandatory step notation in for loops
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 8d03233 - Browse repository at this point
Copy the full SHA 8d03233View commit details
Commits on May 10, 2017
-
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 3d35b86 - Browse repository at this point
Copy the full SHA 3d35b86View commit details -
add unit-variable conversion code to one more ReferenceConverter
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for cb24016 - Browse repository at this point
Copy the full SHA cb24016View commit details -
Install infrastructure and a NESTML specific filter for units.
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for b2281a8 - Browse repository at this point
Copy the full SHA b2281a8View commit details -
Use NESTMLUnitFilter to calculate the modification factors for c++ code.
This will add a factor != 1.0 iff the variable is not one of the NEST specific units. Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for aa7b2f3 - Browse repository at this point
Copy the full SHA aa7b2f3View commit details
Commits on May 19, 2017
-
Merge branch 'master' of https://github.com/nest/nestml into predefin…
…ed-unit-variables # Conflicts: # src/main/java/org/nest/codegeneration/converters/NESTReferenceConverter.java # src/main/java/org/nest/spl/prettyprinter/LegacyExpressionPrinter.java # src/main/java/org/nest/spl/prettyprinter/SPLPrettyPrinter.java # src/main/java/org/nest/symboltable/symbols/VariableSymbol.java # src/main/java/org/nest/utils/AstUtils.java Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for ecab368 - Browse repository at this point
Copy the full SHA ecab368View commit details -
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 409a6c4 - Browse repository at this point
Copy the full SHA 409a6c4View commit details
Commits on May 20, 2017
-
Signed-off-by: Philip Traeder <philip.traeder@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for 189dd14 - Browse repository at this point
Copy the full SHA 189dd14View commit details