Support poorly formatted Material definitions #182
Labels
feature request
An issue that improves the user interface.
lanl did something
When LANL makes a change to MCNP that needs to be evaluated.
parsers are hard
Examples of where MCNP syntax is complicated and should be simplified.
Milestone
LANL apparently doesn't know how to write a syntax specification. From LA-UR-17-29981 Section 3.3.2.1 a material specification shall take the form:
Which makes sense.
Until you notice
And finally notice the asterisk:
Yep The syntax specification from before is a lie. The key-value pairs can appear anywhere they like!
Why did the developers do this? I don't know.
Is this a context-free grammar? Probably not.
However, it is officially (in the worst documented ways possible) supported, so it needs to be supported in MOntePy.
The text was updated successfully, but these errors were encountered: