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.