Friday, 6 February 2015

Importing member references and writing MSIL

Hey guys,

Today I'd like to tell you that I just completed the basic mechanism of the MSIL Assembler and the member importer. Using macros like the function ImportMember, it is possible to import member references by providing a System.Reflection object, such as an instance of a MethodInfo. This way there is no need anymore to create all the references yourself.

The following code creates a new method and writes some code to print out the number 1337. It is still required to set some magic numbers, but those will be gone soon.

I'll be uploading the first commit soon to a new branch of the github repository soon. So why don't you star the repository immediately :p ?

Anyhow, that's all for this post.