Font Size: a A A

Design And Implementation Of Automatic Task Execution And Management Tools Based On DSL

Posted on:2013-08-10Degree:MasterType:Thesis
Country:ChinaCandidate:F YanFull Text:PDF
GTID:2248330371485367Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of high technology, computer has become the essential dailylife tools in the daily lives, and the interaction between people and computer become moreand more frequently. In the high-tech times, a large amount of projects are following, butpeople are not good at executing the repetition works, People will gradually get bored andbegan to omit steps or miss showing the wrong indicator. When people try to do the samething dozens of times above, human’s thinking will be even more terrible, which will affectthe efficiency of the project. How to let the management personnel and business expertsexecute task and management under the condition of no technical background and how to letthe enterprise can independent configuration and update function module along with theservice change, namely achieve the automaton task execution and management. This becomesthe demand tools for multitudinous management personnel and enterprise.According to this demand, this paper studied and designed the automatic task executionand management tools---DSLMAKE based on Domain-specific language. DSL(DomainSpecific Language) is the clear language of small for designing in the software development.Their role is that use the old symbol or representation in a particular field process modeling tothe entity in this field. This is the different aspect of offering unified symbol general modelinglanguage (for example UML). Another difference is that the UML are often used as thedocument analysis or design deliverables. But DSL can be used as model tools, and can alsobe used as a code generator. DSL is used for problem domain, and it is used to solve specificproblems. Its major characteristic is more expression of specific problem domain, which is themost different from common program programming language. Programming language is notfacing the specific problem domain, but it is used in general problem domain.This paper presents a development of DSL-based automation tool to indicate the methodand process of design and implementation of a internal DSL. In particularly speaking, it is todesign a DSL language which is appropriate to express the meaning of a task, usingmeta-programming techniques of Dynamic programming language Python to implement thisDSL and packaged it as a separate tool; To establish the development process and the releaseplanning by the soul of Agile methodology, and managing the code and documentation by a version control system.DSLMAKE includes the following several major modules:(1) task module: It is core module, and its responsibility is task’s establishment、movement and the output of the task list.(2) shell module: It is auxiliary module, and is responsible for controlling shellprogram’s movement.(3) path module: It is auxiliary module, and is responsible for controlling the functionsbase of file system, and it has characteristics of cross-platform.(4) flag module: It is auxiliary module, and is responsible for implementing markedfunctions sets.(5) bootstrap module: It is external tools module, and is responsible for implementingautomatic makefile functions sets severed from tool environment.The features of DSLMAKE is:(1) To express the exact meaning of tasks simply and clearly by using of DSL syntaxdefinition.(2) Create and run task script in the way to task. For the large application, almost alwaysneed for database migration, the empty cache or code support and write script. For each task,it may need some several scripts, which will let management become complicated. Tidy thisto together in the way with task, the management become much easier.(3) Easy flag definition used to mark the task in the different stages and run in thecommand line.(4) Tracking and management tasks interdependence. DSLMAKE provides easy taskmanagement between the way dependent on, the task of the executive is between successivelyoptimization;(5) A complete tool kit, easy to install and use.(6)Cross-platform and regardless of file systems.
Keywords/Search Tags:Domain Specific Language, Automation tool, Python, Agile software development
PDF Full Text Request
Related items