Life. Don’t Talk To Me About Life.

I’ve just updated WordPress. I don’t see much difference. I’ll probably have to look at the Codex to see what the shortcut keys are to make posting easier. I’ve also updated to Xcode 7 β5. That probably means another release of Xcode is due out.

Life away from the keyboard has kept me kind of busy. I’ve also had trouble at the keyboard. My glasses are old and eyestrain has given me severe pain when just spending a few minutes at the keyboard. New glasses should fix that. I can’t wait for them to be ready.

I’ve also been reviewing SICP. I want to write my own JSON parser. I also want to have an SVG / XML parser. Both parsers are to store the data into the same data structure. Right now I’m stuck on the reader bit. Last time I wrote anything like that was using Perl which is pretty good for the job. I was also parsing HTTP log files which are very easy to parse, even compared to JSON.

It seems to me the best way to do the job is to follow the SICP course philosophy of solving a class of problems. The general way to do this for a parser is to write a general pattern matcher and have a specification for the patterns I want to match. I’ve been considering using something like BNF notation. The thing is, I don’t want to also have to parse the pattern rules. It sounds like turtles all the way down. I mean do I write pattern matching rules to read the pattern matching rules for a text file?

I guess this is where I wish I had a proper Comp Sci degree.

I’ll obviously be using Swift2 for all this. I’ll probably just go with calling whatever version of Swift just Swift. I know it’s still a young language that will probably continue to mutate over time. I just don’t care for version numbers in languages.

Oh well. Here’s hoping that I can get something done soon. This is part of a larger project which I hope to ship sometime and perhaps actually make some money on. The dream of a living wage as an independent software developer dies hard.