Erlua actually provides a C node (using EI interface) and supports:

  • almost all conversions between Erlang types and lua types
  • syntax checking of lua file or code chunk
  • execution of lua file or lua code chunk from Erlang
  • getting/setting lua table and fields from Erlang
  • lua function calls from Erlang
  • remote Erlang procedure call from lua

Erlua can be use for various purposes: to read configuration files written in lua, to embed a lightweight scripting language (lua) into an Erlang application, to use lua libraries from Erlang, etc.

Last edited by Cyril Romain