develooper Front page | perl.perl5.porters | Postings from October 2014

Re: Bringing the regex compiler into the current millenium.

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
October 23, 2014 13:36
Subject:
Re: Bringing the regex compiler into the current millenium.
Message ID:
20141023133648.GP5204@iabyn.com
On Thu, Oct 23, 2014 at 10:15:05AM +0200, demerphq wrote:
> I will start a project to rewrite the regex compiler in the next little
> while,

+100

> 1. Change the current awkward multi-pass lexer, into a single pass lexer
> which constructs an AST which is then analysed and optimised, which woud
> then be used to produce the final encoded program.

That sounds great. My only proviso would be that you use some sort of
slab or arena system for allocating the AST nodes, to avoid lots of
mallocs.

> or wish to contribute.

Since I know almost nothing about the compiler, I doubt that I can
contribute much, but I'm happy to do so if you can think of something.

-- 
You're only as old as you look.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About