Releases: fglock/PerlOnJava
Releases · fglock/PerlOnJava
Operators and Special Variables
- v1.10.0: Operators and Special Variables
- Error messages mimic those in Perl for consistency.
- Added
$.,$],$^V,${^LAST_FH},$SIG{__DIE__},$SIG{__WARN__}special variables. - Added command line switches
-E,-p,-n,-i,-0,-a,-F,-m,-M,-g,-l,-x,-?. - Added
select(filehandle)operator,ARGVOUTfilehandle. - Added
~.,&.,|.,^.operators. - Added
try catchstatement. - Added Scalar::Util:
blessed,reftype. - Added UNIVERSAL:
VERSION. - Added v-strings.
- Added Infinity, -Infinity, NaN.
- Added
\N{name}operator for named characters in double quoted strings and in regex. - Added lvalue subroutines.
- CI/CD runs in Ubuntu and Windows
Full Changelog: v1.9.0...v1.10.0
Operators and Special Variables
- v1.9.0: Operators and Special Variables
- Added bitwise string operators.
- Added lvalue
substr, lvaluevec - Fix
%bspecifier insprintf - Emulate Perl behaviour with unsigned integers in bitwise operators.
- Regex
m?pat?match-once and thereset()operator are implemented. - Regex
\Gand theposoperator are implemented. - Regex
@-,@+,%+,%-special variables are implemented. - Regex
$`,$&,$'special variables are implemented. - Regex performance comparable to Perl; optimized regex variables.
- Regex matching plain strings:
$var =~ "Test". - Added
__SUB__keyword;readpipe. - Added
&$subcall syntax. - Added
localdynamic variables. - Tests in
src/test/resourcesare executed automatically.
Full Changelog: v1.8.0...v1.9.0
Loops, Operators, and File Handling
- v1.8.0: Loops, Operators, and File Handling
- Added
continueblocks and loop operatorsnext,last,redo; a bare-block is a loop - Added bitwise operators
vec,pack,unpack - Added
srand,crypt,exit, ellipsis statement (...) - Added
readdir,opendir,closedir,telldir,seekdir,rewinddir,mkdir,rmdir - Added file test operators like
-d,-f - Added the variants of diamond operator
<>and special cases ofwhile - Completed
chompoperator; fixedqw//operator,defined-orandx= - Added modules:
parent,Test::More
- Added
Full Changelog: v1.7.0...v1.8.0
Performance Improvements
v1.7.0: Performance Enhancements and Developer Tools Improvements
- Execution Engine Optimization: Enhanced the performance of frequently used operators, resulting in faster execution.
- Improved Error Handling and Debugging: Introduced more detailed debugging symbols into the bytecode for smoother troubleshooting. The
Carpmodule has been added to provide clearer error reporting. - Standard Library Integration: Several core Perl standard library modules are now embedded directly within the JAR file, simplifying module access and usage.
- Expanded Test Coverage and Bug Fixes: Broadened test coverage and resolved various bugs to ensure improved stability and reliability.
Full Changelog: v1.6.0...v1.7.0
v1.6.0 - Module System
v1.6.0: Module System and Standard Library Enhancements.
- Module system for improved code organization and reuse.
- Core Perl module operators:
do FILE,require,caller,use,no. - Module special subroutines:
import,unimportare supported. - Environment and special variables:
PERL5LIB,@INC,%INC,@ARGV,%ENV,$0,$$. - Additional operators:
die,warn,time,times,localtime,gmtime,index,rindex. - Standard library ported modules:
Data::Dumper,Symbol,strict; addedlib/directory to the project. - Expanded documentation and usage examples.
Full Changelog: v1.5.0...v1.6.0
v1.5.0 - Regex operations
v1.5.0: Added Regex Operations.
- Regular expressions and pattern matching: m//, pos, qr//, quotemeta, s///, split
- More complete set of operations on strings, numbers, arrays, hashes, lists
- More special variables
- More tests and various bug fixes
Full Changelog: v1.4.0...v1.5.0
v1.4.0 - I/O operations
-
v1.4.0: Added I/O Operations.
- File i/o operators: open, close, eof, readline, print, printf, say
sprintf,substr- STDOUT, STDERR, STDIN
- More special variables
- TAP (Perl standard) tests
- Hash and array slices
- More tests and various bug fixes
Full Changelog: v1.3.0...v1.4.0
v1.3.0 - Objects
-
v1.3.0: Added Objects.
- Objects and object operators, UNIVERSAL class
- Array and List related operators
- More tests and various bug fixes
Named subroutines
-
v1.2.0: Added Namespaces and named subroutines.
- Added typeglobs
- Added more operators
- Improved iterator implementation
- Improved parsing of global identifiers
Full Changelog: v1.1.0...v1.2.0
v1.1.0 - Architecture Settled, Benchmarks and Tests Added
-
v1.1.0: Established architecture and added key features. The system now supports benchmarks and tests.
- JSR 223 integration
- Support for closures
- Eval-string functionality
- Enhanced statements, data types, and call context