[MacRuby-devel] BridgeSupport (objC header file) simple parser
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MacRuby-devel