Tags

Parsing

  • Jun 25, 2016

    Parsing whitespace in an Xcode extension

    Fun with a pushdown automaton (implemented as a single mighty switch statement) for parsing whitespace in Swift source files. The result is an Xcode 8 Source Editor Command extension for detecting and correcting whitespace issues in Swift files.

    SwiftparsingXcode

    Read article

  • May 1, 2016

    Comparing Swift to C++ for parsing

    I present an implementation of Swift's Demangle.cpp, rewritten in Swift and use the two versions (the original C++ and my Swift version) to compare the C++ and Swift for writing parsers.

    Swiftparsing

    Read article