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.

https://gist.github.com/1349038

Usage:
$ ./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
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to