近年來越來越多資訊應用領域,開始採用領域特定語言(Domain Specific Language)以表達並解決其領域問題。然而這些特定領域語言多數卻缺乏可大大提升生產力的高品質編輯輔助工具。其主因乃因為從頭開發一套高品質編輯輔助工具所費不貲,然這些特定領域語言普及程度卻遠不如一般通用語言,是以缺乏誘因驅使軟體商開發相關工具。為能快速開發輔助工具,現今的工具開發平台如Eclipse、IDEA,以及NetBeans等,均提供整合開發環境(IDE)的發展支援,以利開發者在平台上快速擴增新語言之編輯環境。即使如此,要發展一套IDE,開發者不僅需深入熟悉所用平台,而且仍需繁瑣與長時間之開發過程。基於此,為求更簡化IDE開發過程,本研究嘗試增強、重構先前開發之雛型系統EGOE【9】,發展出一套遵循模型驅動架構(MDA)之高品質語言編輯環境生成系統:EGOE II。經由此系統的輔助,IDE開發者僅需提供程式語言文法定義(Grammar)及IDE輔助機制客制化資訊,即能套用系統內部的模型轉換程式及程式樣板(Templates),自動生成以Eclipse為平台的高效能、高品質,且提供豐富編輯輔助的程式語言IDE。 / In recent years more and more fields of applications began to use DSLs(Domain Specific Language) to solve their problems. However, most of these languages were created without accompanying high-quality language specific editors(LSE) to help increase the productivity of the language. The reason for the lack of such tools is mostly economic consideration: because of the very high cost of developing a LSE from scratch, it is not worthwhile to invest a LSE on a less frequently used language. To avoid developing an LSE from scratch, however, most present tool platforms such as Eclipse, IDEA or NetBeans have offered required editor frameworks and APIs to help developers to be able to build LSEs on these platform more quickly and easily. Even so, however, it is still thought hard to develop a LSE by way of platform support since developers need a long and steep learning before they can get adept at a platform and, moreover, the process of developing a LSE remains long, tedious and error-prone. Accordingly, to enable even quicker development of LSEs, we proposed and have developed in this paper a high quality editing environment generating system called EGOE II, which follows the MDA approach and is the refactoring and enhancement of our previous prototype EGOE system. With EGOE II, the developer need only offer an editor-specific specification of the target language, which includes the grammar and editor-related customization informations; he can then apply to it the model translator and program templates provided by the system to automatically produce a high-quality editor on Eclipse platform for the target language.
Identifer | oai:union.ndltd.org:CHENGCHI/G0095753003 |
Creators | 詹亞騰, Chan, Ya Teng |
Publisher | 國立政治大學 |
Source Sets | National Chengchi University Libraries |
Language | 中文 |
Detected Language | English |
Type | text |
Rights | Copyright © nccu library on behalf of the copyright holders |
Page generated in 0.0056 seconds