List view
Implement execution of the Abstract Syntax Tree.
No due date•7/7 issues closedTo be implemented ◦ echo with option -n ◦ cd with only a relative or absolute path ◦ pwd with no options ◦ export with no options ◦ unset with no options ◦ env with no options or arguments ◦ exit with no options
No due date•7/7 issues closedTakes in a malloc'd string. *input_string Somehow saves pointers to every word of the input string in order, to an array. (word are seperated by whitespace) Null terminates every token. Returns an array of strings aka wordlist in the format of *input_words[] "cc main.c -D BUFFER_SIZE=1024" -> ["cc", "main.c", "-D", "BUFFER_SIZE=1024"] -> [*str1, *str2, etc..] cc main.c -D BUFFER_SIZE=1024\0 -> cc\0main.c\0-D\0BUFFER_SIZE=1024\0
No due date•8/8 issues closedThe shell has to at least: Open Have a persistant prompt: lets call it "shellfish🦞>" Have a way to pass the input as a string *input_string Exit with specific exit codes
No due date•1/1 issues closedMakefile has to be created, follow the norm etc... Specific flag for readline to function.
No due date•2/2 issues closed