nitg: Extract exec_and_check from Android

Signed-off-by: Djomanix <johan.kayser@viacesi.fr>
nitg: Fixed the copyright notice on android_platform

Signed-off-by: Djomanix <johan.kayser@viacesi.fr>
nitg: Use template::write_to_file in android_platform

Signed-off-by: Djomanix <johan.kayser@viacesi.fr>
nitg: Added PNaCl support for Nit

Signed-off-by: Djomanix <johan.kayser@viacesi.fr>
nitg: Added comment for exec_and_check

Signed-off-by: Djomanix <johan.kayser@viacesi.fr>
Example : Added a pnacl example

Signed-off-by: Djomanix <johan.kayser@viacesi.fr>
Merge branch 'master' into pnacl_integration
pnacl: remove duplicated check to create project directory

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pncal: clean up generated Makefile

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pnacl: make conditionnal file creation a "one liner" to fix indentation

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: move mnit::app to mnit::mnit_app to prevent future conflic with ::app

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
kernel: use legacy FFI for `address_is_null`

The point is to sill allow the bootstrap with a minimal engine.

Signed-off-by: Jean Privat <jean@pryen.org>
typing: AArrayExpr provides callsites

Signed-off-by: Jean Privat <jean@pryen.org>
tranform: drop ASuperstringExpr

It needs to be rewrote

Signed-off-by: Jean Privat <jean@pryen.org>
astbuilder: `make_new` and `make_call` require a CallSite

a callsite has a lot more information that was previously lost.

Signed-off-by: Jean Privat <jean@pryen.org>
bootstrap: add the missing step `nitg_0`

The compiler in c_src might produce code that does not understand
new phases, annotation or whatever ; or that is just broken outside
the bootstrap.

Thus, an additional phase is used to produce the usable compiler in bin

Signed-off-by: Jean Privat <jean@pryen.org>
mkcsrc: bootstrap with `nith` instead of `nitg`

also use `--semi-global` to produce efficien and smaller code.

Signed-off-by: Jean Privat <jean@pryen.org>
lib/mnit: fix doc of MotionEvent (fix #182)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/signals: move signals getter to Object

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/signals: intro Process::kill and Process::signal (fix #180)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>