Skip to content

yangkekou/luvit

This branch is 133 commits behind luvit/luvit:master.

Folders and files

NameName
Last commit message
Last commit date
Jan 22, 2015
Jul 25, 2019
May 18, 2019
Jul 1, 2019
Jul 21, 2015
Jul 23, 2015
Oct 8, 2017
Feb 18, 2015
Feb 6, 2016
Jul 24, 2015
Jun 14, 2017
Jul 25, 2019
Jan 7, 2012
May 15, 2017
Jan 7, 2012
Jul 25, 2019
Dec 1, 2014
Sep 6, 2017
Oct 30, 2018
Jan 19, 2016
Sep 27, 2018
Jul 25, 2019

Repository files navigation

Luvit 2.0 - Node.JS for the Lua Inventor

Linux Build Status Windows Build status #luvit on Freenode

Welcome to the source code for Luvit 2.0. This repo contains the luvit/luvit metapackage and all luvit/* packages as published to lit.

This collection of packages and modules implements a node.js style API for the luvi/lit runtime. It can be used as both a library or a standalone executable.

See the main project webpage for more details. https://luvit.io/

Need Help?

Ask questions here through issues, on irc #luvit@freenode or the mailing list.

Binary Modules

Luvit supports FFI and Lua based binary modules. There is a wiki entry explaining how to manage and include a binary module within a bundled application. Publishing Compiled Code

Hacking on Luvit Core

First you need to clone and build luvit, this is easy and works cross-platform thanks to Makefile and make.bat.

git clone https://github.com/luvit/luvit.git
cd luvit
make

If you want to test luvit without constantly building, use luvi.

luvi . 

Always make sure to run make test before submitting a PR.

Notes to Maintainers

  • Use luvi /path/to/luvit to test changes without rebuilding the binary.
  • To run the test suite, run make test to build a luvit and use that.
  • If you want to test a custom built luvi, run luvi . -- tests/run.lua
  • If you want to run a specific test file with a custom built luvi, run luvi . -- tests/test-<name-of-test>.lua (e.g. luvi . -- tests/test-http.lua)
  • There is a wiki page on making new luvit releases at https://github.com/luvit/luvit/wiki/Making-a-luvit-release.

The packages in deps live primarily in this repo, but some are duplicated in luvit/lit to ease lit bootstrapping. Updates can be pushed from either repo to lit, just make sure to keep them in sync. One way to do this is to rm -rf deps && lit install. This will install the latest version of all the packages from lit. Check the diff carefully to make sure you're not undoing any work. There might have been unpublished changes locally in luvit that aren't in the lit central database yet.

About

Lua + libUV + jIT = pure awesomesauce

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 93.9%
  • Go 5.1%
  • Other 1.0%