[erlang-questions] Adoption of perl/javascript-style regexp syntax

Tony Arcieri tony@REDACTED
Wed Jun 3 06:08:47 CEST 2009


On Mon, Jun 1, 2009 at 3:29 AM, Dmitrii Dimandt <dmitriid@REDACTED> wrote:

> Benefits:
> - Less error-prone
> - Expressions written this way can be parsed and compiled by the compiler
> (boost in performance, syntax checked at compile-time)
>
>
> Any thoughts?
>

Have you looked at Reia?

http://wiki.reia-lang.org/

As a quick intro: Reia is a Ruby-like scripting language which compiles to
Erlang (and from there into Erlang bytecode) and supports Ruby-like regular
expression syntax (although the actual regex syntax is Perl compatible and
uses Erlang's re module).  Reia runs on the Erlang VM and provides excellent
interoperability with Erlang.

You can read a little bit about the regex syntax at:

http://wiki.reia-lang.org/wiki/Data_types#Regular_expressions

-- 
Tony Arcieri
medioh.com


More information about the erlang-questions mailing list