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
Mcp/0031 extend road map with prototyping plan #3222
Closed
Conversation
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 fixes the non-intuitive order when appending array dimensions in Modelica: ``` model ModelicaAppendDimensions type Arr = Real[3, 4]; Arr[1, 2] x = fill(0.0, 1, 2, 3, 4); /* Note: (Real[k, l])[m, n] is not the same as Real[k, l, m, n]. */ end ModelicaAppendDimensions; ``` With the order swapped, we get this instead: ``` model NaturalAppendDimensions type Arr = [3, 4] Real; [1, 2] Arr x = fill(0.0, 1, 2, 3, 4); /* Note: [k, l]([m, n]Real) is the same as Real[k, l, m, n]. */ end NaturalAppendDimensions; ```
Note that we still keep 'short-class-specifier', reachable from 'class-specifier'.
…element-replaceable'
Get rid of the obviously irrelevant parts of the grammar
Web Meeting: completed based on discussion
In agreement with decision at today's web meeting.
Besides being a significant simplification of Flat Modelica semantics, this also removes an important use of nested class definitions in Modelica, since an overloaded operator needs to be defined inside the operator record to which it belongs.
This allows for more clear marking of the removed parts of the grammar.
Settle the top level structure Merging according to decision at today's web meeting.
Describe change for unbalanced if-equations. I noticed that the original text had "rank" as short-hand for "number of scalarized equations". I didn't think that was clear, but we might find a better name than "number of scalarized equations"
As discussed in the web meeting.
As discussed at the meeting. Adding the note so that we have a clear definition.
Update differences.md to restrict equation size for if-equations.
Cherry-picking this commit again, assuming that it was unintentionally reverted last time by 2af3a74.
Web Meeting: Hans, Henrik, Gerd, Martin, Oliver accepted change
Web Meeting: Hans, Henrik, Gerd, Martin, Oliver
To be clear: This is just for the sake of discussion, not expressing the opinion that removing for-equations would be a good idea.
Co-authored-by: Oliver Lenord <oliver.lenord@de.bosch.com>
Co-authored-by: Oliver Lenord <oliver.lenord@de.bosch.com>
Web Meeting: Accept: Get rid of 'protected'
Web Meeting Tick off: Get rid of protected
According to working group discussion last week. This reverts commit 2e083bf.
Web Meeting Investigate need for for-equations
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.