CIL – Compiler construction

I’ve created a little sample on how to make your own .NET compiler. The compiler uses Gold parser for parsing and Reflection.Emit to generate the compiled .exe file. Initially I intended to make a sample on how to use Gold parser to parse and then compile Linq expressions, thus the name GoldLinq, however, Linq have now been replaced…More

Linq Expressions – Access private fields

In this post I will show how you can use Linq Expressions to access private(or public) class fields instead of using Reflection.FieldInfo. Normally when you want to access a field by its name on a type you have to resort to reflection. You will end up with something like this: FieldInfo field = MyType.GetField(“someField”,BindingFlags.NonPublic | ….…More

Linq to NPersist to MS Access

I’ve finally seen my own Linq support Live :-P Untill now I’ve only been emitting NPath quereis and verified that NPath is correct. The reason I havent tested it live untill now is that I only have my gaming machine to develop on atm. the dev machine is dead. Anyway, I’m trying it against NWind…More