example: add the simplest tasks of Rosetta code.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
lib/string: add `Text::escape_to_mk` to escape to Makefiles

Signed-off-by: Jean Privat <jean@pryen.org>
compiler: escape the binary name in generated Makefile

Signed-off-by: Jean Privat <jean@pryen.org>
compiler: escape function names in `c_functions_hash.c`

Signed-off-by: Jean Privat <jean@pryen.org>
compiler: global compiler escape the module name

Signed-off-by: Jean Privat <jean@pryen.org>
tests: make tests.sh more robust

Signed-off-by: Jean Privat <jean@pryen.org>
compiler: copy the binary if the outpath is crazy and cannot used in Makefile

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add `xmlesc` to escape XML in generated XML reports.

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add "--base_very bad name@1&$|;:.ext'\"<>{}`~!#^*()_=+[]\\,?.nit"

That is a module with a very bad name

Signed-off-by: Jean Privat <jean@pryen.org>
model: if Object has a SELF type, redef it in all classes

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: also robustize `search_tests.sh`

Signed-off-by: Jean Privat <jean@pryen.org>
lib/kernel: introduce SELF type in Object

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: test the virtual type SELF

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/android: remove all custom SELF types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/c&java: remove all custom SELF types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/trees: rename SELF virtual type to N

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

compiler is more robust.

The only issue seems to be the Makefile since there is no way to have an arbitrary named goal.

Pull-Request: #899
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
neo4j: Add a class for errors that are specific to Neo4j.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
json: Accept only standard escaping.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
json: Move `to_json_value` to `Text`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>