Font Size: a A A

An Evolution-oriented Program Design Language

Posted on:2016-05-20Degree:MasterType:Thesis
Country:ChinaCandidate:D S LuoFull Text:PDF
GTID:2308330461967263Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In the real world, each material system has different properties, but there are a lot of the same attribute of the entity in the material system. For example, every creature has attribute of age, gender and life in biological system; every star has attribute of quality, velocity and gravity in celestial system.To such evolving system, on account of massive entities in the system, and interplay of instances are occasional and random, it is difficult to simulate this complex movement form. The people who research evolving system mostly are biologists and astronomers, and not familiar with computer programming. They need to consider concurrent programming, time-driven, message-driven, etc. Therefore, it is difficult to simulat or evolve systems by using computer programming. However, computer workers without domain expertise also have problems to write complete programs. In consideration of few people have a combination of computer programing and domain expertise knowledge, the objective of this article is to design a evolution-oriented programming language.The article analyzes evolving system’s characteristic in program design aspect: evolution-oriented include time-driven and message-driven thought. It needs a dispatch table ordered by time to control periodic execution of individual entity, and interplay of instances can be passed by messages. Then entire system can be evolved through the evolution of entities themselves. In addition, on account of enormous amounts of entities in system, it is necessary to use multithread programming technique; and for ease of programming, the language’s design favors declarative programming, which embodies "What", but not "How", within the code. Therefore, developer can focus on urgent issues because of reducing learning costs.Paper’s main job has two aspects. On the one hand, program design adopts XML which is concise, well-understood, easy-learned and cross-platform as source language. By using XSD to regulate XML, the subject of evolving system is divided into two parts:entity and message. Entity has properties and behavior, and the relationships of entities depend on message passing. A fine design specification of XSD makes XML has capacity to describe sound environments of evolving systems, which we should work hard to improve.Paper’s second job is to design a compiler. As extensible markup language, XML is not available to be compiled. JAVA language has ability of concurrency and cross-platform can be our compiled language. Our paper describe design principle of JAVA compiler. Through designing message pool, entity and thread pool, JAVA compiler can combine time-driven, message-driven and concurrent programming. As a consequence, writing programs by using XML will no longer consider the problem of program design.
Keywords/Search Tags:evolution, XML, JAVA, compiler
PDF Full Text Request
Related items