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.989069 - 2023-02-09

  • New Features
    • Add a message in compiling and linking a source file like
      • Compile a %s source file ...
      • Generate a dynamic link file ...
    • Add the resource_loader_config field to the SPVM::Builder::Config class.
    • Add the category field to the SPVM::Builder::Config class.
    • Add the category field to the SPVM::Builder::CompileInfo class.
    • Add the --no-config option to the spvmcc command.
    • Add the -m, --mode option to the spvmcc command.
    • Add the config_exe field to SPVM::Builder::Config.
    • Add the is_jit field to SPVM::Builder::Config.
    • Add the cc_output_dir field to SPVM::Builder::Config.
    • Add the output_dir field to SPVM::Builder::Config.
    • Add the output_file field to SPVM::Builder::Config.
    • Add the used_as_resource field to SPVM::Builder::Config.
  • Deprecation
    • The SPVM:: prefix is no more required in the class name given to the create_make_rule function in Makefile.PL.
  • Bug Fix
    • Add resource dependency to the create_make_rule_native method in Makefile.PL.
  • Incompatible Changes
    • A resource must need its SPVM class file.
    • Remove the -c, --config option in the spvmcc command.
    • The format of the --required-resources option in the spvmdist command
      • After
        • {"argv":["args1","args2"],"class_name":"TestCase::Resource::Mylib1","mode":"mode1","resource_loader_class_name":"TestCase::NativeAPI2"}
  • Changes
    • Linker messages output before executing command.
    • No native class file and no ext is allowed.
    • A config file --config given to the spvmcc command can be plcaed in the directory as same as the SPVM class file.
    • Unshift "lib" directory in Makefile.PL that is generated by the spvmdist command.
  • Internal Changes
    • Resources are loaded in a compilattion instead of a link.

Documentation

Generating Excutable File
Generating SPVM Distribution

Modules

SPVM Language
Address
Array Utilities
SPVM object
A Boolean value as An Object
Build Dynamic Libraries for SPVM Distribution
Defining Public Functions of SPVM::Builder
Compilation and Link of Native Class
Compiler Information
SPVM Builder Compiler
Compiler and Linker Configuration for Native Classes
Excutable File Config Generated by The spvmcc Command.
SPVM Builder Environment
Creating Executable File
Library Information for A Linker
Linker Information
Object File Information
SPVM Builder Runtime
SPVM Builder Stack
Builder Utilities
Defining Public Functions of SPVM::Builder::Util
A byte Value as An Object
Dynamic byte Arrays
Callback interface
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
double Complex Type
float Complex Type
SPVM Exchange API
SPVM Language Specification
SPVM Standard Modules
Allocator Native APIs
Basic Type Native APIs
Class File Native APIs
Class Variable Native APIs
Class File Native APIs
String Buffer Native APIs
Document of Native Class
How to write the resource class
A double value as An Object
Dynamic double Arrays
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
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 for Perl Interpreter
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.
Information of Arguments
Information of Basic Types
Information of Class Files
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 Callback at End of Scope
A short Value as An Object
Dynamic short Arrays
Sorting Functions
Renamed
String Buffers
Dynamic string array
A Interface Type to Stringify a Object
Interface Type for Stringing Callback

Provides

in lib/SPVM/Dist.pm

Examples