Projects and references
A .hyproj manifest lists sources compiled together. Paths are relative to the
manifest, including referenced projects.
Demo/ App/App.hyproj App/Program.hy Math/Math.hyproj Math/Math.hyApp/App.hyproj:
format = 2name = "App"type = "exe"sources = ["Program.hy"]project_references = ["../Math/Math.hyproj"]Math/Math.hyproj:
format = 2name = "Math"type = "lib"sources = ["Math.hy"]Build the executable project:
hy build Demo/App/App.hyproj -o Demo/appchmod +x Demo/app./Demo/appReferenced libraries contribute sources to the final executable; they are not separately linked artifacts. The released compiler does not build workspaces, test projects, standalone library archives, packages, or dependency registries.