[cfe-dev] Advice for front-end design?
Joachim Durchholz via cfe-dev
cfe-dev at lists.llvm.org
Fri Sep 18 23:13:45 PDT 2015
Am 19.09.2015 um 07:21 schrieb Sean Silva via cfe-dev:
> See http://llvm.org/docs/doxygen/html/classllvm_1_1SourceMgr.html
> We use it in the IR reader, TableGen, FileCheck, LLD's linker scripts, the
> YAML parser, and MC's asm parser, among other places (I'm sure I've missed
> something that uses it).
Heh. That's quite some diversity. Anything that can handle YAML should
be flexible enough to apply for my use case, an indent-based grammar.
> Together with MemoryBuffer::getFileOrSTDIN like Russell points out, that
> should cover the things you mentioned.
I guess I'll scour Russell's reading list whenever I need a break from
More information about the cfe-dev