PoM-Matcher Optional Token Replacement Feature #211
Labels
Add-On
New features
Backlog
Not important or urgent tasks
Bug
Bugs that need to be fixed
Generic LaTeX
Issues related to generic latex translations or discussions
Consider we want to replace the error function with the semantic macro. Currently, we have this:
with the pattern that matches the expression:
Now, a semantic macro pattern may allow optional tokens in between (derivative or prime notation). For example, with the pattern we are unable to translate:
The solution would be an optional token. Such as
where
optToken
can be subscript or primes. Hence we can replace it by:where optToken can be empty.
This requires a lot of updates and is therefore out of scope. But something we should handle in the future.
The text was updated successfully, but these errors were encountered: