基于dotnet的自定义编译器

在Dotnet环境下,可以允许用户创建T#,S#这样的有自己行业特色的编译器,创建自己的编译语言。

以前在Win32环境下,如果要创建自己的编译语言,就必须去啃大部头的编译语言,在dotnet framework环境下,这个已经成为了一件非常简单,不再是一件奢望的事情。

http://www.c-sharpcorner.com/Code/2003/Sept/CompierDesign.asp

There is java and C# implementation. The Parser was generated using Antlr for both Java and C#. If you want to recompile the sources you will need to download it from antlr page. You will also need to download antlr to run the java examples, the C# implementation comes with antlr runtime, but you will need to have .NET framework installed. You can download .net run-time (for running programs only) from Microsoft.

转载于:https://www.cnblogs.com/yangzixian/archive/2009/10/19/1586041.html

你可能感兴趣的:(基于dotnet的自定义编译器)