Examples

Let’s compile luarocks!

  1. Cloning the source-code:

    > git clone https://github.com/luarocks/luarocks
    > cd luarocks
    
  2. Compiling it into ./luarocks (or luarocks.exe on Windows)

    > lrc -g -P"src/??" src/bin/luarocks -mluarocks.**
    

Compiling lrc with lrc

  1. Cloning the source-code:

    > git clone https://codeberg.org/lrocket/lrc
    > cd lrc
    
  2. Compile!

    > lrc cmd/lrc.lua