Compiler compiler in C#

后端 未结 7 984
遥遥无期
遥遥无期 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.

提交回复
热议问题