tooling improvements

This commit is contained in:
2026-02-17 13:37:17 -06:00
parent 2e78e7e0b8
commit c02fbbd9e0
10 changed files with 371 additions and 186 deletions

View File

@@ -9,11 +9,11 @@ Packages are the fundamental unit of code organization and sharing in ƿit.
## Package Structure
A package is a directory containing a `pit.toml` manifest:
A package is a directory containing a `cell.toml` manifest:
```
mypackage/
├── pit.toml # package manifest
├── cell.toml # package manifest
├── main.ce # entry point (optional)
├── utils.cm # module
├── helper/
@@ -23,7 +23,7 @@ mypackage/
└── helpers.cm # private module (internal/ only)
```
## pit.toml
## cell.toml
The package manifest declares metadata and dependencies:
@@ -47,7 +47,7 @@ mylib = "/Users/john/work/mylib"
When importing with `use()`, ƿit searches in order:
1. **Local package** — relative to package root
2. **Dependencies** — via aliases in `pit.toml`
2. **Dependencies** — via aliases in `cell.toml`
3. **Core** — built-in ƿit modules
```javascript
@@ -179,7 +179,7 @@ C files in a package are compiled into per-file dynamic libraries:
```
mypackage/
├── pit.toml
├── cell.toml
├── render.c # compiled to lib/mypackage/render.dylib
└── physics.c # compiled to lib/mypackage/physics.dylib
```