• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

paulcuth/starlight: A Lua to ES6 transpiler.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

paulcuth/starlight

开源软件地址(OpenSource Url):

https://github.com/paulcuth/starlight

开源编程语言(OpenSource Language):

Lua 85.1%

开源软件介绍(OpenSource Introduction):

Starlight

A Lua to ECMAScript 6 translator. http://starlight.paulcuth.me.uk

Circle CI Circle CI Tagged version number

Using Starlight

For usage and examples please visit the Starlight documentation: http://starlight.paulcuth.me.uk/docs

Building Starlight

Checkout the repo and install dependencies:

git clone [email protected]:paulcuth/starlight.git
cd starlight
npm install

Build the browser-lib

To use Starlight to parse Lua script tags in the browser, build the browser-lib:

grunt browser-lib

This will create dist/bowser-lib/starlight.js along with example usage in the same folder.

Build the Grunt plugin

NPM version number

To use Starlight to translate Lua to ES6 as part of the build pipeline, build the Grunt plugin:

grunt grunt-plugin

This will create the plugin in the dist/build-tools/grunt-starlight directory and also copy it to the project's node_modules directory.

Get involved

Join the chat at https://gitter.im/paulcuth/starlight

Please feel free to ask anything about the project on the Gitter channel. Any pull requests for bugfixes, feature suggestions, etc. are gratefully appreciated.

Any work on the parser or the runtime will require a default build. Note that for this to run, you'll need to have the Grunt plugin installed using grunt grunt-plugin.

grunt



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
siffiejoe/lua-amalg: Amalgamation of Lua modules/scripts发布时间:2022-08-16
下一篇:
brettlangdon/NodeLua: Lua Bindings For Node.JS发布时间:2022-08-16
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap