C#/.NET Lexer Generators

前端 未结 4 646
没有蜡笔的小新
没有蜡笔的小新 2020-12-30 08:25

I\'m looking for a decent lexical scanner generator for C#/.NET -- something that supports Unicode character categories, and generates somewhat readable & efficient code

4条回答
  •  误落风尘
    2020-12-30 09:03

    The two solutions that come to mind are ANTLR and Gold. ANTLR has a GUI based grammar designer, and an excellent sample project in C# can be found here.

提交回复
热议问题