Skip to content

Port of Lua 4 for ESP32 (ESP-IDF)

License

Notifications You must be signed in to change notification settings

SakuraNoKisetsu/esp32_lua_glue

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Lua Glue   Badge License

A port of Lua 4 for the ESP32 / ESP-IDF.


Description

This project aims to recover the original
use of Lua - that is - a glue language.

Nothing more and nothing less.


Problem

During these last years Lua has matured as a
language becoming quite complete exceeding
the original ideas for which it was created.

It has also grown in both size and complexity which is
not always desirable for small or speed-critical projects.


Lua 4

This version has several advantages:

  • Static ( no more modifications )
  • Easy to understand / modify
  • Simple
  • Small

Alternatives

If you really need a complete and mature language
to embed in your applications you should consider
alternatives like NodeMCU



Libraries

Only basic libraries that can serve as an interface
between the program and Lua's logic are added.

Any other functionality will be usage dependent
and will need to be added based on your usage.



Data Types

Minimal functionality for full external data types is
provided, these types are specified in IEC 61131-3,
please refer to the Wiki for more information.



Networking

WiFi

Can connect, disconnect and scan.


TFTP

Provides a simple TFTP server.



Memory

  • Managed memory consumption

  • Free space

  • Tasks



Todo

  • Complete minimal libraries

  • Add ssh to console

  • Write documentation

  • Add persistence / serialization


About

Port of Lua 4 for ESP32 (ESP-IDF)

Resources

License

Stars

Watchers

Forks

Languages

  • C 99.4%
  • Other 0.6%