aboutsummaryrefslogtreecommitdiff
path: root/examples/example-repl-basic/src
Commit message (Collapse)AuthorAgeFilesLines
* refactor!: replace pack! macros with derive-based pipeline types魏曹先生56 min.1-14/+12
| | | | | | | | | Remove the `pack!`, `pack_err!`, `pack_structural!`, and `pack_err_structural!` macros, replacing all pipeline type definitions with `#[derive(Grouped)]` and `#[derive(Grouped, Wrap)]` attributes. This changes the generated struct shape from named-field structs with an `inner` field to tuple structs accessed via `.0`, and removes the auto-generated `name` and `info` fields from error types.
* refactor!: remove legacy parser feature and migrate to picker魏曹先生3 hours1-1/+1
| | | | | | | | | | The legacy `parser` feature and its module tree (`mingling::parser`, `Argument`, `Picker`, `Pickable`, etc.) have been fully removed and replaced by the `picker` feature powered by `arg-picker`. BREAKING CHANGE: Remove `parser` feature and use `picker` instead. Migration guide: Replace `features = ["parser"]` with `features = ["picker"]` and update API usage per the provided table.
* refactor!: remove Node type and simplify dispatcher macro syntax魏曹先生3 hours1-4/+4
| | | | | | | The `dispatcher!` macro no longer requires a `CMD*` dispatcher type argument; the dispatcher struct is now generated internally as `__Dispatcher{Pascal}`. The `Node` type, `node!` macro, and `Dispatcher::node()` / `clone_dispatcher()` methods are removed.
* refactor!: remove dynamic dispatcher registration API魏曹先生4 hours1-6/+0
| | | | | | | Dispatchers are now always registered at compile time, removing the `with_dispatcher` / `with_dispatchers` methods and the `PathfinderConfig` API. The `dispatch_tree` feature now only controls the matching strategy (trie vs linear list).
* chore!: rename ErrorDispatcherNotFound to EntryFallback魏曹先生14 days1-1/+1
| | | | | | | | Rename the internal fallback type and its associated `ProgramCollect` plumbing from `ErrorDispatcherNotFound`/`build_dispatcher_not_found` to `EntryFallback`/`build_entry_fallback`, along with the generated enum variant and pack type. Update all documentation, examples, and tests accordingly.
* ix(macros)!: require explicit `.into()` on chain function return values魏曹先生2026-07-181-1/+1
|
* refactor(examples): migrate renderers to return RenderResult and add魏曹先生2026-07-111-6/+18
| | | | | | | | | std::io::Write import Replace r_println!/r_print! macro usage across all example renderers with explicit RenderResult construction using std::io::Write, enabling more flexible output handling and reducing reliance on macro-side effects.
* Redesign hook system with structured info types and ProgramControls魏曹先生2026-06-241-1/+1
|
* Rename `ExitCode` to `ResExitCode` and `REPL` to `ResREPL`魏曹先生2026-06-061-2/+3
|
* Enhance code quality across the entire codebaseWeicao-CatilGrass2026-05-311-8/+9
|
* Rename error types with consistent naming convention魏曹先生2026-05-291-1/+1
|
* Add implicit dispatcher macro with auto-derived names魏曹先生2026-05-241-14/+13
|
* Rework examples and add entry macro for testingWeicao-CatilGrass2026-05-231-0/+174