Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8367497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:10:29+00:00 2026-06-09T13:10:29+00:00

I recently tried to integrate ParseKit into my iPhone app. I downloaded release-1.5-tag, and

  • 0

I recently tried to integrate ParseKit into my iPhone app. I downloaded release-1.5-tag, and integrated it into my project (XCode 4.4, iOS 5.1), and it builds without issue. When I run a simple example to try and parse some Javascript (using the grammar that comes bundled with ParseKit itself):

NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:@"javascript" ofType:@"grammar"];
NSString *g = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];
PKParser *parser = [[PKParserFactory factory] parserFromGrammar:g assembler:self];
NSString *s = @"var x = 0;";
[parser parse:s];

My app hangs for a bit, then I get an EXC_BAD_ACCESS after what appear to be tens of thousands of calls to PKParser:matchAndAssemble, and PKSequence:allMatchesFor. At the end of all of these calls, it ends up calling PKTerminal:matchOneAssembly, then PKCaseInsensitiveLiteral:qualifies, then the EXC_BAD_ACCESS. Am I doing something wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:10:30+00:00Added an answer on June 9, 2026 at 1:10 pm

    Developer of ParseKit here.

    Use head of trunk from Google code:

    http://code.google.com/p/parsekit/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently tried to compile an older Xcode project (which used to compile just
I recently tried to combine SEAM and GWT in a project - but failed
Recently I tried to explain some poorly designed code to my project manager. All
I have recently tried to start using Grails and now I want to integrate
I have a project built with maven and I recently integrated Sonar... It is
Recently, I tried to solve Problem 23 of Project Euler . For that I
iOS 5 library was automatically downloaded to my machine recently. Since this happened, when
I recently tried to upgrade a .net 2.0 project which had its DAL generated
I have recently tried using the Silverlight NUnit Project template (the one from Jamie
I recently tried to add a new Site/App: Afterwards I choose Android App and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.