开发者

NFA/DFA implementation in C#

开发者 https://www.devze.com 2023-01-21 11:51 出处:网络
Does anyone know of any good NFA and DFA implementation in C#, possibly implementing as well conversions between both? What I would like would be to be able to construct a NFA and then convert it auto

Does anyone know of any good NFA and DFA implementation in C#, possibly implementing as well conversions between both? What I would like would be to be able to construct a NFA and then convert it automatically to a DFA, but without having to write my own code which would take a very long time. There is this Python 开发者_Python百科code which perhaps I could use and integrate with C# using IronPython, but Python is slow.


Take a look at my series of posts about this subject:

Regular Expression Engine in C# (the Story)

Regex engine in C# - the Regex Parser

Regex engine in C# - the NFA

Regex engine in C# - the DFA

Regex engine in C# - matching strings

0

精彩评论

暂无评论...
验证码 换一张
取 消