| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Implement Plan 037: Array return type support Complete implementation of array return types, unblocking Plan 036 Phase 4. Changes: - Parser: Accept LSquare/Star tokens for function return types - C transpiler: Transform array returns to pointer + size parameter - C transpiler: Generate static arrays for array literal returns - C transpiler: Handle call sites with size variable declarations - Type inference: Detect array return types from function metadata - str.at: Add split() method signature with placeholder implementation - Tests: Add comprehensive array return tests (eval + transpiler) - Docs: Update Plan 037 and 036 with completion status Test Results: 554 tests passing Files: - crates/auto-lang/src/parser.rs (parser support) - crates/auto-lang/src/trans/c.rs (transpiler implementation) - crates/auto-lang/src/lib.rs (evaluator test) - stdlib/auto/str.at (split method) - docs/plans/037-expression-and-array-support.md (plan complete) - docs/plans/036-unified-auto-section.md (phase 4 progress) - docs/tutorials/array-return-types.md (user guide) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> | 9 个月前 | |
update docs for atom and macros | 9 个月前 | |
update docs for atom and macros | 9 个月前 | |
first workable version of the new auto-gen | 9 个月前 | |
first workable version of the new auto-gen | 9 个月前 | |
feat(debugger): enhance breakpoint syntax with fn/N offset and function name resolution Plan 199 Phase 7: Fix function breakpoints (CallFrame.fn_name was always None) by adding addr_to_name reverse mapping in VirtualFlash and resolving function names in CALL instruction. Add b fn/N syntax for function-relative line breakpoints. Error messages for unsupported multi-file syntax and unknown functions now list available function names. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> | 5 个月前 | |
Implement Plan 025 string methods OOP migration - Migrate string functions from functional API to OOP methods using ext - Add str extension methods support in eval.rs (dot_expr, eval_method, eval_vm_fn_call) - Create standard string library stdlib/auto/str.at with 15+ methods - Support Value::OwnedStr type in get_type_name and resolve ValueRef - Add tests for ext statement (Plan 035) and string extensions (Plan 036) - Remove obsolete hand-written str.c and str.h files Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> | 9 个月前 | |
Document AutoLang's versatile for statement Created comprehensive tutorial documenting the 6 forms of for: 1. Infinite loop: for { ... } 2. While loop: for condition { ... } 3. Go-style: for init; condition { ... } 4. C-style: for init; condition; step { ... } 5. Range iteration: for i in 0..len { ... } 6. Python-style: for i, v in arr { ... } Also added array indexing test showing arr[i] works. Key insights: - Auto doesn't need 'while' keyword - All type modifiers are prefix ([]int, *int, ?T) - Array indexing works, array return types don't See docs/tutorials/for-loop-guide.md for details Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> | 9 个月前 | |
Complete Plan 038 Phase 5: Documentation Created comprehensive tutorial for method calls in AutoLang: - docs/tutorials/method-calls.md - Explains both regular methods and VM methods - Provides examples and best practices - Includes migration guide from global functions - Updated Plan 038 to mark Phase 5 as complete Plan 038 is now FULLY COMPLETED with all documentation in place. | 9 个月前 | |
Remove section markers from stdlib files and document file organization Section markers (# AUTO, # VM, # C) are now deprecated and removed. Changes: - Remove all section markers from split stdlib files (.at, .vm.at, .c.at) - Create comprehensive file organization convention documentation - Update stdlib tutorial to reference new documentation Files modified: - stdlib/auto/io.at - Remove # AUTO marker - stdlib/auto/io.vm.at - Remove # AUTO - VM Specific marker - stdlib/auto/io.c.at - Remove # AUTO - C Specific marker - stdlib/auto/str.at - Remove # AUTO marker - stdlib/auto/sys.at - Remove # AUTO marker - stdlib/auto/sys.c.at - Remove # AUTO - C Specific marker Documentation added: - docs/stdlib-file-organization.md - Complete convention documentation - Updated docs/tutorials/stdlib-organization.md - Reference new docs Key points: - File extensions now indicate compilation target (.at, .vm.at, .c.at) - No section markers needed - file organization is self-documenting - All 555 tests passing ✅ | 9 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 5 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 |