[cfe-dev] Upstream StringLiteralParser?
chisophugis at gmail.com
Thu Jun 4 14:07:52 PDT 2015
On Thu, Jun 4, 2015 at 11:52 AM, Josh Klontz <josh.klontz at gmail.com> wrote:
> This is a humble request to consider upstreaming StringLiteralParser into
> core LLVM. To my knowledge, many languages seem to follow (at least a
> subset of) C/C++ string escaping conventions, and this file would be useful
> for those language designers (myself included) who might otherwise roll
> their own implementation.
There are actually a large variety of subtle differences. Most languages
are neither a subset nor a superset of C/C++ string escaping conventions.
Writing a string literal parser is easy anyway (just a loop with a switch).
-- Sean Silva
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev