### THE FUNCTIONS ARE USED ON minetest-chunkymap AT THE BOTTOM OF THIS SCRIPT ###
#TODO: code checking such as:
#TODO: code checking such as:
# * check for redefining member variable (missing "self.") [since python does not throw NameError on definition, only if used and not defined]
# * check for redefining member variable (missing "self.") [since python does not throw NameError on definition, only if used and not defined]
# * check for signs in len params (such as where str(len(part1+part2)) should be str(len(part1))+part2
# * check for signs in len params (such as where str(len(part1+part2)) should be str(len(part1))+part2
@ -21,13 +23,15 @@ from expertmm import *
# * check for use of os.dirname (should be os.path.dirname)
# * check for use of os.dirname (should be os.path.dirname)
# * mixing width with y (or height or z) and mixing height with x (or width)
# * mixing width with y (or height or z) and mixing height with x (or width)
# PHP:
# PHP:
# * using '+' next to '"' in php seperated only by whitespace (probably meant concatenate operator '.')
# * using '+' next to doublequote or singlequote in php, adjacent or seperated only by whitespace (probably meant concatenate operator '.')
# * using empty function (problematic since empty($value) evaluates to true when $value is zero -- empty_really in expertmm can be used instead)
# SHELL SCRIPT:
# SHELL SCRIPT:
# * don't use '*' inside quotes (fails)
# * don't use '*' inside quotes (fails)
# * using HOME without preceding dollar sign
# * using HOME without preceding dollar sign
# ECMAScript:
# ECMAScript:
# * use of e.clientX e.clientY where line contains neither + or - (should use some kind of modifiers for scroll and canvas position such as in get_relative_mouse_point method)
# * use of e.clientX e.clientY where line contains neither + or - (should use some kind of modifiers for scroll and canvas position such as in get_relative_mouse_point method)