首页> 外文会议>International Symposium on Trends in Functional Programming >A Shallow Embedded Type Safe Extendable DSL for the Arduino
【24h】

A Shallow Embedded Type Safe Extendable DSL for the Arduino

机译:Arduino的浅嵌入式安全可扩展的DSL

获取原文

摘要

This paper extends our method to construct a shallow embedded domain specific language, DSL, embedded in a function programming language. We show how one can add functions and tasks that are typed by the type system of the functional host language. The DSL is clearly separated from its host functional language to facilitate the compilation to small executables in C++. The type system of the host language verifies the types in the DSL, including the types and proper use of variables. The DSL is extendable by new language constructs and interpretations without breaking any existing code. The type system guarantees that everything used in a DSL program is properly defined. We apply these techniques for a DSL to program Arduino microprocessor systems from Clean. The long term goal is to incorporate these microprocessors in the iTask system.
机译:本文扩展了我们的方法来构建浅埋域特定语言,DSL,嵌入功能编程语言。我们展示了如何添加功能主机语言类型系统键入的函数和任务。 DSL明显地与其主机功能语言分开,以促进对C ++中的小型可执行文件的编译。主机语言的类型系统验证DSL中的类型,包括类型和正确使用变量。 DSL可通过新语言构造和解释可扩展,而不会破坏任何现有代码。类型系统保证了DSL程序中使用的一切都已正确定义。我们为DSL应用了这些技术,以便从清洁中编程Arduino微处理器系统。长期目标是将这些微处理器纳入衣架系统中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号