The Pnuts Scripting Language Lead Toyokazu Tomatsu from Japan has added Thinlet support.
Toyokazu Tomatsu writes in the Pnuts Addict blog story titled "Pnuts meets Thinlet":
Added thinlet module(1.1)
- Action is written in Pnuts, which means that actions can be defined dynamically.
- Thinlet's components can be accessed more intuitively (in object-oriented style).
- This module currently includes a modified Thinlet.
Here is a sample code:
import javax.swing.*
use("thinlet")parseThinlet("calculator.xml", f = JFrame())
function calculate(n1, n2, r){
r.text = string(int(n1) + int(n2))
}
f.pack()
f.show()
Source:
http://jroller.com/page/tomatsu/20041106#pnuts_meets_thinlet
You can find out more about Pnuts and Thinlet online @ http://pnuts.org/snapshot/latest/extensions/thinlet/doc
If anyone tries out Pnut and Thinlet, let us know you think.