{"title":"应用设计模式自行开发一个Java预处理器","authors":"M. Komuro, Akefumi Kumeta","doi":"10.1109/CMPSAC.1998.716676","DOIUrl":null,"url":null,"abstract":"An application of design patterns in the domain of language processing is presented. The target of the paper is a Java preprocessor which enables one, not only to add new features to the Java language but also to rewrite existing Java programs. Making use of several design patterns, including Reflection Architectural Pattern, we successfully create a framework for language processing in Java. In particular we design and implement a core language extension of Java so that self development and maintenance of the framework are possible. Several applications of the Java preprocessor and the framework are described, which include enumeration type definition, method tracer, and generic type definition mechanism.","PeriodicalId":252030,"journal":{"name":"Proceedings. The Twenty-Second Annual International Computer Software and Applications Conference (Compsac '98) (Cat. No.98CB 36241)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1998-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Application of design patterns for the self-development of a Java preprocessor\",\"authors\":\"M. Komuro, Akefumi Kumeta\",\"doi\":\"10.1109/CMPSAC.1998.716676\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"An application of design patterns in the domain of language processing is presented. The target of the paper is a Java preprocessor which enables one, not only to add new features to the Java language but also to rewrite existing Java programs. Making use of several design patterns, including Reflection Architectural Pattern, we successfully create a framework for language processing in Java. In particular we design and implement a core language extension of Java so that self development and maintenance of the framework are possible. Several applications of the Java preprocessor and the framework are described, which include enumeration type definition, method tracer, and generic type definition mechanism.\",\"PeriodicalId\":252030,\"journal\":{\"name\":\"Proceedings. The Twenty-Second Annual International Computer Software and Applications Conference (Compsac '98) (Cat. No.98CB 36241)\",\"volume\":\"6 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1998-08-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings. The Twenty-Second Annual International Computer Software and Applications Conference (Compsac '98) (Cat. No.98CB 36241)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CMPSAC.1998.716676\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings. The Twenty-Second Annual International Computer Software and Applications Conference (Compsac '98) (Cat. No.98CB 36241)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CMPSAC.1998.716676","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Application of design patterns for the self-development of a Java preprocessor
An application of design patterns in the domain of language processing is presented. The target of the paper is a Java preprocessor which enables one, not only to add new features to the Java language but also to rewrite existing Java programs. Making use of several design patterns, including Reflection Architectural Pattern, we successfully create a framework for language processing in Java. In particular we design and implement a core language extension of Java so that self development and maintenance of the framework are possible. Several applications of the Java preprocessor and the framework are described, which include enumeration type definition, method tracer, and generic type definition mechanism.