Skip to content

rhi-zone/crescent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

140 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

crescent

Comprehensive LuaJIT ecosystem — stdlib, typechecker, package manager.

A monorepo of composable LuaJIT libraries, inspired by thi.ng/umbrella. All libraries are vendorable: copy what you need into your project and own it.

Part of the rhi ecosystem.

Structure

  • lib/ — standard library modules (http, websocket, dns, sqlite, fs, ...)
  • type/ — typechecker with FFI cdef parsing
  • pkg/ — vendor-first package manager
  • cli/ — command-line tools built on lib/
  • dep/ — vendored third-party code

Philosophy

LuaJIT is the fastest scripting runtime. It has the best FFI. It's the most hackable. What it doesn't have is an ecosystem.

Crescent is that ecosystem. Not a framework — a collection of libraries you can use together or apart, read and understand, copy and modify. Every C library LuaJIT can call is part of the ecosystem; crescent just makes them accessible.

Development

nix develop              # Enter dev shell
luajit cli/test.lua      # Run tests

About

Comprehensive LuaJIT ecosystem — stdlib, typechecker, package manager

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors