Directory

← Back

Luadin Add-on

A wrapper for writing Vaadin applications in Lua

Author

Contributors

Rating

Luadin is a wrapper for the vaadin API that allows for writing Vaadin applications in Lua. Its purpose is to hide any complexities that are caused by Java interop and to present a simpler interface to the programmer

Luadin contains the Luaj interpreter with some fixes. No additional dependencies are required. The Luaj interpreter is released under the Luaj license.

The project is currently in a very early stage, so the API cannot be expected to be stable.

Sample code

 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)

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Initial release

Released
2013-09-27
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.0+
Browser
Browser Independent

Luadin Add-on - Vaadin Add-on Directory

A wrapper for writing Vaadin applications in Lua Luadin Add-on - Vaadin Add-on Directory
Luadin is a wrapper for the vaadin API that allows for writing Vaadin applications in Lua. Its purpose is to hide any complexities that are caused by Java interop and to present a simpler interface to the programmer Luadin contains the Luaj interpreter with some fixes. No additional dependencies are required. The Luaj interpreter is released under the Luaj license. The project is currently in a very early stage, so the API cannot be expected to be stable.
Online