| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Implement PipelineData wrapper for structured data pipelines (Plan 047 Phase 1-2) Create PipelineData enum to enable zero-copy structured data flows: - PipelineData::Value - for Auto values (structured, zero-copy) - PipelineData::Text - for plain text (legacy/external commands) - 9 comprehensive tests, all passing Update Command trait to accept/return PipelineData: - Changed signature: fn run(...) -> Result<PipelineData> - Enables structured data passing between commands - Backward compatible with text mode Update all built-in commands to use PipelineData: - pwd, echo, cd, help, ls - all updated - Commands return PipelineData instead of Option<String> - shell.rs converts PipelineData to String for display Benefits: - Foundation for Nushell-style data pipelines - Zero-copy potential using Auto Value enum - Type-safe data manipulation capabilities - Progressive adoption (commands can use Value or Text) Next steps: - Add value helper methods - Refactor ls to return structured data - Implement get/where/select commands - Test full pipeline: ls | where type == dir | get name Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> | 8 个月前 | |
Implement Phase 1b.2: ?T syntactic sugar for May<T> types - Add Type::May variant to AST Type enum - Enhance parser to parse ?T as May<T> in return type annotations - Update C transpiler to generate May{Type} structs - Add 19 tests for ?T syntax covering int, uint, float, double, char, str, bool - All 98 C transpiler tests passing Phase 1b.1: Basic May<T> - Complete (34 tests) Phase 1b.2: ?T Syntactic Sugar - Complete (19 tests) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> | 9 个月前 | |
Implement PipelineData wrapper for structured data pipelines (Plan 047 Phase 1-2) Create PipelineData enum to enable zero-copy structured data flows: - PipelineData::Value - for Auto values (structured, zero-copy) - PipelineData::Text - for plain text (legacy/external commands) - 9 comprehensive tests, all passing Update Command trait to accept/return PipelineData: - Changed signature: fn run(...) -> Result<PipelineData> - Enables structured data passing between commands - Backward compatible with text mode Update all built-in commands to use PipelineData: - pwd, echo, cd, help, ls - all updated - Commands return PipelineData instead of Option<String> - shell.rs converts PipelineData to String for display Benefits: - Foundation for Nushell-style data pipelines - Zero-copy potential using Auto Value enum - Type-safe data manipulation capabilities - Progressive adoption (commands can use Value or Text) Next steps: - Add value helper methods - Refactor ls to return structured data - Implement get/where/select commands - Test full pipeline: ls | where type == dir | get name Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> | 8 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 8 个月前 | ||
| 9 个月前 | ||
| 8 个月前 |