fun with GTK# · Apr 15, 2012
Recently I’ve resumed work on a GTK# project I started three years ago: SnazzyCalculator, hosted on Github. I originally started the project out of curiosity about GTK#, and it’s been fun to develop – I know no one needs another calculator tool. I do intend to develop it into what I’ve been calling a wordulator: type in something like “one plus one equals” and it’ll respond “two”. Feel free to laugh, Jon keeps teasing me about it certainly. :P Anyway, what’s been really fun since I’ve resumed development is getting the parser and equation solver to work. I found this awesome tutorial by Eric White on writing a recursive descent parser in C#, and that gave me the bulk of my parser code. I did discover two bugs in his code that I fixed; I’ll share my fixes with you.