Compiler compiler in C#

后端 未结 7 983
遥遥无期
遥遥无期 2021-02-03 13:28

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 t

相关标签:
7条回答
  • 2021-02-03 14:15

    From here:

    LINQPad uses a number of third-party components within the UI. The query editor uses Actipro's SyntaxEditor control (a very polished product); the "IntelliSense" features rely on a combination of libraries from Actipro Software and ICSharpCode (from the SharpDevelop project).

    I've not used any of the products mentioned in that excerpt (apart from LINQPad - which I highly recommend!) but thought it might start moving you in the right direction perhaps.

    0 讨论(0)
提交回复
热议问题