examples/shoot: add vectorial images from PyCaptain

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
examples/shoot: use new images

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: update shoot_logic sav file

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pep8analysis: rename its Error class to P8Error.

One day, name conflicts will be resolved sanely... one day...

Signed-off-by: Jean Privat <jean@pryen.org>
lib: add standard/error.nit

This could help people to implement some error handling in libraries.

It is inspired by #701 and ideas from Alexandre Terrasa.

Signed-off-by: Jean Privat <jean@pryen.org>
Merge: Proposition of a new image source for `shoot`

The ressources are extracted from the projet PyCaptain. See `ships.svg`.

Pull-Request: #421
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Merge: lib: add standard/error.nit

This could help people to implement some error handling in libraries.

It is inspired by #701 and ideas from Alexandre Terrasa.

Pull-Request: #707
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
src: add new hub modules to regroup related things together.

modelize: for modelize_*
semantize: for typing/auto_super_init/scope/flow/etc.
compiler: for compiler related things
interpreter: for interpreter related things

Signed-off-by: Jean Privat <jean@pryen.org>
src: cleanup importations

Signed-off-by: Jean Privat <jean@pryen.org>
niti: remove dependency on common_ffi

Signed-off-by: Jean Privat <jean@pryen.org>
lib: remove remaining declaration of old-style attributes.

Since new-style attributes still allows low-level access to the real
attributes, the migration was easy; although some intrude imports where required.

Signed-off-by: Jean Privat <jean@pryen.org>
src/metrics: clean importations

Signed-off-by: Jean Privat <jean@pryen.org>
src: clean white-spaces and license in some files

Signed-off-by: Jean Privat <jean@pryen.org>
src: create groups for related things

File are moved, some minimal change in importations

* modelize
* semantize
* frontend
* compiler
* interpreter

Signed-off-by: Jean Privat <jean@pryen.org>
contrib/online_ide: fix import of interpreter modules

Signed-off-by: Jean Privat <jean@pryen.org>
src: move model_vis to model

Signed-off-by: Jean Privat <jean@pryen.org>
parser: _location it no more nullable, so use isset for magic when needed

Signed-off-by: Jean Privat <jean@pryen.org>
parser: remove manual old-style attributes

Signed-off-by: Jean Privat <jean@pryen.org>
parser: batch remove old style attribute

~~~
sed -i 's/var _n\(.*: nullable.*\)/var n\1 is writable/' parser/parser_nodes.nit
sed -i 's/var _n\(.*\)/var n\1 is writable, noinit/' parser/parser_nodes.nit
sed -i '/fun n_\(.*\)/d' parser/parser_nodes.nit
sed -i '/init do end/d' parser/parser_nodes.nit
~~~

Signed-off-by: Jean Privat <jean@pryen.org>
parser: remove old-style attributes in xss

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