如何将HIR降低到MSIL? [英] How to lower HIR to MSIL?

查看:82
本文介绍了如何将HIR降低到MSIL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想用Phoenix生成.NET程序集。因此,我需要将(H)IR降低到MSIL。

中的文档Phoenix SDK 2008年6月CTP版本包含一个单独的章节,关于"降低HIR"。用于"MSIL生成"。不幸的是,本章仅显示了各种IR级别的一些IR片段,但没有显示如何从一个级别到另一个级别。

更糟糕的是,由于某些API更改未在当前文档中反映出来,一些示例没有编译(例如CHAD编译器)。

我在本论坛中找到了一些关于将IR降级为HIR的其他线程,但没有一个以完整的答案结束。

任何人都可以指导我一个可行的文档或一个示例,说明如何使用Phoenix进行MSIL生成?


提前感谢!

问题
罗伯特

Hi,

I'd like to use Phoenix to generate .NET assemblies. Hence, I need to lower the (H)IR to MSIL.

The documentation in the Phoenix SDK June 2008 CTP Release contains a separate chapter about "Lowering the HIR" for "MSIL Generation". Unfortunately, this chapter only shows some IR snippets on various IR-levels but not how to get from one level to another.

Even worse, due to some API changes that are not reflected in the current documentation, some of the examples did not compile (eg the CHAD compiler).

I found a few other threads about lowering IR to HIR in this forum but none of them ends with a complete answer.

Can anybody direct me to a viable documentation or an example that shows how to use Phoenix for MSIL Generation?


Thanks in advance!

regards
robert

推荐答案

这篇文章概述了我们尝试使用旧版SDK的方法。其中一些可能已过时但它会让您大致了解如何继续。另外,推广的海报'gavelino'就像仿制药,字段等一样,所以你也可以搜索这些帖子。
This post outlines an approach we tried with older SDKs. Some of it is probably dated but it gives you a rough idea how to proceed. Also the poster 'gavelino' pushed through thinks like generics, fields, etc, so you might search for those posts too.


这篇关于如何将HIR降低到MSIL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆