Skip to content

Configuring STELF

The new config files are designed to be more flexible and powerful than old config files. Also, they use a standard format, TOML, specifically version 1.0, which is widely used and well documented.

First off, the planned structure of a project is as follows:

  1. Each project is a group.
  2. Groups has a name, contain dependencies, load paths, and a main file

The TOML for this is

[[group]]
name = "paeno"
main = "src/paeno.stelf"
src = [
"src/paeno.stelf",
"src/util/*"
]
dependencies = [
"base"
]
  • Directorysrc/
    • paeno.stelf
    • Directoryutil/
  • stelf.toml

This causes all the files in