-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite command line parsing, add flags and expansions
This is a full rewrite of the command line code which was parsed with `Shellwords` in the past. `Shellwords`'s escaping system was quite tricky to work with and prevented further improvements to the command line syntax like command flags (e.g. `--reverse`) and Kakoune-like expansions (`%sh{echo hello world}`). Ideally these features would be added after improving the parsing code but they both influence the design of the parser(s), their output types and the completion code so I feel it's best to land them together in one (admittedly outlandishly large) commit.
- Loading branch information
1 parent
91ed6f7
commit 17de242
Showing
13 changed files
with
2,534 additions
and
900 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.