This goes for subvariable names, too: ' A.y' is an illegal symbol to use before ' A' is defined. The submodule's definition must have come earlier in the Antimony file than its use as a submodule, and the name used for a submodule must not be used in any capacity before being defined. The one type of symbol that must be defined before being used is that of a submodule. Incompatible rules, such as using the same symbol as a species and as the name of a reaction, are illegal. As an example, if earlier in a model we find the rule " x=5" and later find the rule " x=6", the " x=5" rule is discarded in favor of the later rule. If two rules contradict one another, the final rule takes precedence, and the parts of the initial rule that contradict the later rule are discarded. Any rule that does not contradict a different rule may be presented in any order without affecting the final model. "".Įach statement in Antimony is parsed as a rule that helps define a model. The "|" symbol should be read as an 'or' statement, and indicate that two or more possibilities are valid in that spot (i.e. "") indicate a spot that must be filled in with text that matches that description (all such descriptions are defined at the end of the document). Note: Grammar lines are defined with "", "", and "|" symbols that are not part of the actual grammar, but indicate different options are permitted.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |