modelbuilder: split in 3 modules

Signed-off-by: Jean Privat <jean@pryen.org>
modelbuilder: ANode not more mandatory in errors and cie

Signed-off-by: Jean Privat <jean@pryen.org>
lib/array: make `copy_to` public

Signed-off-by: Jean Privat <jean@pryen.org>
niti: direclty use `Array::copy_to` to implements `NativeArray::copy_to`

Signed-off-by: Jean Privat <jean@pryen.org>
lib/file: `String::files` return an Array because it is an easier primitive type to deal with

Signed-off-by: Jean Privat <jean@pryen.org>
niti: implements `String::files`

Signed-off-by: Jean Privat <jean@pryen.org>
niti: remove last warnings by documenting two methods

Signed-off-by: Jean Privat <jean@pryen.org>
niti: reduce the direct usage on the current frame

Signed-off-by: Jean Privat <jean@pryen.org>
nitvm: Migrating some init to new-style constructors and fixe a missing doc warning

Signed-off-by: Julien Pagès <julien.projet@gmail.com>
nitvm: Method dispatch is implemented with direct access

Signed-off-by: Julien Pagès <julien.projet@gmail.com>
nitvm: Subtyping test is now implemented with direct access

Signed-off-by: Julien Pagès <julien.projet@gmail.com>
niti: PrimitiveInstance::val can be null

Signed-off-by: Jean Privat <jean@pryen.org>
lib/string: fix and beef-up `chomp`

Signed-off-by: Jean Privat <jean@pryen.org>
niti: use get_mmodule_by_name instead of the low-level load_module

Signed-off-by: Jean Privat <jean@pryen.org>
loader: `load_module` no mode automatically computes the importation

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: reuse ProjTree::display for the simple list

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: shows the synopsys of modules and groups by default

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: make -d and -r usable together

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: use color when listing things

Signed-off-by: Jean Privat <jean@pryen.org>
loader: add MGroup::is_interesting

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