[MacRuby-devel] BridgeSupport (objC header file) simple parser

Matt Aimonetti mattaimonetti at gmail.com
Tue Nov 8 12:24:07 PST 2011

On my way down to RubyConf Argentina I wrote these few lines of code to
parse the Objective-C header generated by the sdef/sdp commands into a Ruby
object that I then dump to JSON.


$ ./bridgesupport_doc_parser.rb ~/tmp/inDesign.h

Feel free to build whatever you want with this (very basic) code, in
theory, it shouldn't be hard to write a small app showing the API provided
by a 3rd party app.

- Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20111108/dfafa30c/attachment.html>

More information about the MacRuby-devel mailing list