Skip to content

An Erlang linked-in driver that allows embedding Lua into the Erlang VM

Notifications You must be signed in to change notification settings

darrikmazey/erl-lua

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of raycmorgan's erl-lua erlang-lua integration library. The original is available here

Example:

1> {ok, L} = lua:new_state().
{ok,{lua,#Port<0.771>}}
2> lua:dostring(L, "t = {a=1;b='test';c={a='whatever'}}").
ok
3> lua:gettable(L, global, "t").
[{"a",1},{"c",[{"a","whatever"}]},{"b","test"}]

The aim of this library is to enable a high-level embedded-lua API for use in configuration processing and extension coding for erlang projects. For a real-world example of this in action, see darrikmazey/erlmon

About

An Erlang linked-in driver that allows embedding Lua into the Erlang VM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 55.9%
  • C 44.1%