cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: URL parsing

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 13 Apr 2013 23:18:29 +0200 (CEST)

On Sat, 13 Apr 2013, David Strauss wrote:

> Are you opposed to code generated using a lexer/parser or a library
> like uriparser?

I've not seen any such that aren't either gigantic in size or complexity.
Also, it seems like a rather massive change to switch to at this point.

> It's hard to prove the correctness of sscanf().

Is it really easier to prove correctness of a full fledged lexer/parser or
separate library? I can't see how that can be...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-13