/Lua.vm.js-Samples

This repository is used to show how Lua.vm.js can be used.

Primary LanguageHTMLMIT LicenseMIT

Lua.vm.js-Samples

The goal of this repository is to show how Lua with Lua.vm.js can be used as an alternative to standard Javascript.

Boat sample Boat sample

Live sample

You can find here an online site running the samples and explaining the goal of each one.

How to use

Clone this repository with sub modules : git clone --recursive git@github.com:MangelMaxime/Lua.vm.js-Samples.git

Access the cloned repo : cd Lua.vm.js-Samples/

Start a web server to start serving the files.


If you don't have one just follow the next instructions

Install the devDependencies : npm install

Run the server : ./node_modules/http-server/bin/http-server

How to contribute ?

Any contributions are well comes here are some possible ways :

  • Ask for specific samples by creating an issue
  • Report any bug, suggestion using an issue
  • Propose new samples via MR

TODO

  • Documentation of the code
  • Explain, in a README the idea behind each sample
  • Simple turtle
  • Turtle that can be commanded
  • Form validation
  • Ajax call
  • Json serialisation and deserialisation

Licences

This project is MIT/X11 licensed. Please see the COPYING file in the source package for more information.

Copyright (c) 2016 Maxime Mangel (Shadaen)