在C#词法分析器的例子样本 [英] example sample of lexical analyzer in c#

查看:168
本文介绍了在C#词法分析器的例子样本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用一些内置的词法分析器和语法分析器,我需要一些例子来样demonstaring使用。

i want to use some built in lexical analyzer and parser, i need some examples or samples demonstaring the use.

任何人有使用C#的词法分析器? ??

any one has use any lexical analyzer in C#???

任何一个可以共享的样本和代码如何使用。

can any one share the sample and code how to use that.

我没有找到许多ANTLR和Lex
,但我不能找到任何实例或教程。

i didnt find many ANTLR and lex but i cant find any examples or tutorial.

请让我知道,如果任何一个使用了这样的事。

please let me know if any one has used any such thing.

推荐答案

在Lucene.NET文本仪看起来相当有前途的,并可能是沿着你正在寻找什么样的线更多的东西:

The Lucene.NET Text Analyzer looks quite promising, and is probably something more along the lines of what you are looking for:

Lucene的文本分析 - C#| CodeProject上

下面是一个HTML词法分析器用C#编写,可以帮助你在正确的方向。

Here is an HTML Lexical Analyzer written in C#, might help get you pointed in the right direction.

HTML词法分析器 - C#| CodeProject上

最后,这里是词法分析器的设计博客由奥马尔面包车Kloeten,如果你决定要在自己的工作:

Finally, here is a blog by Omer van Kloeten on the design of Lexical Analyzers, in case you decide to work on your own:

设计一个词法分析器|奥马尔面包车Kloeten的博客

这篇关于在C#词法分析器的例子样本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆