Skip to content

paulcuth/starlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aea143a · Aug 10, 2016
Mar 22, 2016
Aug 10, 2016
Aug 10, 2016
Oct 29, 2015
Nov 17, 2015
Apr 18, 2016
Mar 28, 2016
Mar 22, 2016
Jul 29, 2015
Aug 10, 2016

Repository files navigation

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