luvit

Lua + libUV + jIT = pure awesomesauce

Github星跟踪图

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.

主要指标

概览
名称与所有者luvit/luvit
主编程语言Lua
编程语言Lua (语言数: 4)
平台
许可证Apache License 2.0
所有者活动
创建于2011-09-10 22:54:00
推送于2025-01-16 23:10:02
最后一次提交2025-01-16 18:10:02
发布数105
最新版本名称2.18.1 (发布于 2021-11-18 19:27:55)
第一版名称v0.0.1 (发布于 )
用户参与
星数3.9k
关注者数171
派生数377
提交数3k
已启用问题?
问题数437
打开的问题数88
拉请求数645
打开的拉请求数2
关闭的拉请求数139
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?