separate_compiler: add properties coloration

Signed-off-by: Alexandre Terrasa <alexandre@moz-concept.com>
lib: Fixes NONITCNI imports

Signed-off-by: Alexandre Terrasa <alexadre@moz-code.org>
nitg --separate: generate C for call and attributes


Signed-off-by: Alexandre Terrasa <alexadre@moz-code.org>
nitg sep: refactoring of coloring fonctionnalities

Signed-off-by: Alexandre Terrasa <alexadre@moz-code.org>
nitg: rename RuntimeFunction to AbstractRuntimeFunction

Signed-off-by: Jean Privat <jean@pryen.org>
nitg: factorize logic of AbstractRuntimeFunction::c_name

Signed-off-by: Jean Privat <jean@pryen.org>
nitg: fix a missing ; in GlobalCompilerVisitor::autobox

Signed-off-by: Jean Privat <jean@pryen.org>
nitgsep: use mtype.c_name instead of mclass.name as C symbols

c_name includes name mangling.

Signed-off-by: Jean Privat <jean@pryen.org>
nitgs: move structure to the .h

This is not pretty but it makes things work.

Signed-off-by: Jean Privat <jean@pryen.org>
nigs: fix class field in instance: it is names class and is const

Signed-off-by: Jean Privat <jean@pryen.org>
nitgs: add BOX functions, primitive instances and fix autobox

Signed-off-by: Jean Privat <jean@pryen.org>
nitgs: use the real type of self in SeparateRuntimeFunction

this changes nothing but improves robustness.

Signed-off-by: Jean Privat <jean@pryen.org>
nitgs: add VirtualRuntimeFunction for method on primitive

Such a method are just stored in the VFT

Signed-off-by: Jean Privat <jean@pryen.org>
nitgs: workaround for primitive attributes

Signed-off-by: Jean Privat <jean@pryen.org>
nitgs: detect uninitialized attribute

Signed-off-by: Jean Privat <jean@pryen.org>
Merge branch 'at/nitg--separate'
nitg: implement Char#+ and Char#-

Signed-off-by: Jean Privat <jean@pryen.org>
nitg: fix visibility so global_compiler do not need to be intruded

TODO: A real separation of concern is still required.

Signed-off-by: Jean Privat <jean@pryen.org>
nitg: implement is_same_type as a compiler service

Thus, the separate compiler could implement it its own way.

Signed-off-by: Jean Privat <jean@pryen.org>
nitg: implement class_name as a compiler service

Thus, the separate compiler could implement it its own way.

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