XWidgetSoft Forum
https://www.bbs.xwidget.com/

What about Add Lua script support in XWidget2.0 ?
https://www.bbs.xwidget.com/viewtopic.php?f=3&t=4422
Page 1 of 1

Author:  Tony [ April 24th, 2014, 4:07 am ]
Post subject:  What about Add Lua script support in XWidget2.0 ?

What about Add Lua script support in XWidget2.0 ?
Lua running speed is very quick in the Android system with XWidget , and It can cross-platform ,then we can create wtith lua code to run both of Windows and Android :P

Author:  digigamer [ April 25th, 2014, 11:32 pm ]
Post subject:  Re: What about Add Lua script support in XWidget2.0 ?

Lua is great, easy to learn, and runs extremely fast. It would be nice to include it.

But I don't use it on a windows system, for it is not an "automation-compilant" language. So, be sure to include support for JScript and VBScript in the next version. Even, JavaScript is cross-platform, we can use the V8 libraries that come pre-installed in Android easily, (sadly, my favorite part - ActiveX automation isn't)

Author:  yereverluvinuncleber [ October 14th, 2014, 8:34 am ]
Post subject:  Re: What about Add Lua script support in XWidget2.0 ?

I agree that it is essential for VB script to be supported. VB script is a great selling point for Xwidget coding. There are thousands of disenchanted VB6 devs looking for a friendly environment to build mini-apps and/or widget type apps.

Author:  hamid [ October 17th, 2014, 5:54 pm ]
Post subject:  Re: What about Add Lua script support in XWidget2.0 ?

yereverluvinuncleber wrote:
I agree that it is essential for VB script to be supported. VB script is a great selling point for Xwidget coding. There are thousands of disenchanted VB6 devs looking for a friendly environment to build mini-apps and/or widget type apps.

VBscript has been already supported right now,
you can select it from here:

1. open the designer
2. from the widget tree, select the [Widget Attributes]
3. in the [Widget Attributes] view, change the [Script Lang] to [VBScript]
4. go to [Code] view, and write your codes in VBScript language


Note:
you can only use one language in ScriptCode for each widget

Author:  yereverluvinuncleber [ October 18th, 2014, 3:29 am ]
Post subject:  Re: What about Add Lua script support in XWidget2.0 ?

Hamid, I know that it is supported now, but thanks for that. I am merely stating that it is important that it is supported in the future. LUA will be great but I don't think we push the VB scripting capability hard enough. In my opinion if we take more from the VB6 environment Xwidget and its designer could be the development IDE of choice for mini-apps and graphic widgets, there is a whole community out there looking for a new development environment.

Author:  yereverluvinuncleber [ March 11th, 2017, 4:52 am ]
Post subject:  Re: What about Add Lua script support in XWidget2.0 ?

This is what is required: http://bbs.xwidget.com/viewtopic.php?f=3&t=6637

Author:  digigamer [ June 28th, 2017, 12:02 am ]
Post subject:  Re: What about Add Lua script support in XWidget2.0 ?

You could use v8 everywhere, with the awesome features on NodeJS. NodeJS is a JS engine, running over Google's V8 (the one is chrome/Android) or MS's chakra (In microsoft Edge). It is used in millions of productions systems world wide and has the one largest library and developer ecosystem in the world. (2nd after Python)

https://blog.continuation.io/building-a ... d-library/

Author:  yereverluvinuncleber [ June 28th, 2017, 12:09 am ]
Post subject:  Re: What about Add Lua script support in XWidget2.0 ?

digigamer wrote:
You could use v8 everywhere, with the awesome features on NodeJS. NodeJS is a JS engine, running over Google's V8 (the one is chrome/Android) or MS's chakra (In microsoft Edge). It is used in millions of productions systems world wide and has the one largest library and developer ecosystem in the world. (2nd after Python)

https://blog.continuation.io/building-a ... d-library/


Agreed, but as I think you stated earlier in one of my similar posts, compatibility with the existing jscript/activeX needs to be maintained. Now, if scripting languages could be plugged in as required that would be nice (just wishful thinking here) but supporting two javscript engines is really rather unlikely. As jscript is present on all Windows PCs it makes sense to retain it.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/