vance-group/vr-jugglua — Issue #32: Immersive menu system
Author: rpavlik
Created: 2011-12-15 23:18:46+00:00
State: open
Labels: Lua Code, Usability

Wanting a DSL-type syntax for creating a simple menu system (pie, linear, etc) that fires a user-provided function when an option is chosen. Something like

```lua
showMenuAndWait{
A = function() print("doing A") end;
B = function() print("doing B") end;
C = doC; -- where doC is a function defined somewhere else
}
```