Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore possible parser performance improvements so that Kin can do better "on the fly" syntax checking #30

Open
danielmartin opened this issue Apr 14, 2017 · 1 comment

Comments

@danielmartin
Copy link
Contributor

As PR #29 shows, there's an opportunity for Kin to work not only in batch mode, but integrated with text editors and IDEs, doing checks in the background.

For a better experience, we should make the parser faster. Without leaving the convenience of using ANTLR, maybe we could massage the input grammar a little bit or memoize things so that the latency between checks is reduced and doesn't scale poorly as the Xcode project gets bigger.

@Serchinastico
Copy link
Owner

Absolutely right, we first did Kin just as a one-shot tool so we didn't think that much about performance back then, but there are plenty of possible improvements on that side, that's for sure.

We have to find some time to see how to do that specifically, though. In the meantime, any PR addressing the issue is more than welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants