klausler wrote:

> How is this code used outside of LLVM? Why do people want to use _without_ 
> LLVM? Just curious.

There are people who want to construct tools to analyze or restructure Fortran 
programs outside of the context of compilation, and need to have access to a 
good parse tree or symbol table.  Unlike most other languages, Fortran is 
weirdly hard to lex & parse, and tool writers would rather use an existing 
parser than do a partial job with something custom.  So as a general rule, I 
avoid using llvm utilities in parsing and semantics (esp. parsing) when the 
facilities in `std::` are capable and portable, and try to encourage others to 
do the same.

https://github.com/llvm/llvm-project/pull/87627
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to