Convert JSDoc documented code to Haxe externs.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README
build.hxml

README

Converts JSDoc annotated JavaScript files to Haxe externs. This is not a general purpose converter. It was built to convert the Phaser library specifically, but it may be general enough to convert other libraries as well. Really the only requirement is that every JS file corresponds to a class and the folder structure maps directly to package structure. Built for Object Oriented structuring.

Requires DOX: https://github.com/visionmedia/dox

Compile and run:

	neko js2hx INDIR OUTDIR

Example:

	neko js2hx path/to/phaser path/to/out