Closed ForNeVeR closed 2 years ago
Thanks for the report! As it turns out, the DFA minimization takes quite bit because of the big state space. There's some low-hanging fruit I'll try to pick now. I'll release a fix as soon as I feel like I've made a decent improvement.
@ForNeVeR I think the issue is fixed in the latest nightly (2021.12.18-18.21.47-nightly
). Please provide feedback, if the issue is fixed on your part. Feel free to reopen the issue, if it persists.
@LPeter1997, first of all, you react to issues and work amazingly fast.
Second: my builds of the same lexer are now amazingly fast, too. From a minute down to 2 seconds.
Thanks a lot for your instant help!
I have defined a simple lexer:
And this lexer gets generated for a minute every time I recompile the library.
Which libraries does it affect? Yoakke.Lexer.Generator.
Expected behavior I think that such a keyword list shouldn't take that long time to generate.
Environment (please complete the following information):
<PackageReference Include="Yoakke.Lexer.Generator" Version="2021.12.18-2.37.17-nightly" />