Commits on Sep 28, 2012
  1. @rvirding

    Merge pull request #12 from yakaz/fix-luerl_eval-call-with-lua-fun-ref

    luerl_eval:call/3: Support the 5-elements function tuple
    rvirding committed Sep 27, 2012
  2. @rvirding

    Merge pull request #13 from yakaz/vim-swap-files-in-gitignore

    Git: Ignore Vim swap files
    rvirding committed Sep 27, 2012
  3. @rvirding

    Merge pull request #10 from yakaz/fix-function-name-in-comment

    Update function name in comment before luerl:loadfile/1
    rvirding committed Sep 27, 2012
  4. @rvirding

    Merge pull request #11 from yakaz/add-examples-makefiles

    Add examples makefiles
    rvirding committed Sep 27, 2012
Commits on Sep 26, 2012
  1. @dumbbell

    luerl_eval:call/3: Support the 5-elements function tuple

    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
    dumbbell committed Sep 26, 2012
  2. @dumbbell

    Git: Ignore Vim swap files

    dumbbell committed Sep 26, 2012
  3. @dumbbell

    Examples have now their own Makefile

    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
    dumbbell committed Sep 26, 2012
  4. @dumbbell
  5. @dumbbell
Commits on Sep 24, 2012
  1. @dumbbell
Commits on Sep 19, 2012
  1. @rvirding

    Merge branch 'develop'

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

    Add more to NOTES

    rvirding committed Sep 18, 2012
  2. @rvirding

    Fix table.remove to work on arrays

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

    Fix table.insert to work on arrays

    Code a little convoluted as we have tried to make it behave
    as the Lua function when handling undefined input.
    rvirding committed Sep 18, 2012
  2. @rvirding

    Clean up table.concat

    rvirding committed Sep 17, 2012
  3. @rvirding
  4. @rvirding
Commits on Sep 14, 2012
  1. @rvirding

    Fix table.sort to work on arrays

    We should probably do something smart with the array size to trim
    nil elements from end of array.
    rvirding committed Sep 15, 2012
  2. @rvirding

    Merge branch 'develop'

    rvirding committed Sep 15, 2012
  3. @rvirding

    Add more to NOTES

    rvirding committed Sep 15, 2012
  4. @rvirding
  5. @rvirding
  6. @rvirding
  7. @rvirding
  8. @rvirding

    add undefined method exception

    slepher committed with rvirding Aug 14, 2012
  9. @rvirding

    add undefined method exception

    slepher committed with rvirding Aug 14, 2012
  10. @rvirding

    add undefined method exception

    slepher committed with rvirding Aug 14, 2012
  11. @rvirding

    add method_on_nil exception

    slepher committed with rvirding Aug 14, 2012
Commits on Sep 8, 2012
  1. @rvirding

    More notes on table internals

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

    Daily commit

    rvirding committed May 29, 2012
  2. @rvirding
  3. @rvirding

    Merge pull request #6 from chernser/master

    Make luerl compatible with rebar
    rvirding committed Jul 14, 2012
  4. @chernser
Commits on May 5, 2012
  1. @rvirding

    Merge branch 'develop'

    rvirding committed May 5, 2012