When I was a kid, back in the 70's and 80's, I thought chess programs were the most sophisticated computer programs in the world. That was back when the average personal-computer chess program wasn't very good, and dedicated chess computers cost hundreds or thousands of dollars, so it seemed to …
The Good Old Days and Tiny BASIC
This week, we learned that Dr. Dobb's Journal is shutting down after 38 years. Admittedly, I haven't paid much attention to Dr. Dobb's for the past few years, but back when I was a kid who wanted to be a programmer, I anxiously awaited each monthly issue so that I …
SuwaneeForth: A Forth Implementation in Swift
Using a new high-level programming language to implement an old low-level language is a strange thing to do, but I've done just that. SuwaneeForth is an implementation of Forth interpreter, written in Swift. If you are interested in such a thing, you can find it here:
Markingbird: A Markdown Processor for Swift
Markingbird is a Markdown processor written in Swift for OS X and iOS. It is a translation/port of the MarkdownSharp processor used by the Stack Overflow website.
(If you have no idea what "Markdown" and "Swift" are, you can just stop reading now.)
Repository: https://github.com/kristopherjohnson/Markingbird …
F#'s Pipe-Forward Operator in Swift
Note: At WWDC 2015, Apple announced Swift 2, which includes changes and a new feature called "protocol extensions" that render much of the code below either irrelevant or incorrect. This article applies to Swift 1.x.
Apple's new Swift programming language isn't really a functional programming language. However, it does …
KJTipCalculator: A Simple iOS Swift App
As an experiment in using Apple's new Swift programming language, I whipped up a simple tip-calculator app for iOS 8.
Yes, the world really needs Yet Another Tip Calculator, and it also really needs Yet Another Swift App Example.
In addition to using Swift, the app also uses an embedded …