20
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      MELT - a Translated Domain Specific Language Embedded in the GCC Compiler

      Preprint

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          The GCC free compiler is a very large software, compiling source in several languages for many targets on various systems. It can be extended by plugins, which may take advantage of its power to provide extra specific functionality (warnings, optimizations, source refactoring or navigation) by processing various GCC internal representations (Gimple, Tree, ...). Writing plugins in C is a complex and time-consuming task, but customizing GCC by using an existing scripting language inside is impractical. We describe MELT, a specific Lisp-like DSL which fits well into existing GCC technology and offers high-level features (functional, object or reflexive programming, pattern matching). MELT is translated to C fitted for GCC internals and provides various features to facilitate this. This work shows that even huge, legacy, software can be a posteriori extended by specifically tailored and translated high-level DSLs.

          Related collections

          Most cited references6

          • Record: found
          • Abstract: not found
          • Article: not found

          Abstract Interpretation Frameworks

            Bookmark
            • Record: found
            • Abstract: not found
            • Conference Proceedings: not found

            Precise and efficient static array bound checking for large embedded C programs

              Bookmark
              • Record: found
              • Abstract: not found
              • Book Chapter: not found

              Basic Concepts of Abstract Interpretation

                Bookmark

                Author and article information

                Journal
                04 September 2011
                Article
                10.4204/EPTCS.66.6
                1109.0779
                e0c7f382-ea85-4090-bb4a-e0c52e77448e

                http://arxiv.org/licenses/nonexclusive-distrib/1.0/

                History
                Custom metadata
                EPTCS 66, 2011, pp. 118-142
                In Proceedings DSL 2011, arXiv:1109.0323
                cs.PL cs.SE
                EPTCS

                Comments

                Comment on this article