-
Notifications
You must be signed in to change notification settings - Fork 0
Parsing
sarahmss edited this page Dec 15, 2021
·
4 revisions
A parse tree is what represents the syntactic structure of our commands and will allow us to easily perform those commands typed by the user. So we want to be able to translate something like this:
ls | cat -eInto a shell job that we will be able to execute as a whole command.
- Input --> Tokens
- follow the rules to generate the parse tree