Commit Graph

15 Commits

Author SHA1 Message Date
9d8d8901d7 Add array support for local/export/readonly builtins
Add array length syntax ${arr[#]}

Map read path now expands variables before splitting on ., fixing map "$node" with dotted paths

Map assignment path uses quote-aware token splitting, enabling quoted keys like "--type="

Completion errors now display above prompt instead of being overwritten

Fix nested if/fi parser bug when closing keywords appear on separate lines

Add QuoteState enum, replacing ad-hoc quote tracking booleans across lexer, highlighter, and expansion

Add split_tk_at/split_tk for quote-aware token splitting with span preservation

Refactor setup_builtin to accept optional argv for deferred expansion

Add ariadne dependency (not yet wired up)
2026-02-28 15:54:53 -05:00
3d47e4edd9 Added -j flag to 'complete' for completing job names/pids 2026-02-27 11:03:56 -05:00
96ea2d0ac9 Early implementation of bash-like completions with 'complete' and 'compgen' builtins 2026-02-27 01:10:52 -05:00
f9312885bd Implemented arrays and array indexing 2026-02-26 00:32:54 -05:00
e7e9bfbcb6 Extracted readline from the dead prompt module 2026-02-25 20:00:19 -05:00
22adbce9e4 Various line editor fixes and optimizations 2026-02-25 15:43:08 -05:00
622e9f4a1e Refactored internals for builtins inside of pipelines 2026-02-24 10:54:24 -05:00
cab7a0fea7 Ran the codebase through rustfmt 2026-02-23 23:32:46 -05:00
74988166f0 command arguments are now underlined if they match an existing path -m ran rustfmt on the entire codebase 2026-02-19 21:32:03 -05:00
744693a89d implemented the trap builtin 2026-02-19 16:39:18 -05:00
8068b43146 Implemented syntax highlighting 2026-02-18 02:00:45 -05:00
0575616ac2 properly implemented read builtin
fixed bugs related to redirections and compound commands

improved io routing logic
2026-02-17 17:30:21 -05:00
149e0ef2c8 Progress 2025-03-15 00:02:05 -04:00
83c9c08106 Early implementation of scripting elements 2025-03-05 01:36:58 -05:00
e7a84f1edd Initial commit for fern 2025-03-02 16:32:15 -05:00