Skip to content

Directories

Ian edited this page Nov 27, 2023 · 2 revisions

Directories allow you to define more structure within your packs output. They are only allowed at the top level of a file or within a directory.

dir <name> {...}

ex.

dir hello{
    function world{
        say hi from namespace:hello/world
    }
}

Clone this wiki locally