Permalink
Switch branches/tags
Nothing to show
Commits on Sep 28, 2012
  1. Merge pull request #12 from yakaz/fix-luerl_eval-call-with-lua-fun-ref

    rvirding committed Sep 28, 2012
    luerl_eval:call/3: Support the 5-elements function tuple
  2. Merge pull request #13 from yakaz/vim-swap-files-in-gitignore

    rvirding committed Sep 28, 2012
    Git: Ignore Vim swap files
  3. Merge pull request #10 from yakaz/fix-function-name-in-comment

    rvirding committed Sep 28, 2012
    Update function name in comment before luerl:loadfile/1
  4. Merge pull request #11 from yakaz/add-examples-makefiles

    rvirding committed Sep 28, 2012
    Add examples makefiles
Commits on Sep 26, 2012
  1. luerl_eval:call/3: Support the 5-elements function tuple

    dumbbell committed Sep 26, 2012
    This fixes the case where a reference to a function is returned by a Lua
    code and executed from an Erlang function.
    
    Here's a code sample:
        % Load Lua script.
        {ok, Chunk} = luerl:loadfile("callback.lua"),
        % Run the script: it returns a reference to a function.
        St = luerl:init(),
        {[Fun | _], St1} = luerl:do(Chunk, St),
        % Execute the returned Lua function.
        luerl:call(Fun, [], St1).
    
    The callback.lua script could be:
        function callback()
            print("It works!")
        end
        return callback
  2. Git: Ignore Vim swap files

    dumbbell committed Sep 26, 2012
  3. Examples have now their own Makefile

    dumbbell committed Sep 26, 2012
    Running make from the root directory won't build and run examples by
    default anymore. A new target is defined for that purpose:
        make examples
    
    One can build and run a single examples set by cd'ing into the examples
    set directory:
        cd examples/hello
        make
    
    Or he could make and run only one example inside this set:
        cd examples/hello
        make hello2
Commits on Sep 24, 2012
Commits on Sep 19, 2012
  1. Merge branch 'develop'

    rvirding committed Sep 19, 2012
    The table.XXX functions now all work properly on arrays.
Commits on Sep 18, 2012
  1. Add more to NOTES

    rvirding committed Sep 18, 2012
  2. Fix table.remove to work on arrays

    rvirding committed Sep 18, 2012
    We handle undefined input more like table.insert but ignore
    negative integers. Shoudl they be inverses?
Commits on Sep 17, 2012
  1. Fix table.insert to work on arrays

    rvirding committed Sep 17, 2012
    Code a little convoluted as we have tried to make it behave
    as the Lua function when handling undefined input.
  2. Clean up table.concat

    rvirding committed Sep 17, 2012
Commits on Sep 14, 2012
  1. Fix table.sort to work on arrays

    rvirding committed Sep 14, 2012
    We should probably do something smart with the array size to trim
    nil elements from end of array.
  2. Merge branch 'develop'

    rvirding committed Sep 14, 2012
  3. Add more to NOTES

    rvirding committed Sep 14, 2012
  4. add undefined method exception

    slepher committed with rvirding Aug 14, 2012
  5. add undefined method exception

    slepher committed with rvirding Aug 14, 2012
  6. add undefined method exception

    slepher committed with rvirding Aug 14, 2012
  7. add method_on_nil exception

    slepher committed with rvirding Aug 14, 2012
Commits on Sep 8, 2012
  1. More notes on table internals

    rvirding committed Sep 8, 2012
Commits on Sep 5, 2012
Commits on Jul 14, 2012
  1. Daily commit

    rvirding committed May 29, 2012
  2. Merge pull request #6 from chernser/master

    rvirding committed Jul 14, 2012
    Make luerl compatible with rebar
Commits on May 5, 2012
  1. Merge branch 'develop'

    rvirding committed May 5, 2012