#clue #compiler #transpiler #programming-language

bin+lib cluna

Tool to convert Lua code into Clue code Made by MarkosTh09

1 stable release

1.1.0 Jul 10, 2023

#670 in Programming languages

MIT license

3.5MB
36K SLoC

Lua 33K SLoC // 0.1% comments Rust 2.5K SLoC // 0.0% comments

Cluna

Cluna is a tool that converts Lua code into Clue code. If you want to read more about Clue visit the repo https://github.com/cluelang/clue

Usage

Use cluna --help for help on flags

Feature support

Supported versions:

  • Lua 5.1
  • Lua 5.2
  • Lua 5.3
  • Lua 5.4

Unsupported Lua features:

  • Goto and labels: Clue does not support goto statements and labels
  • Lua 5.4 language features
    • Clue has no equivelant of constant variables
    • To-be-closed variables will be compiled to manual __close metamethod calls, so this is only partially supported

Installation

Binaries can be downloaded from the releases

RPM and DEB packages are available.

Dependencies