Skip to content

stackfox-labs/lupe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

677 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lupe

A fork of luau-lang/lute focused on turning Luau into a modular, extensible runtime.

Overview

Lupe evolves Lute from a standalone runtime into a system that supports:

  • Installable libraries (no recompilation required)
  • Dynamically loaded native extensions (C/C++)
  • A modular runtime architecture
  • Compatibility with upstream Lute improvements

The goal is to make Luau practical for general-purpose development with a workflow closer to Python or Node.js


Goals

  • No rebuilds required Users can install and use libraries without recompiling the runtime.

  • Native extension support Load shared libraries (.dll, .so, .dylib) as runtime modules.

  • Modular ecosystem Encourage reusable, distributable packages instead of monolithic builds.

  • Upstream compatibility Stay aligned with luau-lang/lute to benefit from ongoing fixes and improvements.


Architecture (Planned)

Lupe builds on Lute’s existing structure:

  • Core runtime (lute) Base functionality implemented in C++

  • Standard library (std) Extended functionality written in Luau

  • External packages (new) Installable libraries, both:

    • Luau modules
    • Native extensions

Example (Target Usage)

local gl = require("gl")
local http = require("http")

gl.clearColor(0, 0, 0, 1)
http.get("https://example.com")

Libraries like gl or http would be installed separately and loaded at runtime.


Status

This project is experimental and builds on pre-1.0 software. APIs and module systems are subject to change.


Relationship to Lute

This is a fork of Lute with a different focus:

Lute Lupe
Embedded/runtime hybrid Full modular runtime
Extensions bundled at build time Installable at runtime
Minimal ecosystem Package-oriented ecosystem

Contributing

Contributions, ideas, and discussions are welcome—especially around:

  • Package system design
  • Native module API
  • Module resolution and loading
  • Compatibility strategy with upstream Lute

See our CONTRIBUTING.md for instructions on how to set up your development environment and build the project.

About

Modular Luau runtime with installable libraries and native extensions.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages

  • C++ 53.4%
  • Luau 43.1%
  • CMake 2.9%
  • Shell 0.3%
  • PowerShell 0.2%
  • C 0.1%