Merge: jwrapper: An extern class `in "Java"` generator
authorJean Privat <jean@pryen.org>
Tue, 22 Jul 2014 02:57:00 +0000 (22:57 -0400)
committerJean Privat <jean@pryen.org>
Tue, 22 Jul 2014 02:57:00 +0000 (22:57 -0400)
commitcb327a65ae57554e53bb88a9c707b6e1b831d1b3
tree3b8cfc0f379fb423c873a50bd5fba48ecb6f34c6
parentf5303818cc1a6d8a9659bd0ab38fee5ffda724c2
parenta456c4469b709324a1625faac22f3405dcf82ee8
Merge: jwrapper: An extern class `in "Java"` generator

Consider as Work In Progress. This is an overview of what has been done so far on the java wrapper generator. Most of the features are implemented, but there's still a lot of work to do. In its actual form, the tool takes javap output stored in a file and wraps all methods and attributes (not really useful, but implemented) to generate a nit extern class in a .nit file. Up to one collection parameter and one collection return type are copied. Methods containing non-convertible types are auto-commented.

Features to come :
* Auto-generation of extern class for non-convertible types
* User interface with options
* Static overload support

Pull-Request: #571
Reviewed-by: Jean Privat <jean@pryen.org>