+
Point of view
TYPED_INTERNALS
class PERL
Summary
Class invariant
Overview
Creation features
Exported features
Perl code execution
  • instruction (command: STRING)
    command is evaluated as an instruction (no result).
  • expression (command: STRING)
    command is evaluated and the result is reachable with last_* functions.
Reading values from Perl
  • is_equal (other: PERL): BOOLEAN
    Is other attached to an object considered equal to current object?
make
effective procedure
interpreter_started: BOOLEAN
writable attribute
destroy
effective procedure
instruction (command: STRING)
effective procedure
command is evaluated as an instruction (no result).
expression (command: STRING)
effective procedure
command is evaluated and the result is reachable with last_* functions.
existant_variable (variable_name: STRING): BOOLEAN
effective function
Check if some Perl variable with the name variable_name does exist.
defined_variable (variable_name: STRING): BOOLEAN
effective function
Returns True if the Perl variable with the name variable_name does not have the Perl undef value.
read_variable (variable_name: STRING)
effective procedure
Read the Perl variable with name variable_name.
last_result_is_integer: BOOLEAN
effective function
True if the result of the last interpreted expression or read variable is of integer type.
last_integer: INTEGER_32
effective function
Access to the result of the last interpreted expression or read variable when it is of integer type.
last_result: POINTER
writable attribute
start_perl_interpreter
eval_command (string: POINTER, boolean: BOOLEAN)
eval_expression (string: POINTER, boolean: BOOLEAN): POINTER
return type is SV*
sv_ok (sv_star: POINTER): INTEGER_32
get_sv (string: POINTER, boolean: BOOLEAN): POINTER
return type is SV*
sv_is_int (sv_star: POINTER): INTEGER_32
sv_to_int (sv_star: POINTER): INTEGER_32
perl_interpreter_destroy
is_equal (other: PERL): BOOLEAN
effective function
Is other attached to an object considered equal to current object?
is_real_singleton: BOOLEAN
effective function
singleton_memory_pool: HASHED_DICTIONARY[POINTER, STRING]
once function
This pool is unique in the whole system.
current_is_not_an_expanded_type: BOOLEAN
effective function
Check that the dynamic type of the SINGLETON is not an expanded type.