no goto
Closed this issue ยท 6 comments
Removing goto
from the code template, would make it possible to use the generated code in C++ constexpr
-functions. I know the goto
s are fundamental part of the concept of this library, however, it could be worth the effort in order to catch some C++ programmers which are looking for a compile-time regex library.
Closing, as --loop-switch
is fully implemented and will soon be released.
Can you link the commit?
It's a bit difficult because the implementation for different features appeared in parts:
- added stubs: e73b93f
- support for basic case: c74080e
- support for conditions: 2d28bfe
- support for storable state: 53259db
Generally, see https://github.com/skvadrik/re2c/search?q=loop%2Fswitch&type=commits
When you will integrate this feature in production?
It is already released in version 3.0: release notes and https://github.com/skvadrik/re2c/releases/tag/3.0