| (%) [Toolkit] |
Functions composition operator
|
| __ocaml_lex_tables [Mathlexer] | |
| __ocaml_lex_token_rec [Mathlexer] | |
| _disp_unit [Calc] |
must unit lines be displayed ?
|
| _disp_wel [Calc] |
Must the welcome message be displayed?
|
| _insert_result [Calc] |
Insert a small string before the result ?
|
| _parse_show_error [Matheval] | |
| _print_errors [Mathcommon] |
Print error messages on stderr
|
| _print_unit [Calc] |
Print unit lines ?
|
| _remind [Calc] |
When printing a result, remind us of the exression ?
|
| _remind_newline [Calc] |
Insert a newline between reminders and result ?
|
| _runmode [Calc] |
selected running mode for the program
|
| _show_error [Mathcommon] |
Must the error rule be printed?
|
| _show_lexbuf [Mathcommon] |
Must the lexed string be printed if parsing fails ?
|
| _str_unit [Matheval] |
String indicating a Unit evaluation, in other words, evaluation of an expression which merely changes the state by defining variables
|
A | |
| ac [Toolkit] |
Number of command-line arguments
|
| aggreg_args [Toolkit] |
Concatenate a list of arguments, putting spaces as separators
|
| al [Toolkit] |
List of command-line arguments
|
| arrlen [Toolkit] |
Get length of an array
|
| av [Toolkit] |
Array of command-line arguments
|
B | |
| bad_args [Toolkit] |
Incorrect command-line arguments routine: prints all arguments, insults user, and fails.
|
| bind_local_var [Mathparser] |
Bind a local variable to a value
|
| bof [Mathparser] |
Get a bool from a float
|
| break_string [Toolkit] |
DEBUG: display codes for each char in a string
|
C | |
| complain [Mathparser] |
React to error and fail
|
| complain_soft [Mathparser] |
React to an error during parsing
|
| cpipe [Toolkit] |
Setup a pipe with channels instead of file_descr.
|
D | |
| deg_to_rad [Mathparser] |
Convert a angle in degrees to radian
|
| disp_bind [Mathparser] |
Display a binding cleanly
|
| disp_help [Calc] |
Display the help page
|
| disp_welcome [Calc] |
Display the welcome message
|
| display_bindings [Mathparser] |
Display all bindings
|
E | |
| empty [Toolkit.Global] |
Returns an new named empty global.
|
| eof_str [Calc] |
String displayed on stderr when end of file condition is reached when reading from stdin
|
| epf [Toolkit] |
=
Printf.eprintf: formated printing to stderr
|
| eval [Calc] |
Mathematical evaluation function
|
| eval_file [Calc] |
Process the expressions in a file
|
| eval_list [Calc] |
Evaluate a list of expressions, printing results as we go
|
| eval_local_var [Mathparser] |
Get the value of a local variable
|
| eval_stdin [Calc] |
Evaluate what comes on stdin
|
| eval_stdin_replace [Calc] |
Evaluate what comes on stdin
|
| evalf [Mathparser] | |
F | |
| factorial [Mathparser] |
The factorial function.
|
| factorial_f [Mathparser] |
Factorial for floating-point numbers
|
| fail_nan [Matheval] |
Compute a mathematical expression, yielding NaN if there is any error
|
| first_chars [Toolkit] | first_chars s n returns the first n characters of s, and s itself if n is too big
|
| fob [Mathparser] |
Get a floating-point 0 or 1 from a boolean
|
| foi [Toolkit] |
=
float_of_int
|
| fos [Toolkit] |
=
float_of_string
|
| fpf [Toolkit] |
=
Printf.fprintf: formated printing to output channel
|
| fxor [Mathparser] |
floating point xor logical operator
|
G | |
| get [Toolkit.Global] |
Get the global value contents - raise Global_not_initialized if not
defined.
|
| getd [Toolkit.Global] |
Get the global value contents - return default value if not defined
|
| getport [Toolkit] |
Get a valid port number (that is, between 0 and 65535) from a string, or fail
|
H | |
| hd [Toolkit] |
Get the head of a list
|
| hue [Toolkit] |
=
Unix.handle_unix_error
|
I | |
| iof [Toolkit] |
=
int_of_float
|
| ios [Toolkit] |
=
int_of_string
|
| iosd [Toolkit] | ios with debug instructions
|
| iosz [Toolkit] | ios with zero in case of failure
|
| is_blank_char [Toolkit] |
Is this a blank ?
|
| isdef [Toolkit.Global] |
Return
true if the global value has been set.
|
L | |
| last_chars [Toolkit] | last_chars s n returns the last n characters of s, and s itself if n is too big
|
| lexbuf [Mathcommon] |
The buffer
|
| lines_of_file [Toolkit] |
Input a file into a list, tail-recursively, transforming each line through f (not entirely by me)
|
| listlen [Toolkit] |
Get length of a list
|
| local_vars [Mathparser] |
Table for local variables
|
| logb [Mathparser] |
Log in arbitrary base.
|
M | |
| map_tr [Toolkit] |
Tail recursive version of map
|
N | |
| name [Toolkit.Global] |
Retrieve the name of a global.
|
| nfb [Mathparser] |
Normalise a floating point boolean, ie get a 0 or a 1
|
| no_newline [Toolkit] |
Get rid of trailing \n
|
O | |
| open_out_append [Toolkit] |
Open for writing at end of file
|
| opt [Toolkit.Global] |
Return
None if the global is undefined, else Some v where v is the
current global value contents.
|
| opt_get [Toolkit] |
Get the contents of an option, fail if None
|
| opt_getd [Toolkit] |
Get the contents of an option, use a default value if None
|
P | |
| pcml [Calc] |
Parse the command-line
|
| pdfork [Toolkit] |
Piped double fork, leaving no zombie process behind.
|
| pe [Toolkit] |
Print line to stderr
|
| peek_line [Toolkit] |
Do an
input_line for non-blocking channels.
|
| pf [Toolkit] |
=
Printf.printf: formated printing to stdout
|
| pi [Mathparser] |
The trigonometric constant
|
| pidd [Toolkit] |
DEBUG: quickly display what processus I'm in
|
| pl [Toolkit] |
Print line to stdout
|
| pluralise [Toolkit] |
Add an 's' at the end of the string if
n > 2
|
| print_eval [Calc] |
Print the result of an evaluation, with respect to chosen options
|
| ps [Toolkit] |
Print string to stdout
|
R | |
| raw [Matheval] |
Compute a mathematical expression, without any attempt to catch exceptions raised
by the parser
|
| raw_str [Matheval] |
Same as
eval_raw, but converted to string
|
| repeat_pattern [Toolkit] |
Build a string by repeating the same pattern n times.
|
| round [Mathparser] |
Get the integer closest to x, or 'nearest integer'
|
| run [Calc] |
Run the program according to the selected mode and options
|
| run_on_file [Toolkit] |
Run f for each line in the file
|
S | |
| seek_and_replace [Calc] |
Look for an enclosed expression in a string, then evaluate this expression and returns the same string, but with the expression replaced by its evaluated value
|
| separator_double_line [Toolkit] |
standard separator for terminal output: double
|
| separator_line [Toolkit] |
standard separator for terminal output: single
|
| separator_solid_line [Toolkit] |
standard separator for terminal output: underscore
|
| set [Toolkit.Global] |
Set the global value contents.
|
| show_error [Mathcommon] |
Print an error rule showing where the syntax error is
|
| snippet [Toolkit] |
Get an extract of a string, up to
n+3 chars, the extra three being the "..." if the string
is trunctated
|
| sof [Toolkit] |
=
string_of_float
|
| soff [Toolkit] |
Get a string representation of a float, but without the dot if it's an integer
|
| soi [Toolkit] |
=
string_of_int
|
| spf [Toolkit] |
=
Printf.sprintf: formated printing to string
|
| stdinc [Toolkit] | stdin as input channel
|
| stdinf [Toolkit] | stdin as a file descriptor
|
| stdoutc [Toolkit] | stdout as output channel
|
| stdoutf [Toolkit] | stdout as a file descriptor
|
| str [Matheval] |
Compute a mathematical expression, returning a string, never failing.
|
| str_error [Matheval] |
String indication an error
|
| string_after [Toolkit] | string_after s n returns the substring of all characters of s
that follow position n (including the character at
position n).
|
| string_before [Toolkit] | string_before s n returns the substring of all characters of s
that precede position n (excluding the character at
position n).
|
| string_of_sockaddr [Toolkit] |
Display a human-legible internet address in IP:port format
|
| strlen [Toolkit] |
Get length of a string
|
| subb [Toolkit] |
Similar in purpose to
String.sub, extracts between two positions, inclusively
|
T | |
| tl [Toolkit] |
Get the tail of list
|
| toggle [Toolkit] |
Toggle an option on and off
|
| token [Mathlexer] | |
| trim [Toolkit] |
Trim white spaces
|
U | |
| undef [Toolkit.Global] |
Reset the global value contents to undefined.
|
V | |
| va [Toolkit] |
=
spf: formated printing to stdout
|
Y | |
| yyact [Mathparser] | |
| yycheck [Mathparser] | |
| yydefred [Mathparser] | |
| yydgoto [Mathparser] | |
| yygindex [Mathparser] | |
| yylen [Mathparser] | |
| yylhs [Mathparser] | |
| yynames_block [Mathparser] | |
| yynames_const [Mathparser] | |
| yyrindex [Mathparser] | |
| yysindex [Mathparser] | |
| yytable [Mathparser] | |
| yytables [Mathparser] | |
| yytablesize [Mathparser] | |
| yytransl_block [Mathparser] | |
| yytransl_const [Mathparser] |