Changes for version 0.989028 - 2023-07-26

  • New Features
    • The following compiler native APIs were added.
      • void (*add_module_file)(void* compiler, const char* module_name); void (*delete_module_file)(void* compiler, const char* module_name);
  • New Features
    • The following module file native APIs are added.
      • void* (*free_instance)(void* compiler, void* module_file);
  • Incompatible Changes
    • The order of the compiler native APIs were changed. 0 new_instance, 1 free_instance, 2 get_start_line, 3 set_start_line, 4 get_start_file, 5 set_start_file, 6 get_include_dirs_length, 7 get_include_dir, 8 add_include_dir, 9 clear_include_dirs, 10 get_module_file, 11 set_module_file, 12 compile, 13 get_error_message, 14 get_error_messages_length, 15 get_runtime,
    • if (rquire Foo) statement was now reset after a single compilation.
    • The set_module_file compiler native API can be set even if the module file alread exists.
    • The following methods in the Native::ModuleFile class were removed.
      • static method new : Native::ModuleFile ($compiler : Native::Compiler); method set_module_name : void ($module_name : string);
    • The following module file Native APIs were removed.
      • void* (*new_instance)(void* compiler); void (*set_module_name)(void* compiler, void* module_file, const char* module_name);
    • The following compiler native APIs were removed.
      • void (*set_module_file)(void* compiler, const char* module_name, void* module_file);
    • Native API IDs of the module file native APIs were changed.
      • 0 get_module_name 1 get_file 2 set_file 3 get_dir 4 set_dir 5 get_rel_file 6 set_rel_file 7 get_content 8 set_content 9 get_content_length 10 set_content_length
    • Native API IDs of the compiler native APIs were changed.
      • 0 new_instance 1 free_instance 2 get_start_line 3 set_start_line 4 get_start_file 5 set_start_file 6 get_include_dirs_length 7 get_include_dir 8 add_include_dir 9 clear_include_dirs 10 add_module_file 11 delete_module_file 12 get_module_file 13 compile 14 get_error_message 15 get_error_messages_length 16 get_runtime

Documentation

Generating Excutable File
Generating SPVM Distribution

Modules

SPVM Language
Address
Array Utilities
SPVM object
Bool object
Build Dynamic Libraries for SPVM Distribution
Defining Public Functions of SPVM::Builder
Compilation and Link of Native Module
Compilation Information
SPVM Builder Compiler
Configurations of creating excutable files.
SPVM Builder Environment
Creating Executable File
Library Information
Link Information
Object File Information
SPVM Builder Runtime
SPVM Builder Stack
Builder Utilities
Defining Public Functions of SPVM::Builder::Util
The byte Object
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
Renamed
double Complex Type
float Complex Type
SPVM Exchange API
SPVM Language Specification
SPVM Language Specification
SPVM Standard Modules
Allocator Native APIs
Basic Type Native APIs
Class Variable Native APIs
Module File Native APIs
String Buffer Native APIs
Document of Native Module
How to write the resource class
The double Object
Dynamic double Array
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
Not Supported Error
System Error
SPVM Exchange API
The float Object
Dynamic float Array
SPVM Starndard Functions
Format Utilities
SPVM Global Instance for Perl Interpreter
Hash Data Structure
Hash entry
Immutable byte Array
Immutable double Array
Immutable float Array
Immutable int Array
Immutable long Array
Immutable short Array
Immutable string array
The int Object
Dynamic int Array
Dynamic Object Array
The long Object
Dynamic long Array
Information of Arguments
Information of Basic Types
Information of Class Variables
Native::Compiler
Execution Native::Environment
Information of Fields
Information of Methods
Information of Module Files
Native::Runtime
Call Native::Stack
Point
Point 3D
Renamed
Executing Handler at End of Scope
Handler of Scope::Guard
The short Class
Dynamic short Array
Sorting Functions
Renamed
String Buffer
Dynamic string array
A Interface Type to Stringify a Object
Interface Type for Stringing Callback
Time Manipulation (Removed)
struct tm in C language (Removed)

Provides

in lib/SPVM/Dist.pm

Examples