{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T04:42:10Z","timestamp":1750308130645,"version":"3.41.0"},"reference-count":30,"publisher":"Association for Computing Machinery (ACM)","issue":"5","license":[{"start":{"date-parts":[[2006,5,1]],"date-time":"2006-05-01T00:00:00Z","timestamp":1146441600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["SIGPLAN Not."],"published-print":{"date-parts":[[2006,5]]},"abstract":"<jats:p>Program slicing is an important decomposition technique. It has been widely used in many software activities, such as software analyzing, understanding, debugging, testing, and maintenance. The current slicing methods and tools, however, are monolithic, and mainly based on program or system dependence graph. This paper presents a novel formal tool for program slicing. It abstracts the computation of program slicing as a language-independent slice monad transformer, which can be applied to the semantic descriptions of the program in a modular way, forming the corresponding slicing algorithms. Such algorithms allow program slices to be computed directly on abstract syntax, with no need to explicitly construct intermediate structures such as dependence graphs or to record an execution history. It has reusability and language-flexibility properties in comparison with the current program slicing methods\/tools.<\/jats:p>","DOI":"10.1145\/1149982.1149986","type":"journal-article","created":{"date-parts":[[2006,10,18]],"date-time":"2006-10-18T22:35:32Z","timestamp":1161210932000},"page":"30-38","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["A monadic program slicer"],"prefix":"10.1145","volume":"41","author":[{"given":"Yingzhou","family":"Zhang","sequence":"first","affiliation":[{"name":"Nanjing Univ. of Posts and Telecommunications, Nanjing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jose Emilio Labra","family":"Gayo","sequence":"additional","affiliation":[{"name":"Univ. of Oviedo, Oviedo, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Agust\u00edn Cernuda","family":"del R\u00edo","sequence":"additional","affiliation":[{"name":"Univ. of Oviedo, Oviedo, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2006,5]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0065-2458(08)60641-5"},{"key":"e_1_2_1_2_1","unstructured":"Espinosa D. \"Semantic Lego\" PhD dissertation Columbia University Columbia 1995.   Espinosa D. \"Semantic Lego\" PhD dissertation Columbia University Columbia 1995."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1109\/32.83912"},{"key":"e_1_2_1_4_1","first-page":"2","volume-title":"Proceeding of 22th Annual Hawaii International Conference on System Sciences","author":"Hausler P. A.","year":"1989","unstructured":"Hausler P. A. , \" Denotational Program Slicing \" , Proceeding of 22th Annual Hawaii International Conference on System Sciences , 2 ( 1989 ): 486--495. Hausler P. A., \"Denotational Program Slicing\", Proceeding of 22th Annual Hawaii International Conference on System Sciences, 2 (1989): 486--495."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1002\/swf.41"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/77606.77608"},{"volume-title":"Proceedings of the 1988 International Conference on Computer Languages","author":"Hwang J. C.","key":"e_1_2_1_7_1","unstructured":"Hwang J. C. , Du M. W. , and Chou C. R ., \" The Influence of Language Semantics on Program Slices \", Proceedings of the 1988 International Conference on Computer Languages , (1988): 120--127. Hwang J. C., Du M. W., and Chou C. R., \"The Influence of Language Semantics on Program Slices\", Proceedings of the 1988 International Conference on Computer Languages, (1988): 120--127."},{"key":"e_1_2_1_8_1","volume-title":"Proceeding of 6th European Synposium on Programming Languages and Systems, ESOP'96. LNCS 1058","author":"Liang S.","year":"1996","unstructured":"Liang S. , and Hudak P. , \" Modular Denotational Semantics for Compiler Construction \", Proceeding of 6th European Synposium on Programming Languages and Systems, ESOP'96. LNCS 1058 , Springer-Verlag , Berlin , ( 1996 ): 219--234. Liang S., and Hudak P., \"Modular Denotational Semantics for Compiler Construction\", Proceeding of 6th European Synposium on Programming Languages and Systems, ESOP'96. LNCS 1058, Springer-Verlag, Berlin, (1996): 219--234."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/199448.199528"},{"key":"e_1_2_1_10_1","unstructured":"Liang S. \"Modular Monadic Semantics and Compilation\" PhD dissertation University of Yale Yale 1998.   Liang S. \"Modular Monadic Semantics and Compilation\" PhD dissertation University of Yale Yale 1998."},{"key":"e_1_2_1_11_1","volume-title":"Workshop on Language Definitions, Tools and Applications, LDTA'01","author":"Labra Gayo J. E.","year":"2001","unstructured":"Labra Gayo J. E. , Luengo Diez M. C. , Cueva Lovelle J. M. , and Cernuda del Rio A. , \"A Language Prototyping System Using Modular Monadic Semantics\" , Workshop on Language Definitions, Tools and Applications, LDTA'01 , Netherlands , 2001 . Labra Gayo J. E., Luengo Diez M. C., Cueva Lovelle J. M., and Cernuda del Rio A., \"A Language Prototyping System Using Modular Monadic Semantics\", Workshop on Language Definitions, Tools and Applications, LDTA'01, Netherlands, 2001."},{"key":"e_1_2_1_12_1","volume-title":"The 12th Nordic Workshop on Programming Theory","author":"Labra Gayo J. E.","year":"2000","unstructured":"Labra Gayo J. E. , Cueva Lovelle J. M. , Luengo Diez M. C. , and Gonzalez Rodriguez B. M. , \"A Language Prototyping Tool based on Semantic Building Blocks \", The 12th Nordic Workshop on Programming Theory , Bergen-Norway , 2000 . Labra Gayo J. E., Cueva Lovelle J. M., Luengo Diez M. C., and Gonzalez Rodriguez B. M., \"A Language Prototyping Tool based on Semantic Building Blocks\", The 12th Nordic Workshop on Programming Theory, Bergen-Norway, 2000."},{"key":"e_1_2_1_13_1","volume-title":"Proceeding of 6th Brazilian Symposium on Programming Languages, SBLP'02","author":"Labra Gayo J. E.","year":"2002","unstructured":"Labra Gayo J. E. , Luengo Diez M. C. , Cueva Lovelle J. M. , and Cernuda del Rio A. , \" Reusable Monadic Semantics of Object Oriented Programming Languages\" , Proceeding of 6th Brazilian Symposium on Programming Languages, SBLP'02 , PUC-Rio University, Brazil , 2002 . Labra Gayo J. E., Luengo Diez M. C., Cueva Lovelle J. M., and Cernuda del Rio A., \"Reusable Monadic Semantics of Object Oriented Programming Languages\", Proceeding of 6th Brazilian Symposium on Programming Languages, SBLP'02, PUC-Rio University, Brazil, 2002."},{"key":"e_1_2_1_14_1","volume-title":"LFCS Report ECS-LFCS-90-113","author":"Moggi E.","year":"1989","unstructured":"Moggi E. , \" An Abstract View of Programming Languages\" , LFCS Report ECS-LFCS-90-113 , University of Edinburgh , 1989 . http:\/\/www.lfcs.nformatics.ed.ac.uk\/reports\/90\/ECS-FCS-90-113\/. Moggi E., \"An Abstract View of Programming Languages\", LFCS Report ECS-LFCS-90-113, University of Edinburgh, 1989. http:\/\/www.lfcs.nformatics.ed.ac.uk\/reports\/90\/ECS-FCS-90-113\/."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1016\/0890-5401(91)90052-4"},{"key":"e_1_2_1_16_1","volume-title":"Proceeding of 2nd International Workshop on Rewriting Logic and its Applications, ENTCS 15","author":"Mosses P. D.","year":"1998","unstructured":"Mosses P. D. , \" Semantics , Modularity, and Rewriting Logic \" , Proceeding of 2nd International Workshop on Rewriting Logic and its Applications, ENTCS 15 , Elesvier Press, Netherlands , 1998 . Mosses P. D., \"Semantics, Modularity, and Rewriting Logic\", Proceeding of 2nd International Workshop on Rewriting Logic and its Applications, ENTCS 15, Elesvier Press, Netherlands, 1998."},{"key":"e_1_2_1_17_1","volume-title":"Proceeding of 9th IEEE Working Conference on Reverse Engineering","author":"Ouarbya L.","year":"2002","unstructured":"Ouarbya L. , Danicic S. , Daoudi M. , Harman M. , and Fox C. , \" A Denotational Interprocedural Program Slicer \", Proceeding of 9th IEEE Working Conference on Reverse Engineering , IEEE Press , Virginia , ( 2002 ): 181--189. Ouarbya L., Danicic S., Daoudi M., Harman M., and Fox C., \"A Denotational Interprocedural Program Slicer\", Proceeding of 9th IEEE Working Conference on Reverse Engineering, IEEE Press, Virginia, (2002): 181--189."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/390011.808263"},{"key":"e_1_2_1_19_1","volume-title":"Technical Report CSD-SW-TR-2-01","author":"Papaspyrou N. S.","year":"2001","unstructured":"Papaspyrou N. S. , \"A Resumption Monad Transformer and its Applications in the Semantics of Concurrency\" , Technical Report CSD-SW-TR-2-01 , National Technical University of Athens , 2001 . Papaspyrou N. S., \"A Resumption Monad Transformer and its Applications in the Semantics of Concurrency\", Technical Report CSD-SW-TR-2-01, National Technical University of Athens, 2001."},{"key":"e_1_2_1_21_1","volume-title":"Proceeding of 13th Annual Conference on Mathematical Foundations of Programming Semantics","author":"Power J.","year":"2000","unstructured":"Power J. , \" Modularity in Denotational Semantics\" , Proceeding of 13th Annual Conference on Mathematical Foundations of Programming Semantics , Elsevier Press, New York , 2000 . Power J., \"Modularity in Denotational Semantics\", Proceeding of 13th Annual Conference on Mathematical Foundations of Programming Semantics, Elsevier Press, New York, 2000."},{"key":"e_1_2_1_22_1","volume-title":"The Craft of Functional Programming","author":"Thompson S.","year":"1996","unstructured":"Thompson S. , \" Haskell : The Craft of Functional Programming \", Addison-Wesley , Harlow, England , 1996 . Thompson S., \"Haskell: The Craft of Functional Programming\", Addison-Wesley, Harlow, England, 1996."},{"key":"e_1_2_1_23_1","first-page":"121","volume":"3","author":"Tip F.","year":"1995","unstructured":"Tip F. , \"A Survey of Program Slcing Techniques\" , Journal of Programming Languages , 3 ( 1995 ): 121 -- 189 . Tip F., \"A Survey of Program Slcing Techniques\", Journal of Programming Languages, 3 (1995): 121--189.","journal-title":"Journal of Programming Languages"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/113445.113455"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/91556.91592"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/143165.143169"},{"key":"e_1_2_1_27_1","volume-title":"LNCS 925","author":"Wadler P.","year":"1995","unstructured":"Wadler P. , \" Monads for Functional Programming\" , Lecture Notes on Advanced Functional Programming Techniques , LNCS 925 , Springer-Verlag , Berlin ( 1995 ): 24--52. Wadler P., \"Monads for Functional Programming\", Lecture Notes on Advanced Functional Programming Techniques, LNCS 925, Springer-Verlag, Berlin (1995): 24--52."},{"key":"e_1_2_1_28_1","volume-title":"Master thesis","author":"Wansbrough K.","year":"1997","unstructured":"Wansbrough K. , \"A Modular Monadic Action Semantics \" , Master thesis , University of Auckland , Auckland , 1997 . Wansbrough K., \"A Modular Monadic Action Semantics\", Master thesis, University of Auckland, Auckland, 1997."},{"key":"e_1_2_1_29_1","first-page":"498","volume":"16","author":"Weiser M.","year":"1984","unstructured":"Weiser M. , \" Program Slicing \" , IEEE Transaction on Software Engineering , 16 ( 1984 ): 498 -- 509 . Weiser M., \"Program Slicing\", IEEE Transaction on Software Engineering, 16 (1984): 498--509.","journal-title":"IEEE Transaction on Software Engineering"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/981009.981013"},{"volume-title":"The 28th Annual International Computer Software and Applications Conference, COMPSAC 2004","author":"Zhang Y. Z.","key":"e_1_2_1_31_1","unstructured":"Zhang Y. Z. , Xu B. W. , Shi L. , Li B. X. , and Yang H. J ., \" Modular Monadic Program Slicing \", The 28th Annual International Computer Software and Applications Conference, COMPSAC 2004 , Hong Kong, China, 66--71. Zhang Y. Z., Xu B. W., Shi L., Li B. X., and Yang H. J., \"Modular Monadic Program Slicing\", The 28th Annual International Computer Software and Applications Conference, COMPSAC 2004, Hong Kong, China, 66--71."}],"container-title":["ACM SIGPLAN Notices"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1149982.1149986","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1149982.1149986","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T16:08:28Z","timestamp":1750262908000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1149982.1149986"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2006,5]]},"references-count":30,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2006,5]]}},"alternative-id":["10.1145\/1149982.1149986"],"URL":"https:\/\/doi.org\/10.1145\/1149982.1149986","relation":{},"ISSN":["0362-1340","1558-1160"],"issn-type":[{"type":"print","value":"0362-1340"},{"type":"electronic","value":"1558-1160"}],"subject":[],"published":{"date-parts":[[2006,5]]},"assertion":[{"value":"2006-05-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}