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
Currently, there are parsers for multiple syntaxes of Regex. I was wondering how complicated it would be to add printers too.
This would be quite useful for https://ligolang.org/ : we are currently writing syntax highlighter generators, and we need to produce Regex strings in a variety of contexts.
If this is not too complicated and you are open to a PR for this, we might write one.
Cheers,
The text was updated successfully, but these errors were encountered:
Feel free to add printers. Although note that the parsing of regular expressions does some simplifications (e.g. desugaring + into *), so whatever you print back isn't going to map 1-1 to the re you started with.
Hello,
Currently, there are parsers for multiple syntaxes of Regex. I was wondering how complicated it would be to add printers too.
This would be quite useful for https://ligolang.org/ : we are currently writing syntax highlighter generators, and we need to produce Regex strings in a variety of contexts.
If this is not too complicated and you are open to a PR for this, we might write one.
Cheers,
The text was updated successfully, but these errors were encountered: