I’ve been spending a bit of time having a play with Apple’s Swift. Â So far I find the language to be interesting.
It seems to be missing a few things. Â Working with strings is a real pain 🙁 Â Hopefully this will be fixed in later versions of the language/compiler.
I’m also hitting many problems with the Xcode 6.0 beta crashing, but more annoyingly after getting a fairly large amount of Swift code ready it seems to be crashing the compiler 🙁
I’m trying to port the pegged parser generator to swift. Â The first step is to update the existing tool to generate swift as output. Â This I got working fairly quickly, then it was down to fixing the various syntax errors and learning how things are done in Swift. Â Now there are no syntax errors, but it still won’t compile 🙁 Â Ah well. Â Maybe I should just have a go at writing one from scratch 😉