{"title":"Customizing C++ to improve the reusability of class libraries","authors":"T. Kojima, A. Sugimoto","doi":"10.1109/ICCL.1994.288392","DOIUrl":null,"url":null,"abstract":"OPTEC is a language extension tool for customizing a strongly typed object-oriented language to improve the usability of specific class libraries. Using OPTEC, a system specific language for non-expert programmers call be built easily by extending C++. The system specific language supports selection of the appropriate private class from the class libraries, simplifies the use of the class, and makes it easy to define a subclass from an abstract class. The language extensions of C++ can be defined by transformation rules. OPTEC uses a tree rewriting method, in which semantic analysis is integrated. We first describe how extension and customization of the C++ language is effective for increasing the reusability of a library. Then, we illustrate the usability of OPTEC by means of extension rule examples, and present an efficient algorithm to apply rules. We also show a software organization of OPTEC and its application result.<<ETX>>","PeriodicalId":137441,"journal":{"name":"Proceedings of 1994 IEEE International Conference on Computer Languages (ICCL'94)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1994-05-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of 1994 IEEE International Conference on Computer Languages (ICCL'94)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCL.1994.288392","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
OPTEC is a language extension tool for customizing a strongly typed object-oriented language to improve the usability of specific class libraries. Using OPTEC, a system specific language for non-expert programmers call be built easily by extending C++. The system specific language supports selection of the appropriate private class from the class libraries, simplifies the use of the class, and makes it easy to define a subclass from an abstract class. The language extensions of C++ can be defined by transformation rules. OPTEC uses a tree rewriting method, in which semantic analysis is integrated. We first describe how extension and customization of the C++ language is effective for increasing the reusability of a library. Then, we illustrate the usability of OPTEC by means of extension rule examples, and present an efficient algorithm to apply rules. We also show a software organization of OPTEC and its application result.<>