kurila121delta - what is new for Perl Kurila 1.21 |
@:
and %:
operators&foo
returns a CODE<:
kurila121delta - what is new for Perl Kurila 1.21
This document describes differences between Perl Kurila 1.20 and Perl Kurila 1.21
Layout based syntax for arrays and hashes. CODE as first order data type.
@:
and %:
operatorsLayout can be used to make arrays and hashes. See Layout in the kurilasyn manpage for a description of how it works.
Clean and easy to read (complex) data structures.
&foo
returns a CODE&foo
returns the sub foo, i.e. its type is CODE.
Values with CODEs can be copied, and modified.
When doing something like defined *foo->&
the reference should
exist. To check that a reference is subrefed. Something like *foo->&.
Implies that to change the sub to be called after code is compile the sub
should be modified, for example by *foo->& = sub { "new" }
.
consistent first order data types.
<:
New operator to call subroutines, using <:
uses layout syntax.
Call operator with layout syntax. Should replace to call
operator ->(
.
Documentation has not been updated for many of the changes for kurila.
Perl Kurila has only been tested/build for x86_64-linux-gnu-thread-multi platform.
The INSTALL file for how to build Perl Kurila.
The README file for general stuff.
The Artistic and Copying files for copyright information.
Written by Gerard Goossen <gerard@tty.nl>.
kurila121delta - what is new for Perl Kurila 1.21 |