Return to search

在Eclipse平台上發展的一套編輯環境生成系統 / A Generating System of Editing Environments On the Eclipse Platform

編輯器針對標的語言提供的編輯輔助,能夠幫助使用者縮短輸入的過程,並且避免輸入的錯誤。然而此種編輯器開發不易,因此大多數特定領域語言(Domain Specific Language)並無提供編輯輔助的專屬編輯器。Eclipse為一套普遍使用的開發環境與工具整合平台,提供了文字編輯器程式框架使建造此種編輯器成為可能,然而大多數的開發者仍然無法透過此複雜的框架開發少數人使用的編輯器。基於此種因素,我們實做EGOE這一套編輯器生成系統,以標的語言的定義為基礎,使用MDA模型驅動的方式在Eclipse平台上自動生成編輯器,使之為標的語言提供結構化編輯與純文字編輯等不同的編輯方式,並且於文字編輯時提供醒目提示、內容輔助與文字喜好設定等編輯相關的輔助功能。 / An editor with special editing aids for a language can increase efficiency and reduce errors while editing sources of the target language. Although of great use, this kind of editors were difficult to create as witnessed by the lack of a language-specific editor (LSE) for most domain specific languages. As the release of Eclipse, however, the situation is changing. Eclipse is an integrated development environment (IDE) firstly published in late 2001 but quickly emerged as a most used IDE. It is indeed also a tool integration platform providing, besides others, a text editor framework, thus making the development of LSEs on Eclipse possible. However, due to the complication of the platform and, especially, the editor framework, it is not easy at all to develop an LSE directly on the framework without any help. We thus in this thesis propose alternatively a generating system of editing environments on the Eclipse platform, which, when given an editing-related specification of the target language, can apply the model-driven approach as suggested by OMG's MDA to generate an editing environment for the target language on Eclipse. The generated editor provides both structured and text editing capabilities. For text editing, we add among its functionalities those such as syntax highlight, content assist and preferences setting for the target language.

Identiferoai:union.ndltd.org:CHENGCHI/G0917530341
Creators黃立昇, Huang, Li-Sheng
Publisher國立政治大學
Source SetsNational Chengchi University Libraries
Language中文
Detected LanguageEnglish
Typetext
RightsCopyright © nccu library on behalf of the copyright holders

Page generated in 0.0017 seconds