mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 12:49:05 +00:00
Shell: Start implementing a POSIX-compliant parser
The parser is still very much a work-in-progress, but it can currently parse most of the basic bits, the only *completely* unimplemented things in the parser are: - heredocs (io_here) - alias expansion - arithmetic expansion There are a whole suite of bugs, and syntax highlighting is unreliable at best. For now, this is not attached anywhere, a future commit will enable it for /bin/sh or a `Shell --posix` invocation.
This commit is contained in:
parent
2dc1682274
commit
2a276c86d4
Notes:
sideshowbarker
2024-07-17 06:09:44 +09:00
Author: https://github.com/alimpfard
Commit: 2a276c86d4
Pull-request: https://github.com/SerenityOS/serenity/pull/17437
Reviewed-by: https://github.com/kleinesfilmroellchen
Reviewed-by: https://github.com/linusg
14 changed files with 3444 additions and 28 deletions
|
@ -12,6 +12,8 @@ set(SOURCES
|
|||
Job.cpp
|
||||
NodeVisitor.cpp
|
||||
Parser.cpp
|
||||
PosixLexer.cpp
|
||||
PosixParser.cpp
|
||||
Shell.cpp
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue