{"id":261,"date":"2014-06-12T18:23:37","date_gmt":"2014-06-13T02:23:37","guid":{"rendered":"http:\/\/blog.danielparnell.com\/?p=261"},"modified":"2014-06-21T15:12:52","modified_gmt":"2014-06-21T23:12:52","slug":"swift-compiler-is-crashing-for-me","status":"publish","type":"post","link":"https:\/\/blog.danielparnell.com\/?p=261","title":{"rendered":"Swift compiler is crashing for me :("},"content":{"rendered":"<p>I&#8217;ve been spending a bit of time having a play with Apple&#8217;s Swift. \u00c2\u00a0So far I find the language to be interesting.<\/p>\n<p>It seems to be missing a few things. \u00c2\u00a0Working with strings is a real pain \ud83d\ude41 \u00c2\u00a0Hopefully this will be fixed in later versions of the language\/compiler.<\/p>\n<p>I&#8217;m also hitting many problems with the Xcode 6.0 beta crashing, but more annoyingly after getting a <a href=\"https:\/\/github.com\/dparnell\/pegged\">fairly large amount of Swift code<\/a> ready it seems to be crashing the compiler \ud83d\ude41<\/p>\n<p>I&#8217;m trying to port the pegged parser generator to swift. \u00c2\u00a0The first step is to update the existing tool to generate swift as output. \u00c2\u00a0This I got working fairly quickly, then it was down to fixing the various syntax errors and learning how things are done in Swift. \u00c2\u00a0Now there are no syntax errors, but it still won&#8217;t compile \ud83d\ude41 \u00c2\u00a0Ah well. \u00c2\u00a0Maybe I should just have a go at writing one from scratch \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been spending a bit of time having a play with Apple&#8217;s Swift. \u00c2\u00a0So far I find the language to be interesting. It seems to be missing a few things. \u00c2\u00a0Working with strings is a real pain \ud83d\ude41 \u00c2\u00a0Hopefully this will be fixed in later versions of the language\/compiler. I&#8217;m also hitting many problems with &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.danielparnell.com\/?p=261\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Swift compiler is crashing for me :(&#8220;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3,47],"tags":[50,66],"class_list":["post-261","post","type-post","status-publish","format-standard","hentry","category-mac-os-x","category-swift","tag-crash","tag-swift","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p561S3-4d","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/posts\/261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=261"}],"version-history":[{"count":1,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/posts\/261\/revisions"}],"predecessor-version":[{"id":262,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=\/wp\/v2\/posts\/261\/revisions\/262"}],"wp:attachment":[{"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.danielparnell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}