Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Oct 30, 2012
  1. Robert Virding

    Merge branch 'develop'

    rvirding authored
  2. Robert Virding
Commits on Oct 22, 2012
  1. Robert Virding

    Merge branch 'develop'

    rvirding authored
  2. Robert Virding

    Add functions call and method to call functions

    rvirding authored
    These functions are for users to call already defined
    functions/methods in the state. The XXX1 versions don't encode/decode
    their arguments and values.
Commits on Oct 11, 2012
  1. Robert Virding

    Use ttdict instead of orddict to store non-numeric keys

    rvirding authored
    Actually we use a provate copy of the ttdict library (yet to be
    added to OTP) which contains extra functions first/next/last/prev
    for stepping over key-value pairs.
Commits on Oct 10, 2012
  1. Robert Virding

    Have separate functions for sequences

    rvirding authored
    We now have separate functions for sequences like 'var', 'funcname'
    etc. They could be merged but this makes it clearer what we are
    doing.
  2. Robert Virding
Commits on Sep 29, 2012
  1. Robert Virding

    Fix bug in gc()

    rvirding authored
Commits on Sep 28, 2012
  1. Robert Virding
  2. Robert Virding
  3. Robert Virding

    Add more to NOTES

    rvirding authored
  4. Robert Virding
  5. Robert Virding
  6. Robert Virding

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

    rvirding authored
    luerl_eval:call/3: Support the 5-elements function tuple
  7. Robert Virding

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

    rvirding authored
    Git: Ignore Vim swap files
  8. Robert Virding
  9. Robert Virding

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

    rvirding authored
    Update function name in comment before luerl:loadfile/1
  10. Robert Virding

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

    rvirding authored
    Add examples makefiles
Commits on Sep 26, 2012
  1. Jean-Sébastien Pédron

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

    dumbbell authored
    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. Jean-Sébastien Pédron

    Git: Ignore Vim swap files

    dumbbell authored
  3. Jean-Sébastien Pédron

    Examples have now their own Makefile

    dumbbell authored
    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
  4. Jean-Sébastien Pédron
  5. Jean-Sébastien Pédron
Commits on Sep 25, 2012
  1. Robert Virding

    Minor code beautification

    rvirding authored
  2. Robert Virding

    Add more to NOTES

    rvirding authored
Commits on Sep 24, 2012
  1. Jean-Sébastien Pédron
Commits on Sep 21, 2012
  1. Robert Virding
Commits on Sep 19, 2012
  1. Robert Virding

    Merge branch 'develop'

    rvirding authored
    The table.XXX functions now all work properly on arrays.
Commits on Sep 18, 2012
  1. Robert Virding

    Add more to NOTES

    rvirding authored
  2. Robert Virding

    Fix table.remove to work on arrays

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

    Fix table.insert to work on arrays

    rvirding authored
    Code a little convoluted as we have tried to make it behave
    as the Lua function when handling undefined input.
  2. Robert Virding

    Clean up table.concat

    rvirding authored
  3. Robert Virding
  4. Robert Virding
Commits on Sep 14, 2012
  1. Robert Virding

    Fix table.sort to work on arrays

    rvirding authored
    We should probably do something smart with the array size to trim
    nil elements from end of array.
Something went wrong with that request. Please try again.