#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

#703 in Programming languages

Download history 1/week @ 2024-09-17 2/week @ 2024-09-24 1/week @ 2024-10-08 1/week @ 2024-10-15 1/week @ 2024-10-29 1/week @ 2024-11-05 1/week @ 2024-11-26 27/week @ 2024-12-03 36/week @ 2024-12-10 6/week @ 2024-12-17 6/week @ 2024-12-31

54 downloads per month

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