ladybird/Userland/Shell
Ali Mohammad Pur db886fe18b Userland+AK: Stop using getopt() for ArgsParser
This commit moves the implementation of getopt into AK, and converts its
API to understand and use StringView instead of char*.
Everything else is caught in the crossfire of making
Option::accept_value() take a StringView instead of a char const*.

With this, we must now pass a Span<StringView> to ArgsParser::parse(),
applications using LibMain are unaffected, but anything not using that
or taking its own argc/argv has to construct a Vector<StringView> for
this method.
2023-02-28 15:52:24 +03:30
..
Tests Everywhere: Use /bin/Shell as the shebang for Shell scripts 2023-02-13 23:00:15 +03:30
AST.cpp Shell: Convert all immediately convertible fallible functions to ErrorOr 2023-02-28 15:52:24 +03:30
AST.h Shell: Convert the remaining fallible AST functions to ErrorOr 2023-02-28 15:52:24 +03:30
Builtin.cpp Userland+AK: Stop using getopt() for ArgsParser 2023-02-28 15:52:24 +03:30
CMakeLists.txt Shell: Start implementing a POSIX-compliant parser 2023-02-13 23:00:15 +03:30
Execution.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Formatter.cpp Shell+LibCodeComprehension: Start replacing {Deprecated => }String 2023-02-28 15:52:24 +03:30
Formatter.h Shell+LibCodeComprehension: Start replacing {Deprecated => }String 2023-02-28 15:52:24 +03:30
Forward.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
ImmediateFunctions.cpp Shell: Convert all immediately convertible fallible functions to ErrorOr 2023-02-28 15:52:24 +03:30
Job.cpp Shell: Fix (and paper over) various const-correctness issues 2023-02-21 00:54:04 +01:00
Job.h Shell: Fix (and paper over) various const-correctness issues 2023-02-21 00:54:04 +01:00
main.cpp Shell: Convert all immediately convertible fallible functions to ErrorOr 2023-02-28 15:52:24 +03:30
NodeVisitor.cpp Shell: Add support for regex match patterns 2022-04-18 19:53:10 +04:30
NodeVisitor.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
Parser.cpp Shell: Convert all immediately convertible fallible functions to ErrorOr 2023-02-28 15:52:24 +03:30
Parser.h Shell+LibCodeComprehension: Start replacing {Deprecated => }String 2023-02-28 15:52:24 +03:30
PosixLexer.cpp Shell: Convert the POSIX parser/lexer to ErrorOr 2023-02-28 15:52:24 +03:30
PosixLexer.h Shell: Convert the POSIX parser/lexer to ErrorOr 2023-02-28 15:52:24 +03:30
PosixParser.cpp Shell: Convert the POSIX parser/lexer to ErrorOr 2023-02-28 15:52:24 +03:30
PosixParser.h Shell: Convert the POSIX parser/lexer to ErrorOr 2023-02-28 15:52:24 +03:30
Shell.cpp Shell: Convert all immediately convertible fallible functions to ErrorOr 2023-02-28 15:52:24 +03:30
Shell.h Shell: Convert all immediately convertible fallible functions to ErrorOr 2023-02-28 15:52:24 +03:30
SyntaxHighlighter.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
SyntaxHighlighter.h LibSyntax: Teach each highlighter about it's comment syntax 2022-11-27 18:28:43 -07:00