標題: | 以流程為基礎的程式編輯之研究 A Study of Flow-Based Program Editing |
作者: | 張富吉 Fuh-Jyi Chang 王豐堅 Dr. Feng-Jian Wang 資訊科學與工程研究所 |
關鍵字: | 流程為基礎; 語言為基礎; MVC;flow-based; language-based; MVC |
公開日期: | 1994 |
摘要: | 本論文的主要目的,在研究如何開發一套較佳的程式撰寫╱測試工具-以 流程為基礎的程式編輯器 (Flow Based Program Editor, FBPE)。基本 上 FBPE 是一種語言為基的編輯器 (language based editor)。大部分以 語言為基礎的編輯器,是以文字的形式顯示程式;FBPE則採取另一種做法 ,以圖形方式將程式呈現出來。在 FBPE 中,每一個程式敘述 (program statement) 都包含在一個框架 (frame)內,各個框架之間則以線條 (arc) 連接,代表程式內各敘述之間的控制流程 (control flow) 和資料 流程 (data flow)。除此之外,FBPE 還具有多層次顯示 (multi-level display) 的功能。在 FBPE 內,任何一種程式語言架構 (programming language construct),其內所含的所有敘述都可以全部收縮起來,亦可 全部展現出來,如 while迴圈的本體部分。為了簡化多層次顯示功能所帶 來的複雜情形,此論文中嘗試利用 Model View Controller (MVC) 的觀 念,描述 FBPE 中各種圖形物件 (visual object) 之間的關係。 This thesis works on developing a tool for program editing and testing, which is called a Flow Based Program Editor (FBPE). An FBPE is basically a language based editor. While most language based editors display programs textually, an FBPE, on the other hand, tries to present a program in a graphical form. Program statements in an FBPE are contained in frames which are connected with arcs depicting control flow and data flow between statements. In addition, an FBPE is capable of displaying frames in multi levels. It is possible to shrink or expand a language construct's content, such as the body of a while loop. To simplify implementation complexity introduced by the multi-level display function, the Model View Controller (MVC) concept is employed for modeling relationship between various visual objects in an FBPE. |
URI: | http://140.113.39.130/cdrfb3/record/nctu/#NT830392044 http://hdl.handle.net/11536/58966 |
顯示於類別: | 畢業論文 |