-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature Request: Convert ObjC booleans to ruby booleans #3
Comments
👍 |
Thanks for opening the issue! I (obviously) haven't updated this repository in a while. But I'm open to taking Pull Requests and will push them through to get updated. The project is currently a mess of Javascripted Regexp which is not particularly ideal. The proper way to do things would be to build an actual grammar parser with something like TreeTop. |
Also, you might look here for an implementation in the Sublime plugin that was the inspiration for this project: https://github.com/kyamaguchi/SublimeObjC2RubyMotion/blob/deae4f269b572012297003af0e2011e27c383773/CodeConverter.py#L134-L137 |
https://github.com/TigerWolf/objc2rubymotion/tree/feature/trueandfalse Its not using the ideal method but I can make a PR if you want. |
@TigerWolf looks good. Would you be able to add a spec for it? And then please do open a PR. Thank you! |
Convert YES and NO to true and false.
I'm open to doing this :)
The text was updated successfully, but these errors were encountered: