Helps generate externs for native libraries
Nemerle Haxe
Pull request Compare This branch is 2 commits ahead, 32 commits behind jgranick:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
buildhx
README.md
build.hxml
buildhx.hxproj
haxelib.xml
run.n

README.md

BuildHX

Helps generate externs for native libraries.

Current Features

  • Generate JS externs for libraries supporting JSDuck
  • Generate externs from manually defined XML
  • Initial support for binding native C++ libraries

Planned Features

  • Improve native C++ binding support
  • Migrate support for creating Java/JNI bindings
  • Generate bindings to use native Objective-C libraries

Usage

BuildHX is simple to use:

haxelib run buildhx build.xml

...where "build.xml" is your XML definitions file.

More Details

You can currently find XML examples in the "senchatouch" and "joapp" libraries.

Although support for more JS doc generators is not planned, your contributions are welcome. For example, the EaselJS library is designed to work with YUIDoc. With a little bit of work, it should be possible to use YUIDoc to export the EaselJS definitions in a readable format. Then it would not be difficult to create a new parser so that externs could be made automatically.