SE-0350: Regex Type and Overview

No, that's not how it works. Compilation is deferred until the regex is used. At that point the whole tree is compiled into byte code.

Static compilation is listed as a future direction and clearly useful for those that can generate simple DFAs. There is a significant code size savings to byte code since the logic inside the interpreter is shared.

How does the proposed approach preclude this?

I'm struggling to see how any of this is relevant. What does encoding the program an additional time in the type signature give us?

1 Like