StevenMHernandez / cmsc312-operating-system-simulator

CMSC 312: "Introduction to Operating Systems"
0 stars 1 forks source link

Parse job files #4

Closed StevenMHernandez closed 7 years ago

StevenMHernandez commented 8 years ago

Once we have determined the job file structure, we will need a way to parse these files programmatically.

So in general, we will read any metadata about the program; store that, then read each line of the actual program into a Queue of Strings.

StevenMHernandez commented 7 years ago

TODO: load files directly from /programs directory. Assume everything has a .txt extension.

so exe paint opens file ../programs/paint.txt or whatever the actual path is.