The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.08 - 2010-06-29

  • 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').

Documentation

Description of the Language::Expr language

Modules

Simple minilanguage for use in expression
Base class for Expr compilers
Compile Language::Expr expression to JavaScript
Compile Language::Expr expression to PHP
Compile Language::Expr expression to Perl
Base class for Language::Expr compilers and interpreters
Specification for Language::Expr interpreter/compiler
A default interpreter for Language::Expr
Dummy interpreter for Language::Expr (used for testing)
Enumerate variables mentioned in Language::Expr expression
Parse Language::Expr expression