Closed jdonszelmann closed 10 months ago
I think this PR is almost ready to be merged. There is the comment about nullable
, but otherwise I think everything is resolved. @jdonszelmann would you agree if I do a final pass tomorrow, and merge it then?
Something else we should still do is make the macro a bit more robust against syntax errors. E.g. by giving a default implementation ~0
when a syntax error occurs, so that the code afterwards can still properly refer to it, instead of generating a lot of cascading errors.
Jonathan: RESOLVED
I agree with merging this soon
I think all features are already on by default
At least by adding --all-features
, we ensure that remains the case in the future :)
There is one thing that I'm not happy about yet, and that is the multiple transition tables in MatchState
. I think Regex
/Automaton
& co. should be parameterized by the label type L
, and we should support easy conversion from Regex<L>
to Regex<L'>
if there exists a conversion from L
to L'
.
I tried to do that locally, but that seems quite involved. So I propose to postpone that, and merge this for now.
All these issues are fixed by merging #5. I love the docs!