精思入神分享 http://blog.sciencenet.cn/u/chinaontolog 从事生物多样性信息学与软件工程研究。

博文

BNF Parser 资源搜集

已有 4232 次阅读 2010-1-10 17:04 |个人分类:知识工程|系统分类:科研笔记

Visual BNF parser

MSDN Code Gallery 上的一个项目,可下载的包中包含了较易理解的例程。

这是一个通用的文本解析器. 他的使用类似于正则表达式, 但比正则表达式更复杂, 可以用来解析更复杂的文本.

基于.NET开发的,无源代码。解析例程似乎有问题,无法用VS2008打开。原因不明。

CsLex

A lexical analyzer generator for C#
http://www.cybercom.net/~zbrad/DotNet/Lex/

ANTLR

 - Powerful paring engine supports lexical token parsing, rich grammar rules and very interestingly (and usefully) parse tree parsing. Although you'll need a Java JDK 1.4 to run it, it can be used to generate C# source code.
" ... provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions."

 



https://blog.sciencenet.cn/blog-344159-285943.html

上一篇:生物的拉丁学名书写规范调整
下一篇:Visual BNF 试用手记
收藏 IP: .*| 热度|

0

发表评论 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-27 06:32

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部