Skip to content

hexonaut/js2hx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Convert JSDoc documented code to Haxe externs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages