ROSE (compiler framework)
The ROSE compiler framework, developed at Lawrence Livermore National Laboratory (LLNL), is an open-source software compiler infrastructure to generate source-to-source analyzers and translators for multiple source languages including C (C89, C99, Unified Parallel C (UPC)), C++ (C++98, C++11), Fortran (77, 95, 2003), OpenMP, Java, Python, and PHP.[src] It also supports certain binary files, and auto-parallelizing compilers by generating source code annotated with OpenMP directives.[src] Unlike most other research compilers, ROSE is aimed at enabling non-experts to leverage compiler technologies to build their own custom software analyzers and optimizers.[src]
The ROSE compiler framework, developed at Lawrence Livermore National Laboratory (LLNL), is an open-source software compiler infrastructure to generate source-to-source analyzers and translators for multiple source languages including C (C89, C99, Unified Parallel C (UPC)), C++ (C++98, C++11), Fortran (77, 95, 2003), OpenMP, Java, Python, and PHP.[src] It also supports certain binary files, and auto-parallelizing compilers by generating source code annotated with OpenMP directives.[src] Unlike most other research compilers, ROSE is aimed at enabling non-experts to leverage compiler technologies to build their own custom software analyzers and optimizers.[src] ==The infrastructure== ROSE consists of multiple front-ends, a midend operating on its internal intermediate representation (IR), and backends regenerating (unparse) source code from IR.[src] Optionally, vendor compilers can be used to compile the unparsed source code into final executables.[src] To parse C and C++ applications, ROSE uses the Edison Design Group's C++ front-end.[src] Fortran support, including F2003 and earlier 1977, 1990, and 1995 versions, is based on the Open Fortran Parser (OFP) developed at Los Alamos National Laboratory.[src] The ROSE IR consists of an abstract syntax tree, symbol tables, control flow graph, etc.[src] It is an object-oriented IR with several levels of interfaces for quickly building source-to-source translators.[src] All information from the input source code is carefully preserved in the ROSE IR, including C preprocessor control structure, source comments, source position information, and C++ template information, e.g., template arguments.[src] ROSE is released under a BSD-style license.[src] It targets Linux and OS X on both IA-32 and x86-64 platforms.[src] Its Edison Design Group (EDG) parts are proprietary and distributed in binary form.[src] Source files of the EDG parts can be obtained if users have a commercial or research license from EDG.[src] ==Award== The ROSE compiler infrastructure received one of the 2009 R&D 100 Awards.[src] The R&D 100 Awards are presented annually by R&D Magazine to recognize the 100 most significant proven research and development advances introduced over the past year.[src] An independent expert panel selects the winners.[src] ==See also== DMS Software Reengineering Toolkit a source-to-source compiler framework using explicit pattern-directed rewrite rules that handles Fortran and C++ ==References== ==External links== Development site[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"ROSE (compiler framework)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/rose-compiler-framework. Accessed 26 November 2026.
Chicago
"ROSE (compiler framework)." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/rose-compiler-framework.
APA
encyclopegia.org. (2025). ROSE (compiler framework). Retrieved November 26, 2026, from https://encyclopegia.org/wiki/rose-compiler-framework
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON