Blog
About

153
views
0
recommends
+1 Recommend
1 collections
    4
    shares
      • Record: found
      • Abstract: found
      • Conference Proceedings: found
      Is Open Access

      A Case Study of a Slicing-Based Approach for Locating Type Errors

      ,

      Proceedings of the 2nd International Workshop on the Theory and Practice of Algebraic Specifications (AS)

      Theory and Practice of Algebraic Specifications

      25-26 September 1997

      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

          Type checkers have been specified in ASF+SDF for many languages, using a variety of specification styles. Several mechanisms for tracking positional information have been proposed, each with shortcomings and/or restrictions on specifications. We propose the use of dynamic dependence tracking for tracking positional information. In this approach, a slice of the program being type checked is associated with each type error. This slice contains precisely those program fragments that caused the type error under consideration. Our approach is completely languageindependent, imposes no restrictions on ASF+SDF specifications, and has been applied successfully to a significant subset of Pascal. We report on several experiments that have shown an interesting correlation between the amount of nondeterminism in the specification, and the accuracy of the slices associated with type errors. Generally, more accurate error locations are obtained as the specification gets less deterministic.

          Related collections

          Most cited references 6

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

          Program Slicing

           Mark Weiser (1984)
            Bookmark
            • Record: found
            • Abstract: not found
            • Article: not found

            A meta-environment for generating programming environments

             P Klint (1993)
              Bookmark
              • Record: found
              • Abstract: not found
              • Article: not found

              Origin tracking

                Bookmark

                Author and article information

                Contributors
                Conference
                September 1997
                September 1997
                : 1-36
                Affiliations
                CWI, Amsterdam

                Amsterdam, The Netherlands
                IBM T.J. Watson Research Center

                Yorktown Heights, NY, USA
                Article
                10.14236/ewic/AL1997.8
                © T. B. Dinesh et al. Published by BCS Learning and Development Ltd. Proceedings of the 2nd International Workshop on the Theory and Practice of Algebraic Specifications, Amsterdam

                This work is licensed under a Creative Commons Attribution 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/

                Proceedings of the 2nd International Workshop on the Theory and Practice of Algebraic Specifications
                AS
                2
                Amsterdam
                25-26 September 1997
                Electronic Workshops in Computing (eWiC)
                Theory and Practice of Algebraic Specifications
                Product
                Product Information: 1477-9358BCS Learning & Development
                Self URI (journal page): https://ewic.bcs.org/
                Categories
                Electronic Workshops in Computing

                Comments

                Comment on this article