-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
321 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "tmGrammar tests", | ||
"type": "shell", | ||
"command": "npx vscode-tmgrammar-test -c 'test/**/*.test.*'", | ||
"group": "test", | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "new", | ||
}, | ||
"problemMatcher": { | ||
"owner": "vscode-tmgrammar-test", | ||
"fileLocation": [ | ||
"relative", | ||
"${workspaceFolder}", | ||
], | ||
"pattern": [ | ||
{ | ||
"regexp": "^(ERROR)\\s([^:]+):(\\d+):(\\d+):(\\d+)\\s(.*)$", | ||
"severity": 1, | ||
"file": 2, | ||
"line": 3, | ||
"column": 4, | ||
"endColumn": 5, | ||
"message": 6, | ||
}, | ||
], | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
model LotkaVolterra "Lotka-Volterra equations" | ||
Real x(start = 1) "Prey"; | ||
Real y(start = 1) "Predator"; | ||
parameter Real lambda = 0.5; | ||
input Real u; | ||
Real x(start = 1) "Prey"; | ||
Real y(start = 1) "Predator"; | ||
parameter Real lambda = 0.5; | ||
input Real u; | ||
equation | ||
der(x) = x - x * y - lambda * u; | ||
der(y) = -y + x * y - u; | ||
der(x) = x - x * y - lambda * u; | ||
der(y) = -y + x * y - u; | ||
end LotkaVolterra; |
Oops, something went wrong.