Luadin Add-on

Luadin is a wrapper that simplifies development of Vaadin applications
in the Lua programming language. It contains the Luaj interpreter and
provides a module called luadin. That module can be be used to access a subset
of the Vaadin api. Example:


    args = ...
    local luadin = require "luadin"
    function init(layout)
        local label = luadin.Label("Just a label")
        local vl = luadin.VerticalLayout()
        vl.addComponent(label)
        local b = luadin.Button("Click this")
        b.addClickListener(function() 
            local l = luadin.Label("Button clicked!")
            vl.addComponent(l)
        end)
        vl.addComponent(b)
        layout:addComponent(vl.getContainerInstance())
    end
    init(args)

There’s an example at the Luadin GitHub page, which
features a live editor which can be used to write Vaadin UIs and see
the changes in real-time.

Development of this wrapper is at a very early stage, so things might
break.


Add-on page