现在你可以得到.NET CLI/C#编译器源码了...

WinXP and FreeBSD

.NET CLI/C# compiler source code now available

 

Learn how .NET and Visual Studio do their thing by getting down and dirty with the Shared Source release.

 

Posted by Chris Maunder on 2 Apr 2002.   Source: Microsoft

 

Rotor, the Microsoft Shared Source CLI Implementation is now available for download. This release includes over a million lines of code and contains working source code for the ECMA-334 (C#) and ECMA-335 (Common Language Infrastructure, or CLI) standards for Windows XP and FreeBSD.

The release is aimed at those looking to implement their own versions of the CLI and C# compiler; teachers and researchers; developers wishing to understand virtualized object systems, designing object frameworks, JIT compilers and garbage collectors; and those with way, way too much spare time.

The release is still considered a beta product and will be updated in time. It is not the commercial release, in that it is only a subset of the full .NET implementation and has been modified to aid portability and readability.

The CLI beta can be downloaded here.

Also of interest to those wondering if this version will be ported to Linux is the Microsoft Shared Source Philosophy: Frequently Asked Questions. Due to the viral nature of the GNU General Public License, the CLI will not be ported to Linux. Other operating systems that are not under the GPL are potential targets for porting.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
一、功能简介 本编译器主要有四部分功能: 1、词法分析 编制一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续显示)。 2、语法分析之递归下降分析 递归下降分析法的前提是文法必需为LL(1)文法,此功能为验证性功能,已经给出文法,输入一符号串,验证是否属于该文法的句子即可。 3、语法分析之LL(1)预测分析 此功能为验证性功能,已经给出文法,对任意输入的符号串进行分析验证是否属于该文法的句子即可。 4、逆波兰式的生成及计算 从键盘输入一个表达式符号串(中缀算术表达式),根据算符优先分析表对表达式符号串进行堆栈(或其他)操作,输出分析结果,并对生成的逆波兰式进行计算。 5、 另外,本编译器具备基本的记事本编辑操作功能,此部分功能不做具体介绍。 6、“源程序”“对比”“分析结果”显示工作区域的不同状态。 7、编译器下方有状态栏,显示当前状态。 二、操作 1、功能的选择 点击菜单栏“编译(B)”,继而进行功能的选择;或者直接点击相对于的图标也可。 2、运行 在编辑区,右键点击出现的菜单中选择对应的功能运行;或者点击‘红色羽毛’的图标运行。 3、点击最后一个图标,可以显示或者隐藏编译器右边的说明区域。 4、状态栏可以通过菜单:“其它”->“状态栏”操作显示和隐藏。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值