commands top-level property
List of commands that available for calling
Implementation
final Map<String, Function> commands = {
// Core commands
'if': commandIf,
'count': commandCount,
'while': commandWhile,
'run': commandRun,
'input': commandInput,
// Base commands
'print': commandPrint,
'liin': commandLiin,
'show_context': commandShowContext,
// Files commands
'file': commandFile,
'file_create': commandFileCreate,
'file_copy': commandFileCopy,
'file_write': commandFileWriteString,
'file_writeb': commandFileWriteBytes,
'file_read': commandFileReadString,
'file_readb': commandFileReadBytes,
'file_append': commandFileAppend,
'file_exists': commandFileExists,
'file_remove': commandFileRemove,
// Strings commands
'str': commandConcat,
'str_slice': commandSlice,
'str_length': commandLength,
'str_color_rgb': commandColorRGB,
'str_color': commandColorCode,
'str_replace_first': commandReplaceFirst,
'str_replace_all': commandReplaceAll,
'str_contains': commandContains,
'str_low': commandToLowerCase,
'str_up': commandToUpperCase,
// Collections commands
'cl_remove': commandRemove,
'cl_is_empty': commandIsEmpty,
'cl_length': commandCollectionLength,
'cl_place': commandPlace,
'cl_join': commandJoin,
// Types commands
'type_is_string': commandIsString,
'type_is_num': commandIsNum,
'type_is_int': commandIsInt,
'type_is_bool': commandIsBool,
'type_is_cl': commandIsCollection,
'type_is_list': commandIsList,
'type_is_map': commandIsMap,
'type_is_file': commandIsFile,
'type_str': commandType,
};