Search Results

Introduction In my last post, Expression Trees, Take Two – Introducing System.Linq.Expressions v4.0 , I showed how to the extensions to the LINQ expression trees API opens up for full-blown statement trees including support for assignment, control flow, etc. One popular question that came up in the comments...
Introduction Avid blog readers know I have a weak spot for expression trees in particular and the broader picture of meta-programming facilities. With the introducing of LINQ in the .NET Framework 3.5 timeframe, we ended up adding expression trees to the framework as a way to represent code as data....
Introduction Time for some new dynamic compilation adventures. In the previous part we took a look at the infix to postfix transformation. As an example the expression ((1+2)+3)*2-8/4 gets translated into 1 2 Add 3 Add 2 Mul 8 4 Div Sub . Today, we'll translate this postfix notation into an expression...
Today we’ll take a look at project “MLinq”, a very simple way to perform symbolic matrix calculations based on LINQ expression trees.   Introduction But first, why would you even want to do this? Let me tell you I’m a big believer of the power of mathematical notation. Say you’ve been asked to write...
Introduction Welcome back to the LINQ-to-LDAP series. So far, we've been discussing: Part 0: Introduction Part 1: Key concepts In the previous post , we put ourselves at the side of the compiler either being faced with an IEnumerable<T> or IQueryable<T> object on which a query is to be performed...
Introduction Welcome back to the LINQ-to-LDAP series. So far, we've been discussing: Part 0: Introduction Part 1: Key concepts Part 2: Getting started with IQueryable Part 3: Why do we need entities? In the previous post , we entered the domain of implementing a custom query provider for LINQ. More specifically...
Introduction In the latest episode in this series I talked about hypothetical compile-time rewriting facilities that would be used to turn our intermediate representation of control-flow driven code using our Control Library into efficient IL code. In a somewhat hand-waving way I communicated the fairly...
I didn’t intend to make this a series of posts but that’s the way things go. Based on feedback from readers and additional questions raised, one decides that add that little bit more to it and ultimate you’re writing a sequel. Where have we been on this journey? First, we took a look at the abstract...
Monday morning: The Return of The Pattern Matcher. After an awesome weekend (well, a Saturday at least) plenty of sun here in Seattle, we'll dive into even more pattern matching fun. This time around we'll investigate ways to match collections. Last time we wrapped our heads around ways to match...
Introduction On last week’s TechEd EMEA Developers 2008 conference in Spain I redelivered my talk on writing custom LINQ providers, showing off implementations of LINQ to AD and LINQ to SharePoint. One of the questions I received afterwards went along the lines of this blog post’s title: “Dude, where...
More Posts Next page »