编译器编译的C# [英] Compiler compiler in C#

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

问题描述

我在寻找一个可定制的解析器和/或词法分析器,可以让我建立在C#中自定义的语法检查。本质上,用户输入代码行代码(自定义),而语法检查器将是它是否被正确与否的书面响应能力。

I'm looking for a customizable parser and/or lexer that can allow me to build a custom syntax checker in C#. Essentially the user will enter code a line of code (custom), and the syntax checker will be able respond if it is written correctly or not.

推荐答案

下面是您可能要考虑使用几件事情:

Here are few things which you might want to consider using:

  • Irony
  • Oslo / MGrammar
  • C# Flex
  • CocoR
  • ANTLR
  • GPPG

这篇关于编译器编译的C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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