model: implements MType::name

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
contrib: introduce the game friendz

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add friendz related sav

Signed-off-by: Jean Privat <jean@pryen.org>
contrib/jwrapper: Definition of a grammar to parse javap output

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>
contrib/jwrapper: Added AST visitor for data extraction

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>
contrib/jwrapper: Added code generation module with code conversion maps

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>
contrib/jwrapper: Added UNDEFINED to javap_visitor.res in sav

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>
model: makes MParameter an MEntity

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
model: Generalize access to `model` form `MEntitiy`.

Since, MEntity are model things, let the user access to the model from them.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
contrib/jwrapper: Added static overload support

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>
Merge: friendz, a new game for contrib

Pull-Request: #561
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
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>
Merge: proposal for model: Generalize access to `model` form `MEntitiy`.

Since, MEntity are model things, let the user access to the model from them.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

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