![]() |
Phasor 3.3.0
Stack VM based Programming Language
|
Phasor Standard library. More...
#include <StdLib.hpp>
Static Public Member Functions | |
| static void | registerFunctions (VM &vm) |
| static void | checkArgCount (const std::vector< Value > &args, size_t minimumArguments, const std::string &name, bool allowMoreArguments=false) |
| static void | registerFunctions (VM &vm) |
| static void | checkArgCount (const std::vector< Value > &args, size_t minimumArguments, const std::string &name, bool allowMoreArguments=false) |
Static Public Attributes | |
| static char ** | argv = nullptr |
| Command line arguments. | |
| static int | argc = 0 |
| Number of command line arguments. | |
Private Types | |
| enum class | dupenv_ret { Success = 0 , InvalidInput = 1 , NotFound = 2 , Success = 0 , InvalidInput = 1 , NotFound = 2 } |
| enum class | dupenv_ret { Success = 0 , InvalidInput = 1 , NotFound = 2 , Success = 0 , InvalidInput = 1 , NotFound = 2 } |
Static Private Member Functions | |
| static bool | std_import (const std::vector< Value > &args, VM *vm) |
| static Value | std_assert (const std::vector< Value > &args, VM *vm) |
| static dupenv_ret | dupenv (std::string &out, const char *name) |
| static void | registerMetaFunctions (VM *vm) |
| static void | registerMemoryFunctions (VM *vm) |
| static void | registerMathFunctions (VM *vm) |
| static void | registerRandomFunctions (VM *vm) |
| static void | registerStringFunctions (VM *vm) |
| static void | registerTypeConvFunctions (VM *vm) |
| static void | registerFileFunctions (VM *vm) |
| static void | registerSysFunctions (VM *vm) |
| static void | registerIOFunctions (VM *vm) |
| static int64_t | meta_operation (const std::vector< Value > &args, VM *vm) |
| static Value | meta_stack_run (const std::vector< Value > &args, VM *vm) |
| static std::string | meta_get_version (const std::vector< Value > &args, VM *vm) |
| static Value | var_free (const std::vector< Value > &args, VM *vm) |
| Free a variable. | |
| static double | math_sqrt (const std::vector< Value > &args, VM *vm) |
| Square root. | |
| static double | math_pow (const std::vector< Value > &args, VM *vm) |
| Power. | |
| static Value | math_abs (const std::vector< Value > &args, VM *vm) |
| Absolute value. | |
| static double | math_floor (const std::vector< Value > &args, VM *vm) |
| Floor. | |
| static double | math_ceil (const std::vector< Value > &args, VM *vm) |
| Ceiling. | |
| static double | math_round (const std::vector< Value > &args, VM *vm) |
| Round. | |
| static Value | math_min (const std::vector< Value > &args, VM *vm) |
| Minimum. | |
| static Value | math_max (const std::vector< Value > &args, VM *vm) |
| Maximum. | |
| static double | math_log (const std::vector< Value > &args, VM *vm) |
| Natural logarithm. | |
| static double | math_exp (const std::vector< Value > &args, VM *vm) |
| Exponential. | |
| static double | math_sin (const std::vector< Value > &args, VM *vm) |
| Sine. | |
| static double | math_cos (const std::vector< Value > &args, VM *vm) |
| Cosine. | |
| static double | math_tan (const std::vector< Value > &args, VM *vm) |
| Tangent. | |
| static std::string | file_absolute (const std::vector< Value > &args, VM *vm) |
| Get full path to relative path. | |
| static Value | file_read (const std::vector< Value > &args, VM *vm) |
| Read file. | |
| static bool | file_write (const std::vector< Value > &args, VM *vm) |
| Write to file. | |
| static bool | file_exists (const std::vector< Value > &args, VM *vm) |
| Check if file exists. | |
| static std::string | file_read_line (const std::vector< Value > &args, VM *vm) |
| Read a line from file. | |
| static bool | file_write_line (const std::vector< Value > &args, VM *vm) |
| Write a line to file. | |
| static bool | file_append (const std::vector< Value > &args, VM *vm) |
| Append to file. | |
| static bool | file_delete (const std::vector< Value > &args, VM *vm) |
| Delete file. | |
| static bool | file_rename (const std::vector< Value > &args, VM *vm) |
| Rename file. | |
| static Value | file_current_directory (const std::vector< Value > &args, VM *vm) |
| Get/set working directory. | |
| static bool | file_copy (const std::vector< Value > &args, VM *vm) |
| Copy file. | |
| static bool | file_move (const std::vector< Value > &args, VM *vm) |
| Move file. | |
| static bool | file_property_edit (const std::vector< Value > &args, VM *vm) |
| static int64_t | file_property_get (const std::vector< Value > &args, VM *vm) |
| static bool | file_create (const std::vector< Value > &args, VM *vm) |
| static Value | file_read_directory (const std::vector< Value > &args, VM *vm) |
| static bool | file_create_directory (const std::vector< Value > &args, VM *vm) |
| static bool | file_remove_directory (const std::vector< Value > &args, VM *vm) |
| static std::string | file_join_path (const std::vector< Value > &args, VM *vm) |
| static std::string | file_stem (const std::vector< Value > &args, VM *vm) |
| Get the stem of a path. | |
| static std::string | file_filename (const std::vector< Value > &args, VM *vm) |
| Get the filename. | |
| static std::string | file_extension (const std::vector< Value > &args, VM *vm) |
| Get the extension of a path. | |
| static bool | file_is_directory (const std::vector< Value > &args, VM *vm) |
| Check if path is directory. | |
| static std::string | file_parent (const std::vector< Value > &args, VM *vm) |
| Get the parent of a path. | |
| static int64_t | file_get_size (const std::vector< Value > &args, VM *vm) |
| static int64_t | sys_get_free_memory (const std::vector< Value > &args, VM *vm) |
| Get current free memory. | |
| static Value | sys_wait_for_input (const std::vector< Value > &args, VM *vm) |
| Wait for input. | |
| static Value | sys_shell (const std::vector< Value > &args, VM *vm) |
| Run a shell command. | |
| static int64_t | sys_fork (const std::vector< Value > &args, VM *vm) |
| Run a native program. | |
| static int64_t | sys_fork_detached (const std::vector< Value > &args, VM *vm) |
| Run a native program detached. | |
| static Value | sys_crash (const std::vector< Value > &args, VM *vm) |
| Crash the VM / Program. | |
| static Value | sys_reset (const std::vector< Value > &args, VM *vm) |
| Reset the VM. | |
| static int64_t | sys_pid (const std::vector< Value > &args, VM *vm) |
| Get the current process ID. | |
| static std::string | sys_os (const std::vector< Value > &args, VM *vm) |
| Get the current OS. | |
| static Value | sys_isatty (const std::vector< Value > &args, VM *vm) |
| Check if the current output is a terminal. | |
| static Value | sys_env (const std::vector< Value > &args, VM *vm) |
| Get the current environment variables. | |
| static Value | sys_argv (const std::vector< Value > &args, VM *vm) |
| Get the current command line arguments. | |
| static int64_t | sys_argc (const std::vector< Value > &args, VM *vm) |
| Get the current number of command line arguments. | |
| static double | sys_time (const std::vector< Value > &args, VM *vm) |
| Current time. | |
| static Value | sys_time_formatted (const std::vector< Value > &args, VM *vm) |
| Current time formatted. | |
| static Value | sys_sleep (const std::vector< Value > &args, VM *vm) |
| Sleep for a specified amount of time. | |
| static Value | sys_shutdown (const std::vector< Value > &args, VM *vm) |
| Shutdown the VM. | |
| static int64_t | to_int (const std::vector< Value > &args, VM *vm) |
| Convert to integer. | |
| static double | to_float (const std::vector< Value > &args, VM *vm) |
| Convert to float. | |
| static std::string | to_string (const std::vector< Value > &args, VM *vm) |
| Convert to string. | |
| static bool | to_bool (const std::vector< Value > &args, VM *vm) |
| Convert to boolean. | |
| static Value | rand_seed (const std::vector< Value > &args, VM *vm) |
| Seed the random number generator. | |
| static int64_t | rand_next_range (const std::vector< Value > &args, VM *vm) |
| Get a random number in range. | |
| static double | rand_next_float (const std::vector< Value > &args, VM *vm) |
| Get a random float (technically a double at a low level). | |
| static int64_t | str_find (const std::vector< Value > &args, VM *vm) |
| Find string in string. | |
| static int64_t | str_len (const std::vector< Value > &args, VM *vm) |
| Get string length. | |
| static Value | str_char_at (const std::vector< Value > &args, VM *vm) |
| Get character at index. | |
| static Value | str_substr (const std::vector< Value > &args, VM *vm) |
| Get substring. | |
| static std::string | str_concat (const std::vector< Value > &args, VM *vm) |
| Concatenate strings. | |
| static std::string | str_upper (const std::vector< Value > &args, VM *vm) |
| Convert to uppercase. | |
| static std::string | str_lower (const std::vector< Value > &args, VM *vm) |
| Convert to lowercase. | |
| static Value | str_starts_with (const std::vector< Value > &args, VM *vm) |
| Check if string starts with. | |
| static Value | str_ends_with (const std::vector< Value > &args, VM *vm) |
| Check if string ends with. | |
| static int64_t | sb_new (const std::vector< Value > &args, VM *vm) |
| Create new string builder. | |
| static Value | sb_append (const std::vector< Value > &args, VM *vm) |
| Append to string builder. | |
| static std::string | sb_to_string (const std::vector< Value > &args, VM *vm) |
| Convert string builder to string. | |
| static Value | sb_clear (const std::vector< Value > &args, VM *vm) |
| Clear string builder. | |
| static std::string | sb_free (const std::vector< Value > &args, VM *vm) |
| Free string builder. | |
| static std::string | io_c_format (const std::vector< Value > &args, VM *vm) |
| Format string. | |
| static Value | io_clear (const std::vector< Value > &args, VM *vm) |
| Clear the console. | |
| static std::string | io_prints (const std::vector< Value > &args, VM *vm) |
| Print string without newline. | |
| static std::string | io_printf (const std::vector< Value > &args, VM *vm) |
| Print formatted string. | |
| static std::string | io_puts (const std::vector< Value > &args, VM *vm) |
| Print string with newline. | |
| static std::string | io_putf (const std::vector< Value > &args, VM *vm) |
| Print formatted string with newline. | |
| static Value | io_gets (const std::vector< Value > &args, VM *vm) |
| Get string. | |
| static std::string | io_putf_error (const std::vector< Value > &args, VM *vm) |
| Print formatted string with newline to error output. | |
| static std::string | io_puts_error (const std::vector< Value > &args, VM *vm) |
| Print string with newline to error output. | |
| static bool | std_import (const std::vector< Value > &args, VM *vm) |
| static Value | std_assert (const std::vector< Value > &args, VM *vm) |
| static dupenv_ret | dupenv (std::string &out, const char *name) |
| static void | registerMetaFunctions (VM *vm) |
| static void | registerMemoryFunctions (VM *vm) |
| static void | registerMathFunctions (VM *vm) |
| static void | registerRandomFunctions (VM *vm) |
| static void | registerStringFunctions (VM *vm) |
| static void | registerTypeConvFunctions (VM *vm) |
| static void | registerFileFunctions (VM *vm) |
| static void | registerSysFunctions (VM *vm) |
| static void | registerIOFunctions (VM *vm) |
| static int64_t | meta_operation (const std::vector< Value > &args, VM *vm) |
| static Value | meta_stack_run (const std::vector< Value > &args, VM *vm) |
| static std::string | meta_get_version (const std::vector< Value > &args, VM *vm) |
| static Value | var_free (const std::vector< Value > &args, VM *vm) |
| Free a variable. | |
| static double | math_sqrt (const std::vector< Value > &args, VM *vm) |
| Square root. | |
| static double | math_pow (const std::vector< Value > &args, VM *vm) |
| Power. | |
| static Value | math_abs (const std::vector< Value > &args, VM *vm) |
| Absolute value. | |
| static double | math_floor (const std::vector< Value > &args, VM *vm) |
| Floor. | |
| static double | math_ceil (const std::vector< Value > &args, VM *vm) |
| Ceiling. | |
| static double | math_round (const std::vector< Value > &args, VM *vm) |
| Round. | |
| static Value | math_min (const std::vector< Value > &args, VM *vm) |
| Minimum. | |
| static Value | math_max (const std::vector< Value > &args, VM *vm) |
| Maximum. | |
| static double | math_log (const std::vector< Value > &args, VM *vm) |
| Natural logarithm. | |
| static double | math_exp (const std::vector< Value > &args, VM *vm) |
| Exponential. | |
| static double | math_sin (const std::vector< Value > &args, VM *vm) |
| Sine. | |
| static double | math_cos (const std::vector< Value > &args, VM *vm) |
| Cosine. | |
| static double | math_tan (const std::vector< Value > &args, VM *vm) |
| Tangent. | |
| static std::string | file_absolute (const std::vector< Value > &args, VM *vm) |
| Get full path to relative path. | |
| static Value | file_read (const std::vector< Value > &args, VM *vm) |
| Read file. | |
| static bool | file_write (const std::vector< Value > &args, VM *vm) |
| Write to file. | |
| static bool | file_exists (const std::vector< Value > &args, VM *vm) |
| Check if file exists. | |
| static std::string | file_read_line (const std::vector< Value > &args, VM *vm) |
| Read a line from file. | |
| static bool | file_write_line (const std::vector< Value > &args, VM *vm) |
| Write a line to file. | |
| static bool | file_append (const std::vector< Value > &args, VM *vm) |
| Append to file. | |
| static bool | file_delete (const std::vector< Value > &args, VM *vm) |
| Delete file. | |
| static bool | file_rename (const std::vector< Value > &args, VM *vm) |
| Rename file. | |
| static Value | file_current_directory (const std::vector< Value > &args, VM *vm) |
| Get/set working directory. | |
| static bool | file_copy (const std::vector< Value > &args, VM *vm) |
| Copy file. | |
| static bool | file_move (const std::vector< Value > &args, VM *vm) |
| Move file. | |
| static bool | file_property_edit (const std::vector< Value > &args, VM *vm) |
| static int64_t | file_property_get (const std::vector< Value > &args, VM *vm) |
| static bool | file_create (const std::vector< Value > &args, VM *vm) |
| static Value | file_read_directory (const std::vector< Value > &args, VM *vm) |
| static bool | file_create_directory (const std::vector< Value > &args, VM *vm) |
| static bool | file_remove_directory (const std::vector< Value > &args, VM *vm) |
| static std::string | file_join_path (const std::vector< Value > &args, VM *vm) |
| static std::string | file_stem (const std::vector< Value > &args, VM *vm) |
| Get the stem of a path. | |
| static std::string | file_filename (const std::vector< Value > &args, VM *vm) |
| Get the filename. | |
| static std::string | file_extension (const std::vector< Value > &args, VM *vm) |
| Get the extension of a path. | |
| static bool | file_is_directory (const std::vector< Value > &args, VM *vm) |
| Check if path is directory. | |
| static std::string | file_parent (const std::vector< Value > &args, VM *vm) |
| Get the parent of a path. | |
| static int64_t | file_get_size (const std::vector< Value > &args, VM *vm) |
| static int64_t | sys_get_free_memory (const std::vector< Value > &args, VM *vm) |
| Get current free memory. | |
| static Value | sys_wait_for_input (const std::vector< Value > &args, VM *vm) |
| Wait for input. | |
| static Value | sys_shell (const std::vector< Value > &args, VM *vm) |
| Run a shell command. | |
| static int64_t | sys_fork (const std::vector< Value > &args, VM *vm) |
| Run a native program. | |
| static int64_t | sys_fork_detached (const std::vector< Value > &args, VM *vm) |
| Run a native program detached. | |
| static Value | sys_crash (const std::vector< Value > &args, VM *vm) |
| Crash the VM / Program. | |
| static Value | sys_reset (const std::vector< Value > &args, VM *vm) |
| Reset the VM. | |
| static int64_t | sys_pid (const std::vector< Value > &args, VM *vm) |
| Get the current process ID. | |
| static std::string | sys_os (const std::vector< Value > &args, VM *vm) |
| Get the current OS. | |
| static Value | sys_isatty (const std::vector< Value > &args, VM *vm) |
| Check if the current output is a terminal. | |
| static Value | sys_env (const std::vector< Value > &args, VM *vm) |
| Get the current environment variables. | |
| static Value | sys_argv (const std::vector< Value > &args, VM *vm) |
| Get the current command line arguments. | |
| static int64_t | sys_argc (const std::vector< Value > &args, VM *vm) |
| Get the current number of command line arguments. | |
| static double | sys_time (const std::vector< Value > &args, VM *vm) |
| Current time. | |
| static Value | sys_time_formatted (const std::vector< Value > &args, VM *vm) |
| Current time formatted. | |
| static Value | sys_sleep (const std::vector< Value > &args, VM *vm) |
| Sleep for a specified amount of time. | |
| static Value | sys_shutdown (const std::vector< Value > &args, VM *vm) |
| Shutdown the VM. | |
| static int64_t | to_int (const std::vector< Value > &args, VM *vm) |
| Convert to integer. | |
| static double | to_float (const std::vector< Value > &args, VM *vm) |
| Convert to float. | |
| static std::string | to_string (const std::vector< Value > &args, VM *vm) |
| Convert to string. | |
| static bool | to_bool (const std::vector< Value > &args, VM *vm) |
| Convert to boolean. | |
| static Value | rand_seed (const std::vector< Value > &args, VM *vm) |
| Seed the random number generator. | |
| static int64_t | rand_next_range (const std::vector< Value > &args, VM *vm) |
| Get a random number in range. | |
| static double | rand_next_float (const std::vector< Value > &args, VM *vm) |
| Get a random float (technically a double at a low level). | |
| static int64_t | str_find (const std::vector< Value > &args, VM *vm) |
| Find string in string. | |
| static int64_t | str_len (const std::vector< Value > &args, VM *vm) |
| Get string length. | |
| static Value | str_char_at (const std::vector< Value > &args, VM *vm) |
| Get character at index. | |
| static Value | str_substr (const std::vector< Value > &args, VM *vm) |
| Get substring. | |
| static std::string | str_concat (const std::vector< Value > &args, VM *vm) |
| Concatenate strings. | |
| static std::string | str_upper (const std::vector< Value > &args, VM *vm) |
| Convert to uppercase. | |
| static std::string | str_lower (const std::vector< Value > &args, VM *vm) |
| Convert to lowercase. | |
| static Value | str_starts_with (const std::vector< Value > &args, VM *vm) |
| Check if string starts with. | |
| static Value | str_ends_with (const std::vector< Value > &args, VM *vm) |
| Check if string ends with. | |
| static int64_t | sb_new (const std::vector< Value > &args, VM *vm) |
| Create new string builder. | |
| static Value | sb_append (const std::vector< Value > &args, VM *vm) |
| Append to string builder. | |
| static std::string | sb_to_string (const std::vector< Value > &args, VM *vm) |
| Convert string builder to string. | |
| static Value | sb_clear (const std::vector< Value > &args, VM *vm) |
| Clear string builder. | |
| static std::string | sb_free (const std::vector< Value > &args, VM *vm) |
| Free string builder. | |
| static std::string | io_c_format (const std::vector< Value > &args, VM *vm) |
| Format string. | |
| static Value | io_clear (const std::vector< Value > &args, VM *vm) |
| Clear the console. | |
| static std::string | io_prints (const std::vector< Value > &args, VM *vm) |
| Print string without newline. | |
| static std::string | io_printf (const std::vector< Value > &args, VM *vm) |
| Print formatted string. | |
| static std::string | io_puts (const std::vector< Value > &args, VM *vm) |
| Print string with newline. | |
| static std::string | io_putf (const std::vector< Value > &args, VM *vm) |
| Print formatted string with newline. | |
| static Value | io_gets (const std::vector< Value > &args, VM *vm) |
| Get string. | |
| static std::string | io_putf_error (const std::vector< Value > &args, VM *vm) |
| Print formatted string with newline to error output. | |
| static std::string | io_puts_error (const std::vector< Value > &args, VM *vm) |
| Print string with newline to error output. | |
Phasor Standard library.
Contains all the base standard library functions used for any language targetting the Phasor Runtime
Definition at line 32 of file StdLib.hpp.
|
strongprivate |
| Enumerator | |
|---|---|
| Success | |
| InvalidInput | |
| NotFound | |
| Success | |
| InvalidInput | |
| NotFound | |
Definition at line 79 of file PhasorStdLib.hpp.
|
strongprivate |
| Enumerator | |
|---|---|
| Success | |
| InvalidInput | |
| NotFound | |
| Success | |
| InvalidInput | |
| NotFound | |
Definition at line 59 of file StdLib.hpp.
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Get full path to relative path.
Append to file.
Copy file.
|
staticprivate |
|
staticprivate |
Get/set working directory.
Delete file.
Check if file exists.
|
staticprivate |
Get the extension of a path.
|
staticprivate |
Get the filename.
Check if path is directory.
|
staticprivate |
Move file.
|
staticprivate |
Get the parent of a path.
|
staticprivate |
|
staticprivate |
Read file.
|
staticprivate |
|
staticprivate |
Read a line from file.
|
staticprivate |
Rename file.
Get the stem of a path.
Write to file.
Write a line to file.
|
staticprivate |
Format string.
Clear the console.
Get string.
Print formatted string.
Print string without newline.
Print formatted string with newline.
|
staticprivate |
Print formatted string with newline to error output.
Print string with newline.
|
staticprivate |
Print string with newline to error output.
Absolute value.
Ceiling.
Cosine.
Exponential.
Floor.
Natural logarithm.
Maximum.
Minimum.
Round.
Square root.
Tangent.
|
staticprivate |
Get a random float (technically a double at a low level).
Get a random float (technically a double at a low level).
Definition at line 43 of file random.cpp.
|
staticprivate |
Get a random number in range.
|
staticprivate |
Get a random number in range.
Definition at line 29 of file random.cpp.
Seed the random number generator.
Seed the random number generator.
Definition at line 14 of file random.cpp.
|
staticprivate |
|
staticprivate |
|
inlinestatic |
|
inlinestatic |
Definition at line 35 of file StdLib.hpp.
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 6 of file memory.cpp.
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 7 of file random.cpp.
|
staticprivate |
|
staticprivate |
Definition at line 7 of file string.cpp.
|
staticprivate |
|
staticprivate |
Definition at line 27 of file system.cpp.
|
staticprivate |
|
staticprivate |
Definition at line 6 of file typeconv.cpp.
Append to string builder.
Append to string builder.
Definition at line 82 of file string.cpp.
Clear string builder.
Clear string builder.
Definition at line 112 of file string.cpp.
Free string builder.
Free string builder.
Definition at line 103 of file string.cpp.
Create new string builder.
Create new string builder.
Definition at line 64 of file string.cpp.
|
staticprivate |
Convert string builder to string.
|
staticprivate |
Convert string builder to string.
Definition at line 93 of file string.cpp.
Definition at line 107 of file StdLib.cpp.
Definition at line 59 of file StdLib.cpp.
Get character at index.
Get character at index.
Definition at line 122 of file string.cpp.
Concatenate strings.
Concatenate strings.
Definition at line 155 of file string.cpp.
Check if string ends with.
Check if string ends with.
Definition at line 201 of file string.cpp.
Find string in string.
Find string in string.
Definition at line 30 of file string.cpp.
Get string length.
Get string length.
Definition at line 166 of file string.cpp.
Convert to lowercase.
Convert to lowercase.
Definition at line 181 of file string.cpp.
Check if string starts with.
Check if string starts with.
Definition at line 189 of file string.cpp.
Get substring.
Get substring.
Definition at line 136 of file string.cpp.
Convert to uppercase.
Convert to uppercase.
Definition at line 173 of file string.cpp.
Get the current number of command line arguments.
Get the current number of command line arguments.
Definition at line 136 of file system.cpp.
Get the current command line arguments.
Get the current command line arguments.
Definition at line 123 of file system.cpp.
Definition at line 215 of file system.cpp.
Get the current environment variables.
Get the current environment variables.
Definition at line 112 of file system.cpp.
Run a native program.
Run a native program.
Definition at line 189 of file system.cpp.
|
staticprivate |
Run a native program detached.
|
staticprivate |
Run a native program detached.
Definition at line 202 of file system.cpp.
|
staticprivate |
Get current free memory.
|
staticprivate |
Get current free memory.
Definition at line 170 of file system.cpp.
Check if the current output is a terminal.
Check if the current output is a terminal.
Definition at line 240 of file system.cpp.
Get the current OS.
Get the current OS.
Definition at line 152 of file system.cpp.
Get the current process ID.
Get the current process ID.
Definition at line 230 of file system.cpp.
Reset the VM.
Reset the VM.
Definition at line 223 of file system.cpp.
Run a shell command.
Run a shell command.
Definition at line 183 of file system.cpp.
Shutdown the VM.
Shutdown the VM.
Definition at line 142 of file system.cpp.
Sleep for a specified amount of time.
Sleep for a specified amount of time.
Definition at line 104 of file system.cpp.
Current time.
Current time.
Definition at line 71 of file system.cpp.
|
staticprivate |
Current time formatted.
|
staticprivate |
Current time formatted.
Definition at line 80 of file system.cpp.
|
staticprivate |
Wait for input.
|
staticprivate |
Wait for input.
Definition at line 176 of file system.cpp.
Convert to boolean.
Convert to boolean.
Definition at line 49 of file typeconv.cpp.
Convert to float.
Convert to float.
Definition at line 37 of file typeconv.cpp.
Convert to integer.
Convert to integer.
Definition at line 14 of file typeconv.cpp.
Convert to string.
Convert to string.
Definition at line 43 of file typeconv.cpp.
Free a variable.
Free a variable.
Definition at line 11 of file memory.cpp.
|
static |
Number of command line arguments.
Definition at line 48 of file StdLib.hpp.
|
static |
Command line arguments.
Definition at line 47 of file StdLib.hpp.