用LISA生成器实现领域专用语言EasyTime
Implementation of the Domain-Specific Language EasyTime using a LISA Compiler Generator
摘要:
如今,在大众体育比赛中使用手动时间测量工具是无法想象的,因为许多现代比赛,如铁人三项,需要很长的时间,因此需要额外的可靠性。此外,基于RFID技术的自动计时设备已经变得更便宜。然而,这些设备不能独立操作,因为它们需要计算机测量系统,该计算机测量系统能够处理输入的事件,编码结果,将它们分配给正确的竞争者,根据所实现的时间对结果进行排序,然后提供结果的列表。在这篇文章中,领域特定的语言EasyTime,它使控制的代理写在一个数据库中的事件。特别是,我们专注于EasyTime的实现与LISA工具,使编译器的自动建设,从语言规范使用属性语法。通过使用EasyTime,我们还可以减少测量设备的数量。此外,EasyTime是通用的,可以在实践中应用于许多不同的体育比赛。
英文摘要:
A manually time-measuring tool in mass sporting competitions cannot be imagined nowadays because many modern disciplines, such as IronMan, take a long time and, therefore, demand additional reliability. Moreover, automatic timing devices, based on RFID technology, have become cheaper. However, these devices cannot operate stand-alone because they need a computer measuring system that is capable of processing the incoming events, encoding the results, assigning them to the correct competitor, sorting the results according to the achieved times, and then providing a printout of the results. In this article, the domain-specific language EasyTime is presented, which enables the controlling of an agent by writing the events in a database. In particular, we are focused on the implementation of EasyTime with a LISA tool that enables the automatic construction of compilers from language specifications using Attribute Grammars. By using of EasyTime, we can also decrease the number of measuring devices. Furthermore, EasyTime is universal and can be applied to many different sporting competitions in practice.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。