The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.990009 - 2023-09-11

  • New Features
    • Add SPVM_NATIVE_C_STACK_TMP_BUFFER_SIZE to spvm_native.h
    • Add get_stack_tmp_buffer internal native API.
    • Add the following methods to Complex_2d multi-numeric type.
      • new
      • new_array_from_pairs
      • new_array_from_re_array
      • new_array_from_im_array
      • to_re_array
      • to_im_array
      • to_pairs
      • to_string
    • Add the following methods to Complex_2f multi-numeric type.
      • new
      • new_array_from_pairs
      • new_array_from_re_array
      • new_array_from_im_array
      • to_re_array
      • to_im_array
      • to_pairs
      • to_string
  • Revert
    • Revert the following change in 0.990008 for performance degradation.
      • Use a new runtime stack for DESTROY method instead of using the current runtime stack.
  • Internal Changes
    • Improve runtime save/restore logic in destructor.
    • Add the following enum values in spvm_api.h SPVM_API_C_STACK_INDEX_TMP_BUFFER = 256, SPVM_API_C_TMP_BUFFER_SIZE = 512, SPVM_API_C_STACK_LENGTH = 512,
    • Use snprintf instead of sprintf in all places in SPVM_API_dump_recursive function in spvm_api.c.
    • Use the temporary buffer of the runtime stack in SPVM_API_dump_recursive function in spvm_api.c.
    • Use the temporary buffer of the runtime stack in SPVM_API_new_stack_trace_no_mortal function in spvm_api.c.
    • Reduce SPVM_API_new_memory_block calls in SPVM_API_die function in spvm_api.c.
    • Add SPVM_API_get_stack_tmp_buffer function to spvm_api.c.
    • Add SPVM_API_INTERNAL_get_stack_tmp_buffer to spvm_api_internal.c.
    • Use the temporary buffer in a runtime stack is used in any place in spvm_implement.h.
  • Changes
    • Allow multi-numeric type to have class methods.
  • Test Fix
    • Change a variable name in a test for the following issue.
      • https://github.com/yuki-kimoto/SPVM/issues/567
      • Some Mac clang compilier may cause this problem, but I don't know the reason for now.

Documentation

Executing SPVM programs
Generating Excutable File
Generating SPVM Distribution

Modules

The SPVM Language
Address
Array Utilities
SPVM object
A Boolean value as An Object
Build Dynamic Libraries for SPVM Distribution
Builder APIs
Compilation and Link of Native Class
Compiler Information
Config for Compiling and Linking Native Classes
Excutable File Config
Config Information
Creating Executable File
Library Information for A Linker
Linker Information
Basic Type Native APIs
Class File Native APIs
Compiler Native APIs
Runtime Environment
Method Native APIs
Object File Information
Builder Utilities
Builder Utility APIs
A byte Value as An Object
Dynamic byte Arrays
Callback interface
A Callback for The grep Method
A Callback for The map Method
A Callback for The map_expand Method
Interface Type to Clone Object
Interface Type for the Callback to Clone a Object
Command Line Information
Comparable Interface
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
double Complex Type
float Complex Type
SPVM Documents
Environment Variables
SPVM Language Specification
Classes in the SPVM Language
Exception Handling in the SPVM Language
Garbage Collection in the SPVM Language
Operators in the SPVM Language
Statements in the SPVM Language
Syntax Parsing in the SPVM Language
System Setting in the SPVM Language
Tokenization in the SPVM Language
Types in the SPVM Language
SPVM Standard Modules
Allocator Native APIs
Basic Type Native APIs
Class File Native APIs
Class Variable Native APIs
String Buffer Native APIs
A double value as An Object
Dynamic double Arrays
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
Compilation Errors
Not Supported Error
System Error
Invalid UTF8 Errors
SPVM Exchange API
A float value as An Object
Dynamic float Arrays
SPVM Starndard Functions
For Only Resource Tests
Format Utilities
SPVM Global Instance
Hash (Associative Array)
Hash entry
Immutable byte Array
Immutable double Array
Immutable float Array
Immutable int Array
Immutable long Array
Immutable short Array
Immutable string array
An int value as An Object
Dynamic int Arrays
Dynamic Object Array
A long value as An Object
Dynamic long Arrays
Getting the current native environment, stack, runtime, compiler.
Native APIs
Information of Arguments
Information of Basic Types
Information of Class Files
Information of Class Variables
Native::Compiler
Constant Values in Native APIs
Runtime Environment
Information of Fields
Information of Methods
Native::Runtime
Call Native::Stack
Point
Point 3D
Executing Callback at End of Scope
A short Value as An Object
Dynamic short Arrays
Sorting Functions
String Buffers
Dynamic string array
A Interface Type to Stringify a Object
Interface Type for Stringing Callback

Provides

in lib/SPVM/Dist.pm

Examples