Could I use LLVM for parsing Fortran? -
i newbie llvm. basic need parse fortran codes. looking @ llvm website, seems llvm can used library parsing codes. use parse fortran codes, , extract information codes (ast?)?
llvm compiler backend. thing knows how parse llvm ir - intermediate language designed emitted programing language frontends. official frontend llvm clang, can handle c, c++ , objc. if you're interested in other languages, there's dragonegg, llvm plugin gcc. uses gcc's front-end , llvm backend, can parse gcc knows how parse. know work being done on making generate correct code ada , fortran. here's excerpt page:
current status
- works best gcc-4.6.
- fortran works well. ada, c , c++ work well. ada works poorly gcc-4.7.
- it can compile reasonable amount of obj-c, obj-c++ , go.
- it can compile simple java programs, don't execute (this consequence of java front-end not supporting gcc's lto).
- debug info poor.
Comments
Post a Comment