pcre, bifs, drivers and ports
Mon Jul 31 17:36:49 CEST 2006
Sean Hinde wrote:
> Hi Ernie,
> On 31 Jul 2006, at 14:12, Ernie Makris wrote:
>> Hello Erlangers,
>> One thing I wanted to start a discussion on is getting pcre style
>> regexps in erlang. The question
>> I pose to the list is: What would be the best way to integrate the pcre
>> library into erlang.
>> The possible approaches I've seen so far are:
>> - create a linked in driver
>> - create a port program
>> - create new bifs (I'd really like this)
> Yes, that about covers it.
you could re-implement it in erlang, of course.
> OTOH it is not too hard to create a linked in driver that could
> alternatively be compiled as a port program. That way you give users a
> choice between speed of a driver (almost the same as a BIF), or fault
it would be grand if i could write my glue code once, and have a tool
generate a linked-in driver, a port program, a bif or a c-node from that.
this is (i think) the goal of dryverl, but i'm too dense to figure it out...
More information about the erlang-questions