{"title":"模块化错误恢复","authors":"Jeeva Paudel, Christopher Dutchyn","doi":"10.1109/ICSM.2009.5306328","DOIUrl":null,"url":null,"abstract":"Error recovery in compilers often involves significant amounts of cognitive effort to identify the code and execution points in the compiler that are related to identifying and handling input-program errors. This is because current implementations fail to explicitly identify error-related control dependencies, and to separately characterize the actions to take when programming errors are detected. As a result, compiler writers need to navigate and understand much of the compiler source in order to replace or extend error recovery actions. In the context of AspectJ compiler (ajc), this paper encapsulates error concerns as aspects yielding improved modularity through: pointcuts that explicitly declare the loci of error detection, and advice that expose the extension points for error handling.","PeriodicalId":247441,"journal":{"name":"2009 IEEE International Conference on Software Maintenance","volume":"29 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-10-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Modularizing error recovery\",\"authors\":\"Jeeva Paudel, Christopher Dutchyn\",\"doi\":\"10.1109/ICSM.2009.5306328\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Error recovery in compilers often involves significant amounts of cognitive effort to identify the code and execution points in the compiler that are related to identifying and handling input-program errors. This is because current implementations fail to explicitly identify error-related control dependencies, and to separately characterize the actions to take when programming errors are detected. As a result, compiler writers need to navigate and understand much of the compiler source in order to replace or extend error recovery actions. In the context of AspectJ compiler (ajc), this paper encapsulates error concerns as aspects yielding improved modularity through: pointcuts that explicitly declare the loci of error detection, and advice that expose the extension points for error handling.\",\"PeriodicalId\":247441,\"journal\":{\"name\":\"2009 IEEE International Conference on Software Maintenance\",\"volume\":\"29 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-10-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2009 IEEE International Conference on Software Maintenance\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICSM.2009.5306328\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 IEEE International Conference on Software Maintenance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSM.2009.5306328","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Error recovery in compilers often involves significant amounts of cognitive effort to identify the code and execution points in the compiler that are related to identifying and handling input-program errors. This is because current implementations fail to explicitly identify error-related control dependencies, and to separately characterize the actions to take when programming errors are detected. As a result, compiler writers need to navigate and understand much of the compiler source in order to replace or extend error recovery actions. In the context of AspectJ compiler (ajc), this paper encapsulates error concerns as aspects yielding improved modularity through: pointcuts that explicitly declare the loci of error detection, and advice that expose the extension points for error handling.