Add comments to the input parser
Add comments that can be enclosed in "//". For example,
//this is for testing// would be a comment. Using comments in a valid input string like
a up _right400ms //this is for testing// b450ms would ignore the comment, resulting in
a up _right400ms b450ms.
This should be possible to implement with a new
RemoveCommentPreparser, which would simply remove all comments matched via a regex pattern.
The regex pattern could look like the following, which will capture anything enclosed in two forward slashes aside from forward slash itself:
Macros should preserve all comments when added. To achieve this, remove comments from both the given macro value and the parsed one for comparison; if the comparison succeeds, add the original macro value without the comments removed.
Deleting a branch is permanent. It CANNOT be undone. Continue?