Skip to content

brookewenig/CS111_Lab1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Cothern, 604161519
Brooke Wenig, 604177148

We did pair programming for the majority of the project. It passes the test cases provided, but did not create further test cases. For those test cases provided, it acts robustly.

Our implementation includes an operator stack and command stack, numerous helper functions, and a buffer that goes through and grabs the next byte. At the beginning we faced many problems with memory addresses, as we were not mallocing everything that we needed later, but have fixed that, and so our program runs smoothly. 

For 1B:

Once again, we did pair programming. Our test cases run smoothly for a variety of input and combinations of input. We found a few bugs in our 1A part, such as not initializing the status for all commands, and not setting all of our status variables properly. We are using a recursive model that breaks down all commands into their simple command components and executes those commands. 

For 1C:

We fixed some various bugs in our previous implementation such as some reallocation issues when a command had more words than we initially allocated space for. We added multithreading functionality and altered our execute_command function to correctly handle the case of an 'exec' command.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •