You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making this compatible with sty could be complicated and may require deep changes. Implementing this without loosing customizability and editor support can be tricky.
Implementation (sketch)
This implementation is able to parse the example above:
Suggestion for a Shortcut Register:
Version A
Result
Contra
Limited Composability
The composability of this implementation is somewhat limited. E.g. what if you need a string with:
fg.red + bg.blue + ef.i + ef.b
?You would end up with this
s.red_blue_i + s.b
A solution for this would be Version B.
Version B
Fixes composability issue of Version A.
Result
Pro
Less verbose
It's less verbose and it looks very clear.
Better access performance
a
is more than twice as fast asb
:Contra
Complicated (implementation)
Making this compatible with sty could be complicated and may require deep changes. Implementing this without loosing customizability and editor support can be tricky.
Implementation (sketch)
This implementation is able to parse the example above:
The text was updated successfully, but these errors were encountered: