打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Lua Port and Python Translator

Status:

Introduction: Lua is a lightweight, embeddable scripting language. Its code base is around 17,000 lines of code. It was developed to support strong communication between the Lua run-time environment and executing C programs. Python is another popular scripting language. The code base for Python is an order of magnitude larger that that of Lua, which causes problems when trying to port Python to an embedded system. The cause of this comes from the extensive library support that is part of the Python interpreter. This library is a major reason why Python is popular, but does serve as a draw-back here.

Currently, these two languages are not directly supported in RTEMS. The goal of this project is to bring both (or at the very least Lua and a subset of Python) to RTEMS.

Goal: In this project, a Lua library will be added to RTEMS, in order to support run-time scripting. In conjunction with the Lua library, a Python translator will be created. This will allow Python scripts to be executed in Lua without porting Python to RTEMS. Finally, Lua will be modified to provide an environment as an alternative shell in RTEMS.

Requirements:

Resources: Current partial port of Lua can be found here

Miscellaneous Sections

As the project progresses, you will need to add build instructions, etc and this page will evolve from a project description into a HOWTO.


本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Lesson 3. Porting code to 64
windows环境下用python3 创建虚拟环境
用CMake编译lua
Python 配置虚拟环境,让你的软件干干净净…
virtualenv和conda的区别及windows 10上的部署
Win10 64位系统下安装Python3及pip3
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服