近來許多特定領域均相當依賴程式撰寫,用於實驗模擬等。但泛用程式語言對非程式設計專家來說顯得過於複雜,且未必能適切表達特定領域裡的程式。特定領域語言的提出不但可簡化學習曲線,也可增加特定領域程式的可讀性。尤其是流程圖的方式,可讓非專業程式設計者簡易地撰寫程式。本研究設計一套流程圖式特定領域語言,實作並探討其優缺點。 流程圖DSL 沒有複雜的應用,僅以流程圖得要素Start、EndProcess、Decision、及而外建構的Loop,五種要素,組合成一個流程圖程式,相信流程圖在各領域是廣被用於表達其領域的設計或系統流程,MasonPy 撰寫DSL 時也沒有複雜的元件、指令,是個能輕易上手的DSL。MasonPy 提供基本的母模板,可提特定領域專家修改、擴充或代 換DSLs,DSL developer 能夠依母模板建構自定義的功能塊,設計其領域所需要的資料處理、科學運算、演算法設計……等等,將其加以設計包成功能塊來提供End-User 快速於流程圖上進行流程拼接使用,並附帶有MasonPy 專用的Debugger 協助提示錯誤訊息。;In recent years, there have been many domains highly dependent on programming. But general-purpose language is too complex for non-programming experts, and it can’t present programs in domain appropriately sometimes. Appearance of domain-specific language not only simplify the learning curve, but also increase readability in programs. Especially flow chart-like DSL, can make those who are not professional programmers to write programs easily. Our research made a flow chart-like DSL and compare with general-purpose language. The DSL, <MasonPy>, doesn’t have complicated usage and only made by five elements(Start, End, Process, Decision and Loop). Users use these five element to build a flow chart. I believe flow chart is used widely in many field’s design or system flow. <MasonPy> offers a basic class for domain experts to modify, expend or replace DSLs. Domain experts can construct their own function blocks, which can design their domain’s data processing, scientific operation, algorithm designing, etc. End-users can place those function blocks to become a flow chart. <MasonPy> also have a Debugger to show error messages.