Changes for version 0.96 - 2022-05-25

  • CHANGE
    • This is major version up from 0.95xx. SPVM language becomes a little more stable in my opinion.
    • Support die statement without the operand again. This was remove at 0.9504(2021-02-10). die;
    • Add Fn->match method
    • Simplify the compilation error messages of the character literal
    • Support brace in the hexadecimal escape character
      • '\x{A}' '\x{6A}' "Foo \x{A} Bar"
    • Support single character in the hexadecimal escape character
      • '\xA' "Foo \xA Bar"
    • Improve the compilation error message of the Unicode escape character.
    • Add the "cap1", "cap2", "cap3", "cap4", "cap5", "cap6", "cap7", "cap8", "cap9", "cap10" methods to Regex class. These are corresponding to Perl's $1, $2, $3 ... $10.
    • Improve the compilation error messages of variable expansion.
  • BUG FIX
    • Fix bug that Regex don't work well in the following case. my $result = Fn->replace("xyzAAAxyzAAA", "A+", "BBB", "g");
    • Fix the bug that variable expansion doesn' support the arrow between braces or brackets such as "$minimals->[1]->{x}".
  • SPECIFICATION FIX
    • Add string literal escape character \$
    • Hexadecimal escape charcter represents any value of byte type
  • NON BACKWORD COMPATIBLE CHANGES
    • The unicode copde point of Unicode escape character must be a Unicode scalar value.

Documentation

SPVM compiler to create exe file
The Command to Generate SPVM Native Modules

Modules

SPVM Language
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
Configurations of Compile and Link of Native Sources
Configurations of creating excutable files.
Create a Executable File
Object file information
Object file information
Build Utilities
Public APIs of the utility of SPVM Builder
Byte object
Dynamic Byte Array
A Interface Type to Clone a Object
Interface Type for the Callback to Clone a Object
Interface Type for Object Comparation Callback
Interface Type for byte 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 short Comparation Callback
Interface Type for String Comparation Callback
double complex type
float complex type
SPVM Performance Benchmark
SPVM Exchange API
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 native methods
SPVM Performance Tutorial
Double object
Dynamic double array
Interface Type for Object Equality Checking Callback
a callback implementation of EqualityChecker to check if the memory addresses of the two objects are equal.
SPVM Exchange API
Float object
Dynamic float array
SPVM Starndard Functions
Hash Data Structure
Hash entry
Int object
Dynamic int array
Dynamic object array
Long object
Dynamic long array
Point
Regular expression
Regular expression pattern
Interface Type for Regex Replacement Callback
Short object
Dynamic short array
String buffer
Dynamic string array
A Interface Type to Stringify a Object
Interface Type for Stringing Callback
Time manipulation
Time information
SPVM Unicode Utilities.

Provides

in lib/SPVM/Builder/Generator/Lib.pm

Examples