Commit Graph

19 Commits

Author SHA1 Message Date
ef0f66efaa Work on integrating error reporting using the ariadne crate 2026-02-28 20:30:12 -05:00
1b63eff783 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
c61360865f added 'map', 'pop', 'push', 'fpop', 'fpush', and 'rotate' builtins 2026-02-27 20:37:58 -05:00
90e69f96d2 changed package name from 'fern' to 'shed' 2026-02-24 18:02:13 -05:00
238a0063f8 bumped version to 0.3.0 2026-02-24 13:54:41 -05:00
a5d756431c bumped version to 0.2.0 2026-02-19 14:27:21 -05:00
8354ad400d added a bunch of tests 2026-02-18 23:54:25 -05:00
142194c100 migrated polling logic from virtterm branch to main 2026-02-16 18:28:57 -05:00
7f3e1cfcee renamed fern.rs back to main.rs 2026-01-28 19:57:14 -05:00
ad0e4277cb Implemented proper variable scoping
Extracted business logic out of signal handler functions

Consolidated state variables into a single struct

Implemented var types
2026-01-28 19:30:48 -05:00
80eb8d278a Improved logical accuracy of Ctrl+W in insert mode
Moved test libraries to dev-dependencies

Implemented some more motion types

Implemented ToLower, ToUpper, JoinLines, Indent, Undo, and Redo verbs

'O' and 'o' operators now behave correctly

Added many more unit tests for the readline module
2025-06-07 23:45:51 -04:00
2c6577ad06 copied rustyline's homework 2025-06-02 03:18:13 -04:00
ac170d31c8 further work on implementing vi features 2025-05-22 03:36:27 -04:00
14f9b6dca4 initial commit for fern's readline impl 2025-05-15 03:35:41 -04:00
de6e0166c5 implemented support for running scripts 2025-05-13 13:48:18 -04:00
bbb8162201 implemented most variable parameter expansion builtins 2025-05-12 16:14:06 -04:00
1eb19092cc implemented globbing and tilde expansions 2025-03-28 12:02:34 -04:00
2acf70ef96 Implemented assignments, working on job control 2025-03-15 16:57:34 -04:00
a9a9642a2a Initial commit for fern 2025-03-02 16:32:15 -05:00