Add comments to ProcLang spec #65
Labels
enhancement
New feature or request
good first issue
Good for newcomers
procedures
Affects procedures or ProcLang code
Currently, there's no way to comment a ProcLang document, which means we can't add any rationale for any of the decisions we make. It would be nice if we could do something like this:
In the above snippet, we've added a comment to the first deviation from step 2, explaining why we need to abort.
In order to implement this, we need to add a "comment" rule to the grammar specified in
topside/procedures/proclang.py
. This might require a bit more work than some of the other rules, because theoretically we would like to be able to add a comment anywhere in a proclang string. Perhaps we will need to drop the%ignore WS
directive?The text was updated successfully, but these errors were encountered: