dolang-shell-main 0.1.0

Reusable shell/interpreter core for the Do language.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# dolang-shell-main Architecture

Reusable interpreter core for `dolang`-style binaries.

- **Startup**: parse CLI args, build a single-threaded Tokio runtime, register
  linked extensions, and run either batch mode or the REPL.
- **Importer layering**: first search explicit `--module-path` roots in order,
  then `site/`, then fall back to embedded resources supplied by the active
  config.
- **Bundled entrypoints**: `-m` / `--main` runs precompiled bundled script
  entrypoints rather than importing modules and calling `main`.
- **Configuration**: the `Config` trait is the non-feature parameterization seam
  for embedded modules, bundled entrypoints, and future bundle-specific startup
  policy.