A Monadic Pratt Parser

A while ago I read the book Beautiful Code which contains articles from several well known programmers about what code they consider beautiful.  There is an article in this book by Douglas Crockford called titled Top Down Operator Precedence.  The article is about a type of parser called either a Pratt Parser (named after Vaughan Pratt person who…

0

A Monadic Pratt Parser

Introduction I recently read Beautiful Code which contains articles from several well known programmers about the code they consider beautiful.  In Top Down Operator Precedence, Douglas Crockford discusses the Pratt Parser (named after Vaughan Pratt who wrote the paper on … Continue reading →

0

Chutzpah 1.3.0 Released

A new version of Chutzpah is now live on Visual Studio Gallery, CodePlex and now NuGet. This release contains the following changes: Features 1. Chutzpah is now able to run Jasmine tests in addition to QUnit. This was a large … Continue reading →

0

Moving and renaming resource keys in a .resx file

I work on websites where we have several resource files that are localized in many languages. This makes operations like renaming a resource key and moving a resource key to a different file annoying since you must do it across … Continue reading →

0

Chutzpah 1.2.0 Released

A new version of Chutzpah is now live on Visual Studio Gallery, CodePlex and now NuGet. This release contains the following changes. 1. Added the Chutzpah console runner as a NuGet package. Once installed the Chutzpah.Console.exe file will be located … Continue reading →

0

Make your website faster with RequestReduce

My co-worker Matt Wrock released an open source project on GitHub and Nuget called RequestReduce.  It is a very quick and easy way to dramatically improve the performance of an ASP.NET website. We use this library for our sites at … Continue reading →

0

Update on inheriting base type mappings with AutoMapper

Several months ago I wrote this post which shows an extension method for inheriting the mappings on a base type for a child type in AutoMapper.  Since then I have had a few comments on the post which led me … Continue reading →

0

Chutzpah 1.1.0 Released

A new version of Chutzpah is now live on Visual Studio Gallery and CodePlex. This release contains the following changes: Added a “Run JS Tests in Browser” menu option inside of Visual Studio. This will open your default browser and … Continue reading →

0

A combined Mercurial and Git PowerShell Prompt

A while ago I posted the code I use to create a custom PowerShell prompt to show the status of my Mercurial repositories. Since then I have also started using Git so I updated my prompt to work for both. … Continue reading →

0

Making linking between anchors in an IFrame work in Firefox 4 and above

In Firefox 4 a security fix was added which prevents linking between anchors within an IFrame that does not have scroll bars. This change breaks the scenario where you have an IFrame that has a “Go To Top” link (<a … Continue reading →

0