kurila121delta - what is new for Perl Kurila 1.21


NAME

kurila121delta - what is new for Perl Kurila 1.21


DESCRIPTION

This document describes differences between Perl Kurila 1.20 and Perl Kurila 1.21


Highlights In Perl Kurila 1.21

Layout based syntax for arrays and hashes. CODE as first order data type.


Core Enhancements

Layout based syntax for arrays and hashes using the @: and %: operators

Layout can be used to make arrays and hashes. See Layout in the kurilasyn manpage for a description of how it works.

Rationale

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.

Defined on a subroutine dereference reference must exist

When doing something like defined *foo->& the reference should exist. To check that a reference is subrefed. Something like *foo->&.

Subroutine references saved at compile time

Implies that to change the sub to be called after code is compile the sub should be modified, for example by *foo->& = sub { "new" }.

Rationale

consistent first order data types.

Operator to call subs <:

New operator to call subroutines, using <: uses layout syntax.

Rationale

Call operator with layout syntax. Should replace to call operator ->(.


KNOWN BUGS

Documentation

Documentation has not been updated for many of the changes for kurila.

Limited platform support

Perl Kurila has only been tested/build for x86_64-linux-gnu-thread-multi platform.


SEE ALSO

The INSTALL file for how to build Perl Kurila.

The README file for general stuff.

The Artistic and Copying files for copyright information.


HISTORY

Written by Gerard Goossen <gerard@tty.nl>.

 kurila121delta - what is new for Perl Kurila 1.21