The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.9689 - 2023-02-01

  • New Features
    • Support the static method call in Exchange API my $list = SPVM::FloatList->new([]); $list->SPVM::FloatList::push(1);
    • Added the utf8_length method in the Fn class.
      • static method utf8_length : int ($string : string)
      • Gets the length as a UTF-8 string from the $string, and returns it.
      • Examples:
        • 3 my $utf8_length = Fn->utf8_length("あいう");
    • Added the to_code_points method in the Fn class.
      • static method to_code_points : int[] ($string : string)
      • Converts the $string to the Unicode code points, and returns it.
    • Added the to_utf8_chars method in the Fn class.
      • static method to_utf8_chars : string[] ($string : string);
      • Converts the $string to UTF-8 characters, and returns it.
    • Added the utf8_substr method in the Fn class.
      • static method utf8_substr : string ($string : string, $utf8_offset : int, $utf8_length = -1 : int);
      • Gets the substring from the $string. The extracting range of the string is from the $utf8_offset to the position proceeded by the $utf8_length, and returns it.
  • =head2 to_utf8_chars
    • static method to_utf8_chars : string[] ($string : string);
  • Converts the $string to UTF-8 characters, and returns it.
    • Exception Message Fix
      • Fixed the exception message of the call_method in the SPVM::ExchangeAPI class.
        • Before
          • The 2th argument of the "push" method in the "IntList" class must be a number
        • After
          • The 1th argument of the "push" method in the "IntList" class must be a number
    • Doc Simplification
      • Argument names are not wraped by <code></code> tag.

Documentation

SPVM compiler to create exe file
Generating SPVM Distribution

Modules

SPVM Language
Address
Array Utilities
Blessed object base class
Array based blessed object
Class based blessed object
String based blessed 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 Interface
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