微控制器的声明式编程--Arduino数据库
Declarative Programming for Microcontrollers -- Datalog on Arduino
摘要:
在本文中,我们描述了一种基于Arduino平台的微控制器编程方法,使用Datatron作为系统行为的清晰简洁的描述语言。廉价且易于编程的微控制器的应用领域,如机器人、家庭自动化和物联网设备,具有主流吸引力,通常被用作自然科学和技术教学的动力。用于微控制器的程序设计语言的选择受到严重限制,特别是关于基于规则的声明性语言。我们使用的方法,是基于Dedalus语言增强的操作,允许副作用,并考虑到微控制器的有限资源。我们的编译器和运行时环境允许在基于Arduino的系统上运行Datasheet程序。
英文摘要:
In this paper we describe an approach to programming microcontrollers based on the Arduino platform using Datalog as a clear and concise description language for system behaviors. The application areas of cheap and easily programmable microcontrollers, like robotics, home automation, and IoT devices hold mainstream appeal and are often used as motivation in natural science and technology teaching. The choice of programming languages for microcontrollers is severely limited, especially with regard to rule-based declarative languages. We use an approach that is based on the Dedalus language augmented with operations that allow for side-effects and takes the limited resources of a microcontroller into account. Our compiler and runtime environment allow to run Datalog programs on Arduino-based systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。