poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [WIP][PATCH 2/2] pkl,pvm: add support for regular expression


From: Mohammad-Reza Nabipoor
Subject: Re: [WIP][PATCH 2/2] pkl,pvm: add support for regular expression
Date: Wed, 15 Feb 2023 19:27:00 +0100

On Wed, Feb 15, 2023 at 11:01:01AM +0100, Jose E. Marchesi wrote:
> 

> I don't think it is a good idea to expose the regexp machinery in std
> like this.
> 
> I thought we were targetting adding support for STRING ~ REGEXP at the
> language level?  The compiler can then generate calls to _pkl_re_gmatch
> and DTRT...
> 

Yes, I wanted to enable us to use regexp for problems we already have
sooner.
Because we have to think about the struct patterns as a general mechanism
and rushing to implementing regexp at language level can cause problems
for us.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]