Changes for version 0.989025 - 2023-07-18

  • New Features
    • The following methods were added to the Native::Runtime. method get_basic_types_length : int ();
      • method get_basic_type : Native::BasicType ($id : int);
    • The following argument native API were added.
      • const char* (*get_name)(void* runtime, void* arg); int32_t (*get_index)(void* runtime, void* arg);
  • Incompatible Changes
    • Modules renamed. Env was renamed to Native::Env. Stack was renamed to Native::Stack. Runtime was renamed to Native::Runtime. Compiler was renamed to Native::Compiler.
    • The native API IDs in the class variable native APIs were changed.
      • 0 get_name 1 get_index 2 get_basic_type 3 get_type_dimension 4 get_type_flag 5 get_current_basic_type
    • The index native API were added to the class variable native APIs.
      • int32_t (*get_index)(void* runtime, void* class_var);
    • The native API IDs in the argument native APIs were changed.
      • 0 get_name 1 get_index 2 get_basic_type 3 get_type_dimension 4 get_type_flag
    • The following methods in the Native::Runtime were removed.
      • method get_basic_type_names : string[] ();
      • method get_basic_type_parent_name : string ($basic_type_name : string);
      • method get_basic_type_anon_basic_type_names : string[] ($basic_type_name : string);
      • method get_method_names : string[] ($basic_type_name : string, $options : object[] = undef)
      • method get_method_is_class_method : int ($basic_type_name : string, $method_name : string);
      • method get_precompile_method_address : Address ($basic_type_name : string, $method_name : string);
      • method get_native_method_address : Address ($basic_type_name : string, $method_name : string);
      • method set_native_method_address : string ($basic_type_name : string, $method_name : string, $address : Address);
      • method set_precompile_method_address : string ($basic_type_name : string, $method_name : string, $address : Address);
    • The following methods in the Native::Runtime were changed.
      • method build_precompile_module_source : string ($basic_type_name : string);
      • method build_precompile_module_source : string ($basic_type : Native::BasicType);

Documentation

Generating Excutable File
Generating SPVM Distribution

Modules

SPVM Language
Address
Array Utilities
SPVM object
Bool object
Build Dynamic Libraries for SPVM Distribution
Defining Public Functions of SPVM::Builder
Compilation and Link of Native Module
Compilation Information
SPVM Builder Compiler
Configurations of creating excutable files.
SPVM Builder Environment
Creating Executable File
Library Information
Link Information
Object File Information
SPVM Builder Runtime
SPVM Builder Stack
Builder Utilities
Defining Public Functions of SPVM::Builder::Util
The byte Object
Dynamic byte Array
Interface Type to Clone Object
Interface Type for the Callback to Clone a Object
Command Line Information
Interface Type for Object Comparation Callback
Interface Type for double Comparation Callback
Interface Type for float Comparation Callback
Interface Type for int Comparation Callback
Interface Type for long Comparation Callback
Interface Type for String Comparation Callback
Renamed
double Complex Type
float Complex Type
SPVM Exchange API
SPVM Language Specification
SPVM Language Specification
SPVM Standard Modules
Allocator Native APIs
Basic Type Native APIs
Class Variable Native APIs
SPVM Compiler Native APIs
Module File Native APIs
String Buffer Native APIs
Document of Native Module
How to write the resource class
The double Object
Dynamic double Array
Renamed
Interface Type for Object Equality Checking Callback
a callback implementation of EqualityChecker to check if the memory addresses of the two objects are equal.
Error
Not Supported Error
System Error
SPVM Exchange API
The float Object
Dynamic float Array
SPVM Starndard Functions
Format Utilities
SPVM Global Instance for Perl Interpreter
Hash Data Structure
Hash entry
Immutable byte Array
Immutable double Array
Immutable float Array
Immutable int Array
Immutable long Array
Immutable short Array
Immutable string array
The int Object
Dynamic int Array
Dynamic Object Array
The long Object
Dynamic long Array
Information of Arguments
Information of Basic Types
Information of Class Variables
Native::Compiler
Execution Native::Environment
Information of Fields
Information of Methods
Native::Runtime
Call Native::Stack
Point
Point 3D
Renamed
Executing Handler at End of Scope
Handler of Scope::Guard
The short Class
Dynamic short Array
Sorting Functions
Renamed
String Buffer
Dynamic string array
A Interface Type to Stringify a Object
Interface Type for Stringing Callback
Time Manipulation (Removed)
struct tm in C language (Removed)

Provides

in lib/SPVM/Dist.pm

Examples