Font Size: a A A

Research On Calculation Method For Domain-Specific Language In The Field Of Educational Information Management

Posted on:2011-01-21Degree:MasterType:Thesis
Country:ChinaCandidate:Z P LiFull Text:PDF
GTID:2178360302992079Subject:Education Technology
Abstract/Summary:PDF Full Text Request
Modeling language is the model of realistic environment, is the epitome of true system, and provides a systemic design patterns for solving specific problems. The times of Cloud Computing has come, and there are new requirements in the new times. Service becomes the dominant theme in the new times, the field of computer software should also keep up with the new times and provide high-quality services for users. This paper try to break the traditional process of design-development, and offer a overall conception,which transforms from"developers-design paradigm"to"users-design paradigm". The developer designs the domain specific modeling language, and the user describes their demands by means of the domain specific modeling. At the same time,the basic services are called to meet the user.UML(Unified Modeling Language) is an standard modeling language in object-oriented field, and it is increasingly accepted by insiders, therefore there are so many research for UML. There are little research about the field of calculating method, so this paper try to study this problem adopting the design concept of modeling language ,using the functional programming language-F#.This paper puts forward the design model of"three-step":scanner, parser and engine.Firstly, the design of the scanner. The scanner transforms the users'string to a series of Token sequence using the regular expressions. The regular expression are powerful, efficient and convenient text processing. It is used to retrieve the texts,which meet the demand in text editors. Almost any kind of programming language support the regular expression, and match the string using regular expressions.Secondly, the design of parser. The parser goes over the identifiers, and generates a syntactic tree. CFG is the core of the parser. It is a powerful mathematical model of description language. Almost any programming language can be designed by CFG. The designers must obtain the CFG,and then design the tailored compilers and interpreter when they design the compilers and interpreter for a programming language, or the designs may not be suitable.Thirdly, the design of engine. The purpose of the engine is to output the calculation for the syntactic tree. There is a recursive function in the engine, which decomposition the syntactic tree top-to-bottom up to the end case, and then calculate the result back to top step by step.This paper designs the design model of"three-step"on behalf of arithmetic operation, and then give an example of relational algebra and graphics language. It's urgent to develop the graphics language, and it's my further study.The last but not the least, there are the shortage of the paper and the direction of the further research.
Keywords/Search Tags:scanner, parser, engine, regular expression, context-free grammar, F#
PDF Full Text Request
Related items