Test-Driven Development (TDD) is the practice of attempting to use the software you intend to write, before you write it. The premise is straightforward, but the specifics of applying it in different domains can be co...
详细信息
ISBN:
(纸本)9789897580659
Test-Driven Development (TDD) is the practice of attempting to use the software you intend to write, before you write it. The premise is straightforward, but the specifics of applying it in different domains can be complex. In this paper, we provide aTDD approach for language development. The essence is to apply TDD at each of four levels of language processing, hence we call our approach Multi-Level TDD, or MLTDD. MLTDD can be applied to programminglanguages, preprocessors, domain specific languages, and transformation engines. MLTDD was used to build Umple, a model-orientedprogramminglanguage available for Java, Ruby, and PHP. We present two case studies where this approach was implemented to develop two other domain specific languages.
暂无评论