lib/app: make App::setup public

So clients can call it if they do not want to rely on the default main
method

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: fix usage of the new App framework

#479 did the job poorly

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: use `app_name` and `app_version`

Signed-off-by: Jean Privat <jean@pryen.org>
Merge: Fix shoot

shoot: fix usage of the new App framework …
#479 did the job poorly

Pull-Request: #500
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
grammar: support spaces and doc with the `in "Java"` syntax

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge: grammar: support spaces and doc with the `in "Lang"` syntax

Enables:
~~~~
extern class A in "Java"
    `{ MyJavaClass `}

# ...
end
~~~~

Still needs work for `
` after imports...

Pull-Request: #504
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
lib/stream: fix for clang/llvm/emscripten

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: use libgc only if platform supports it

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: extracts makefile_name from default toolchain

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: extracts default_outname from default toolchain

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
emscripten: intro the emscripten platform to generate to JS

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: support testing the emscripten module

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
example: intro an emscripten wrapper around hello world

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
example: intro an emscripten wrapper around fibonacci

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
examples: intro a README file to emscripten examples

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
emscripten: add general features to lib

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: implement `close` in StringOStream

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pep8analysis: fix format and encoding of some sample/test programs

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pep8analysis: enable analyzing from stream

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pep8analysis: print CFG as dot graph to OStream

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