Changes for version 0.990150 - 2026-03-20

  • New Features
    • SPVM::Builder::Config::Global: Add support for "build_type" field to manage build configurations like Debug, Release, RelWithDebInfo, and MinSizeRel.
    • SPVM::Builder::Config::Global: Support negative matching in rules using the "!" prefix (e.g., { build_type => '!Debug' }).
    • SPVM::Builder::Config::Global: Support array-based matching in rules (e.g., { language => ['c', 'cpp'] }).
    • SPVM::Builder::Config::Global: Add support for global condition matching to apply rules across all configurations.
    • SPVM::Builder::Config: Add "ndebug_ccflags" field to manage flags for deactivating debug features (defaults to ["-DNDEBUG"]).
    • SPVM::Builder::Config: Add "extra_ccflags" field to allow users to easily append custom compiler flags.
    • SPVM::Builder::Config::Exe::MSVC: Implement CMake-compatible build type rules (Debug, Release, etc.) with binary-safe -MT runtime.
    • SPVM::Builder::Exe: Implement CMake-compatible build type rules for GCC and Clang.
  • Incompatible Changes
    • spvmcc: Completely remove SPVM Archive (.a/.lib) functionality. All native extensions and classes are now compiled from source to ensure 100% ABI compatibility and avoid "Binary Hell" (e.g., LNK4098).
    • SPVM::Builder::Config::Global: Rename compile_match/compile_match_any to compile_rule/compile_rule_any for a clearer declarative API.
    • SPVM::Builder::Config: Rename dynamic_lib_ccflags to position_independent_code_ccflags to clarify its role (e.g., -fPIC).
    • SPVM::Builder::Config: Rename get_system_field_names to get_cc_system_field_names, and move long_option_sep/create_option to SPVM::Builder::Config::Linker.
    • SPVM::Builder::Config::Linker: Rename get_system_field_names to get_ld_system_field_names and static_lib_ldflag to static_lib_braces.
    • SPVM::Builder::Config::Linker: Remove the obsolete resource_loader_config field.
    • SPVM::Builder::Config::Base: Rename get_loaded_config_files to loaded_config_files and change it to a public field.
  • Changes
    • SPVM::Builder::Config: Move -DNDEBUG from the default "optimize" field to the new "ndebug_ccflags" field.
    • SPVM::Builder::Config::Exe::MSVC: Remove "dialect => undef" from core rules to ensure mandatory flags like -MT and -utf-8 are always applied.
    • SPVM::Builder::Config::Exe::MSVC: Refactor the "apply" method to use a declarative rule-based approach with the "+" prefix syntax.
    • SPVM::Builder::Config::Exe::MSVC: Lazy load the Win32 module to ensure portability on non-Windows environments.
    • SPVM::Builder::LinkInfo: Refactor "create_ldflags" to use a loop-based approach for better maintainability and fix missing fields during merging.
    • SPVM::Builder::CC: Simplify resource compilation messages and remove hardcoded logic for static archives.
  • Internal Changes
    • SPVM::Builder::Config::Global: Refactor "_match_apply" to eliminate redundant logic and support new matching operators (! and arrays).
    • Documentation: Update POD for SPVM::Builder::Config::Global with comprehensive rule matching examples.
    • Test: Add new test cases to t/04_spvmcc/SPVM-Builder-Config-Global.t covering negative matching and array sensitivity.

Documentation

Executing SPVM programs
Generating Excutable File
Class Dependencies Analyzer
Generating SPVM Distribution
A tool to list non-core CPAN dependencies recursively.

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
Config for Compiling and Linking Native Classes
Configuration for Dynamic Link Libraries
Configuration for Executable Files
Excutable File Config
Config for Linking Native Classes
Utility for Analyzing Class Dependencies
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
Script Information
Builder Utilities
Builder Utility APIs
A byte Value as An Object
Dynamic byte Arrays
Callback interface
A Callback Interface for grep Method
A Callback Interface for grep_byte Method
A Callback Interface for grep_double Method
A Callback Interface for grep_float Method
A Callback Interface for grep_int Method
A Callback Interface for grep_long Method
A Callback Interface for grep_short Method
A Callback for The map Method
A Callback for The map_expand Method
Information about a Caller
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
Countable Interface
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
EqualityCheckable Interface
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
Field Not Specified Errors
Method Call Not Permitted Error
Not Supported Error
System Error
Invalid UTF8 Errors
SPVM Exchange API
A float value as An Object
Dynamic float Arrays
SPVM Starndard Functions
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
Pack and Unpack Operations
A Specifier for a pack/unpack Template.
Point
Point 3D
List with O(1) deque
SPVM information
Executing Callback at End of Scope
A short Value as An Object
Dynamic short Arrays
Sorting Functions
String Buffers
Dynamic string array
Stringable Interface
Interface Type for Stringing Callback

Provides

in lib/SPVM/Builder/Accessor.pm
in lib/SPVM/Builder/Config/Exe/MSVC.pm
in lib/SPVM/Builder/Ninja.pm
in lib/SPVM/Dist.pm

Examples