Re: Adding a Builtin to EUPHORIA
- Posted by mattlewis (admin) Apr 01, 2014
- 1527 views
SDPringle said...
Regex is in the backend, but the only reasons I remember given is to get rid of the need of adding dll files to the distribution of EUPHORIA and for speed.
Regex can be compiled as a dll and then added via the dll interface. As developers we could have done it that way. It would have been easier and less bug prone. If dll is too slow we ought to work out how we can make it faster.
"The only reasons" you mention are huge, though. It might have been less bug prone. It definitely would have been slower. Basically, having regexes is pretty much an entry level requirement for a language. Requiring a separate library to be distributed would be crazy.
Matt