modelica / ModelicaSpecification

Specification of the Modelica Language
https://specification.modelica.org
Creative Commons Attribution Share Alike 4.0 International
104 stars 40 forks source link

Base-prefix needs definition #713

Closed modelica-trac-importer closed 6 years ago

modelica-trac-importer commented 6 years ago

Reported by per.ostlund on 13 Mar 2012 09:38 UTC The term base-prefix is used in section 4.5.1 and 4.5.2 in the specification, but is not defined anywhere. I assume this means just a normal prefix, but it would be good to define base-prefix  to avoid interpretation issues.


Migrated-From: https://trac.modelica.org/Modelica/ticket/713

modelica-trac-importer commented 6 years ago

Comment by hansolsson on 13 Mar 2012 10:09 UTC A general rule is that we in the grammar use "_" between words and "-" in the rest of the specification; and base_prefix is defined as being type_prefix in the grammar.

We should check if we could unify those; e.g. use "-" in the grammar.

To clarify the grammar part:

base_prefix : 
    type_prefix

type_prefix :
   [ flow | stream ] 
   [ discrete | parameter | constant ] [ input | output ]
modelica-trac-importer commented 6 years ago

Modified by sjoelund.se on 18 Jun 2012 08:46 UTC

modelica-trac-importer commented 6 years ago

Comment by dietmarw on 17 Oct 2012 16:23 UTC Since not handled at the last meeting rescheduling to the next one.

modelica-trac-importer commented 6 years ago

Comment by dietmarw on 20 Dec 2012 08:08 UTC Since not handled at the last meeting rescheduling to the next one.

modelica-trac-importer commented 6 years ago

Modified by otter on 20 Sep 2013 10:22 UTC

modelica-trac-importer commented 6 years ago

Comment by hansolsson on 23 Oct 2013 13:09 UTC Added text clarifying that production names are written using underscore in the grammar and hyphen in the text (it is used for many other products as well, class-modifier).

r7102.

modelica-trac-importer commented 6 years ago

Changelog removed by hansolsson on 23 Oct 2013 13:09 UTC