博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Microsoft Has Open Sourced the Common Compiler Infrastructure
阅读量:6414 次
发布时间:2019-06-23

本文共 1621 字,大约阅读时间需要 5 分钟。

Microsoft Research has open sourced the  (CCI) and  projects containing a set of libraries used by compilers and other programming tools to manipulate metadata in CLR assemblies and debug files. The CCI: Metadata components subsume System.Reflection while CCI: Code and AST subsumes System.CodeDom.

CCI does not actually load the assemblies it accesses, but it reads/writes their metadata, and it does not open a dependency assembly until it is needed. When working with CLR PE files, CCI can write to them any object that implements the metadata model interfaces (Microsoft.Cci.MetadataModel).

The CCI: Metadata API contains:

  • a Metadata Model
  • a CLR PE Reader
  • a CLR PE Writer
  • a metadata helper class (static methods in Microsoft.Cci.MetadataHelper.dll)
  • implementation classes for the Metadata Model interfaces
  • a Source Model to work with source files
  • a PDB reader
  • a PDB writer

The CCI: Code and AST project contains:

  • a Code Model used to read statements and expressions
  • a Mutable Code Model which represents a modified code model since the Code Model offers a read-only view of the code
  • an AST Model to extract AST nodes. “AST nodes take care of things such as binding names to definitions, overload resolution and error checking. The AST components are designed to support incremental compilation, while allowing for efficient projection onto the immutable code model.”

The project is supported by , a Microsoft Research team.

 from:http://www.infoq.com/news/2009/04/Open-Source-CCI;jsessionid=B169C7533F915EF866B37F43FEC7434C

 

本文转自Justin博客园博客,原文链接:http://www.cnblogs.com/justinw/archive/2009/04/22/1441587.html,如需转载请自行联系原作者

你可能感兴趣的文章
Cygwin + OpenSSH FOR Windows的安装配置
查看>>
咏南中间件支持手机客户端
查看>>
fastscript增加三方控件之二
查看>>
Windows Vista RTM 你准备好了么?
查看>>
Tensorflow Serving 模型部署和服务
查看>>
Java Web开发详解——XML+DTD+XML Schema+XSLT+Servlet 3.0+JSP 2.2深入剖析与实例应用
查看>>
topcoder srm 680 div1 -3
查看>>
具体数学第二版第四章习题(1)
查看>>
高效前端优化工具--Fiddler入门教程
查看>>
【翻译】我钟爱的HTML5和CSS3在线工具
查看>>
Java多线程学习(吐血超详细总结)
查看>>
css3 变形
查看>>
Win7 64bit 安装Mysql5 出错 无法启动服务。
查看>>
嵌入式 H264参数语法文档: SPS、PPS、IDR以及NALU编码规律
查看>>
初识Opserver,StackExchange的监控解决方案
查看>>
给大家讲解一下JavaScript与后台Java天衣无缝相结合
查看>>
探索HTML5之本地文件系统API - File System API
查看>>
javascript有用代码块(1)
查看>>
libevent 笔记
查看>>
PHP实现人人OAuth登录和API调用
查看>>