-
Notifications
You must be signed in to change notification settings - Fork 0
csucla2015/cs111-lab1
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CS 111 Lab 1A - Shell Script Parsing Name: Akshaan Kakar Name: Meet Bhagdev UId: 804029538 UId: 104079094 Completed the implementation the parsing of shell scripts within the bounds of the POSIX shell grammar given to us. Tokens are parsed and returned with the tabs and whitespace stripped. Newlines are returned as a special token. Words, newlines and the eight special tokens are recongnized using an enumerated type. As each special token is encountered, the commands on either side of the token are parsed and added to the corresponding structure. In this way, every complete command is parsed into a tree and the root of this tree is returned by the read_command_stream function.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published