JUCS - Journal of Universal Computer Science 23(10): 953-968, doi: 10.3217/jucs-023-10-0953
PsiLight: a Lightweight Programming Language to Explore Multiple Program Execution and Data-binding in a Web-Client DSL Evaluation Engine
expand article infoEnrique Chavarriaga, Francisco Jurado§, Fernando Díez§
‡ Universidad Autónoma de Madrid, Madrid, Spain§ Universidad Autónomade Madrid, Madrid, Spain
Open Access
Abstract
Domain-Specific Languages (DSLs) allow building software applications by simplifying the labour of both software engineers and domain experts thanks to the abstraction provided by a high-level code. Introducing a DSL in the software development process requires the use of technologies and frameworks in the design and implementation activities. If we are restricted to web-client applications, then XML-based languages and JavaScript frameworks and widgets are commonly used and combined in order to provide fast, robust and flexible solutions. Under this scenario, we have developed the PsiEngine, an interpreter able to evaluate programs coded in high-level XML-based DSLs (XML-DSLs) to provide solutions to domain specific problems within a web-client application. Thus, the goal of this article is to detail how we have built PsiLight, a lightweight programming language that runs on web-client. PsiLight supposes the exploratory case study we have conducted to check some features of PsiEngine, namely: multiple programs execution and data-binding capabilities in our interpreter.
Keywords
domain-specific language, XML, XML Interpreter, JavaScript, Web application, XML programing language, data access object