Revision history for Language-Expr 0.21 2013-08-05 (SHARYANTO) No functional changes. Add 'use experimental "smartmatch"' for 5.18+ [CT]. 0.20 2013-07-15 (SHARYANTO) No functional changes. Replace given() with if-else due to failing CT reports for 5.18. 0.19 2012-07-13 (SHARYANTO) No functional changes. Disable JS and PHP tests for now due to possible problems with Regexp::Grammar. 0.18 2011-02-23 (SHARYANTO) Switch from Mouse to Moo. 0.17 2011-01-12 (SHARYANTO) Language: Ternary operator ?:. Add more documentation. Some grammar optimizations. 0.16 2011-01-11 (SHARYANTO) Add more documentation. Language: Remove support for $. and $.. variable syntax (you can still write them as ${.} and ${..} if you need them). Add support for $package::separated::var (currently translated as-is in PHP/JS compiler). 0.15 2011-01-11 (SHARYANTO) Add more documentation. Add compile(), js(), and php() in main module. Language: Support octal/hexadecimal/binary number literals. 0.14 2011-01-06 (SHARYANTO) Correct and expand synopsis. 0.13 2010-10-25 (SHARYANTO) If hook_{var,func} returns undef, the default behaviour is used. 0.12 2010-10-25 (SHARYANTO) Add hook_func property. 0.11 2010-10-16 (SHARYANTO) Fix handling of quoted string. All compilers get hook_var property, not just Perl. 0.10 2010-10-13 (SHARYANTO) Add hook_var property to Language::Expr::Compiler::Perl. 0.09 2010-07-01 (SHARYANTO) Require List::MoreUtils. 0.08 2010-06-29 (SHARYANTO) PHP compiler/emitter. Parser: Split rule_subscripting into rule_subscripting_{var,expr} to accomodate PHP's limitation (can't subscript against expression). Language: because many target languages (including PHP and JavaScript) don't support expression before "=>", only bareword \w+ and string literals are now allowed in left side of pair. JS: Now allows mapping Expr function to JS property (e.g. func_mapping->{length} = ':length'). 0.07 2010-06-25 (SHARYANTO) Adjust for new Regexp::Grammars 1.005. 0.06 2010-06-23 (SHARYANTO) JavaScript compiler/emitter. Small fixes & additional documentation. 0.05 2010-06-19 (SHARYANTO) Fix tests for FreeBSD [reported by cpantesters]. 0.04 2010-06-17 (SHARYANTO) Add Perl emitter (supports map/grep/usort) (now used by default). Reorganize modules. 0.03 2010-06-11 (SHARYANTO) Add map(), grep(), and usort() (but so far only working in parser level only). 0.02 2010-05-12 (SHARYANTO) Add enum_vars(). 0.01 2010-05-07 (SHARYANTO) First release.