Monthly Archives October 2008

YaYAML: Yet another YAML parser

I don’t want to make much ceremony around this, but I thought I’d mention it incase anybody else is interested.
As a part of a project I’m working on I needed a simple file to store some data in, and I didn’t want it to be XML (for no reason other than the verbosity). I could [...]

Getting started with OMeta#

Notice: I’m a novice at OMeta, and as such, you shouldn’t take my advice as best-practice. This is based on my exploratory findings.
String parsing is hard. I don’t think anyone will deny that. You can parse it by hand, you can use regular expressions, you can walk it character by character. With SharpDiff, I needed [...]

SharpDiff - Diff Parsing in .NET

About SharpDiff
SharpDiff is a library for parsing the output of various diffing tools. It’s primary purpose is to reduce the time spent by SCM UI developers in handing diff output.
Why SharpDiff
I’ve got a few tools in mind that require parsing of diff files. I figure it’s a pretty common thing for SCM UI developers to [...]

Smart Indentation for Visual Studio Extensibility projects

I said previously in my Brace Matching post that I want to try to document some of my findings while working on BooLangStudio. Well this is my second post on the subject.
When you’re implementing a custom language in Visual Studio, there’s a very good chance that you’re going to want to handle indentation slightly differently [...]

Console colours wrapper

Continuing on from my post about an alternative syntax for the non-disposable using statements, here’s a class I’ve been using lately. It serves as a wrapper around changing the colours in a console window. It’s not a difficult thing to do, it’s just a bit awkward because you have to maintain the original colour in [...]

Alternative to abusing using

There’s been a bit of discussion of late about using statements, and how they’re more often being used for purposes other than just releasing resources. As always, there are those people who think it’s a flagrant abuse of a feature and shouldn’t be done, then there are those that like it. I’m in between. I [...]