• Stars
    star
    182
  • Rank 206,199 (Top 5 %)
  • Language
    Lua
  • License
    MIT License
  • Created almost 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Lua to ES6 transpiler.

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

More Repositories

1

departure-board

CSS3 Experiment: A departure board effect in JavaScript/CSS3
JavaScript
172
star
2

esp8266-cli

An ESP8266 command line interface.
JavaScript
42
star
3

netpbm-viewer

View PPM, PGM and PBM images by simply dragging them into your browser.
JavaScript
24
star
4

node-nxt

Node.js module to connect to, communicate with and control Mindstorms NXT devices that run pbLua.
JavaScript
18
star
5

gatsby-source-faunadb

A Gatsby source plugin to fetch documents from Fauna DB.
JavaScript
11
star
6

hamlet

A JavaScript translator and runtime written in Lua.
JavaScript
9
star
7

lua-tessel

A CLI that enables the scripting of a Tessel device in Lua.
JavaScript
9
star
8

drag-refresh

jQuery plugin to add drag-down-to-refresh to your web app.
JavaScript
6
star
9

starlight-examples

Working examples of how to use Starlight.
JavaScript
4
star
10

cookies_node.js

Simple cookie handling for node.js
JavaScript
3
star
11

node-tv-remote

Watch TV on your tablet or desktop machine and use your phone as a remote. Demo coming soon.
JavaScript
2
star
12

opml-reader

Web Component for reading OPML files
JavaScript
2
star
13

parse.lua

A Lua parser, in Lua.
Lua
1
star
14

sizr

Discover a device's available screen size in pixels.
JavaScript
1
star
15

where-to-live

Import.io hackday project.
JavaScript
1
star
16

wirebug

Debug JavaScript remotely.
JavaScript
1
star
17

apidevday

JavaScript
1
star
18

lichen

JavaScript include/bookmarklet to monitor variables in the global namespace.
JavaScript
1
star
19

ImageGallery

A small JavaScript slideshow-type image gallery using BBC's Glow library
JavaScript
1
star