Changes for version 0.9698 - 2023-03-31

  • New Features
    • Added the new_muldim_array method in the SPVM::ExchangeAPI class.
    • Added the SPVM::ExchangeAPI::Error class.
    • Added the new_error method in the SPVM::ExchangeAPI class.
    • The call_method method in the SPVM::ExchangeAPI class can get the error code thrown by a SPVM method.
      • my $ret = $api->call_method($invocant, $method_name, @args, $error);
    • Added the new_object_array_len method in the SPVM::ExchangeAPI.
    • Added the new_string_array_len method in the SPVM::ExchangeAPI.
    • Added the new_any_object_array_len method in the SPVM::ExchangeAPI.
    • Added the new_any_mulnum_array_len method in the SPVM::ExchangeAPI.
    • Added the new_any_muldim_array_len method in the SPVM::ExchangeAPI.
    • Added the __get_type_name method in the SPVM::ExchangeAPI.
    • Added the is_object_type Runtime Native API.
  • Document Fix
    • Fixed and improved the doc of the call_method in the SPVM::ExchangeAPI class.
    • Added the doc of the new_byte_array_unsigned method in the ExchangeAPI class.
    • Added the doc of the new_short_array_unsigned method in the ExchangeAPI class.
    • Added the doc of the new_int_array_unsigned method in the ExchangeAPI class.
    • Added the doc of the new_long_array_unsigned method in the ExchangeAPI class.
  • Incompatible Changes
    • Don't support multi-dimensional array creation in the new_object_array method in the SPVM::ExchangeAPI class. Use the new_muldim_array method instead.
  • Bug Fix
    • Fixed the bug that the new_object_array and new_object_array_raw Native API can recieve non object array type.
    • Fixed the bug that the new_mulnum_array in the Exchange API can recieve non multi-numeric array type.
    • Fixed the bug that the new_mulnum_array_len in the Exchange API can recieve non multi-numeric array type.
    • Fixed the bug that the new_mulnum_array_from_bin in the Exchange API can recieve non multi-numeric array type.
    • Fixed the bug that return value conversion of any object type retrun a SPVM::BlessedObject::Class object, not SPVM::BlessedObject::String when the object is a string.

Documentation

SPVM compiler to create exe file
Generating SPVM Distribution

Modules

SPVM Language
Address
Array Utilities
SPVM object
Bool object
Build SPVM program
SPVM Builder Public APIs
Compiler and Linker of Native Sources
Link Information
Configurations of Compile and Link of Native Sources
Configurations of creating excutable files.
Create a Executable File
Library Information
Link Information
Object file information
Resourceurations of Compile and Link of Native Sources
Build Utilities
Public APIs of the utility of SPVM Builder
Byte Class
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
Compiler
double Complex Type
float Complex Type
SPVM Performance Benchmark
SPVM Exchange API
SPVM Language Specification
SPVM Language Specification
SPVM Standard Modules
SPVM Native APIs
SPVM Allocator Native APIs
SPVM Compiler Native APIs
SPVM Precompile Native APIs
SPVM Runtime Native APIs
SPVM String Buffer Native APIs
How to write the native module
How to write the resource module
SPVM Performance Tutorial
Double Class
Dynamic double Array
Execution Environment
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
Float Class
Dynamic float Array
SPVM Starndard Functions
Format Utilities
Hash Data Structure
Hash entry
Int Class
Dynamic int Array
Dynamic Object Array
Long Class
Dynamic long Array
Point
Point 3D
Runtime
Executing Handler at End of Scope
Handler of Scope::Guard
Short Class
Dynamic short Array
Sorting Functions
Call Stack
String Buffer
Dynamic string array
A Interface Type to Stringify a Object
Interface Type for Stringing Callback
Time Manipulation
struct tm in C language

Provides

in lib/SPVM/Builder/Compiler.pm
in lib/SPVM/Builder/Env.pm
in lib/SPVM/Builder/Runtime.pm
in lib/SPVM/Builder/Stack.pm
in lib/SPVM/Builder/Compiler/Util.pm
in lib/SPVM/Dist.pm
in lib/SPVM/Global.pm

Examples