This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lua [2015/06/06 21:56] terrye [NodeMCU] Typo |
lua [2017/06/27 01:18] (current) terrye |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Lua ====== | ====== Lua ====== | ||
- | There are 2 "branches:" of Lua now for ESP8266, and both are now open source. Confusingly, both use the word Node in their name - NodeLua and NodeMcu! | + | There is one version Lua for the ESP8266 (and ESP32), that is still under active development and maintenance: [[https://github.com/nodemcu/nodemcu-firmware|NodeMCU Lua Firmware on GitHub]] with its online documentation set available [[https://nodemcu.readthedocs.io/en/dev/|here]]. |
- | As [[http://lua.org|lua.org]] says, Lua is a powerful, fast, lightweight, embeddable scripting language. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. | + | After initial closed source development by the [[NodeMCU]] hardware developers, they released the software project to open-source in October 2014, and soon after invited a core group of community contributors to take over the software project. This team has made some 1,800 material commits to the software base in the 3 years since the projects move to GitHub, with some 60 hardware and software modules now supported. For further details see the online documentation. |
- | + | ||
- | * Lua is small: the Lua interpreter easily fits in under 100 kilobytes including the base libraries. | + | |
- | * Lua is fast: independent benchmarks show that Lua is often amongst the fastest interpreted dynamic languages. The Lua interpreter has been extensively tuned for high performance. | + | |
- | + | ||
- | ===== NodeMCU ===== | + | |
- | + | ||
- | * [[NodeMCU]] - Initially this was closed source, but was released to open-source in October 2014. This firmware is based on the [[http://www.eluaproject.net/overview|eLua]] platform and migrated to the ESP8266 and SDK.It is under active development by esp8266 open source community. It helps you to prototype your IOT product within a few Lua script lines. | + | |
- | + | ||
- | ===== NodeLua ===== | + | |
- | + | ||
- | * [[NodeLua]] - A open source firmware runs Lua code on ESP8266, written by Harold L. | + | |
- | * [[NodeLua WebIDE]] - A pure web-based tool works with [[NodeLua]] for Lua programming and run codes on ESP8266 over-the-air. | + | |
- | * This project is now moribund with the last updates over 6 months ago. | + | |
+ | A second version of Lua know as [[NodeLua]] stopped development in December 2014, soon after NodeMCU Lua was open-sourced, and is now moribund, as it does not work with any of version 1.x or 2.x releases of the Espressif non-OS SDK. |